mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-25 02:26:22 -05:00
Relocate display specific MEMMAP customization.
This commit is contained in:
parent
bfb78e5382
commit
62e1109802
@ -29,7 +29,6 @@
|
|||||||
#define MSDOS 0
|
#define MSDOS 0
|
||||||
#define IBMPC MSDOS
|
#define IBMPC MSDOS
|
||||||
#define COLOR MSDOS
|
#define COLOR MSDOS
|
||||||
#define MEMMAP IBMPC
|
|
||||||
|
|
||||||
|
|
||||||
#define FILOCK (SVR4 | BSD)
|
#define FILOCK (SVR4 | BSD)
|
||||||
@ -46,8 +45,8 @@
|
|||||||
void *allocate( size_t size) ;
|
void *allocate( size_t size) ;
|
||||||
void release( void *ptr) ;
|
void release( void *ptr) ;
|
||||||
|
|
||||||
# define malloc allocate
|
# define malloc allocate
|
||||||
# define free release
|
# define free release
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* De-allocate memory always on exit (if the operating system or main
|
/* De-allocate memory always on exit (if the operating system or main
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include "display.h"
|
#include "display.h"
|
||||||
|
|
||||||
#define REVSTA 1 /* Status line appears in reverse video */
|
#define REVSTA 1 /* Status line appears in reverse video */
|
||||||
|
#define MEMMAP 0
|
||||||
|
|
||||||
/* The functions in this file handle redisplay. There are two halves, the
|
/* The functions in this file handle redisplay. There are two halves, the
|
||||||
ones that update the virtual display screen, and the ones that make the
|
ones that update the virtual display screen, and the ones that make the
|
||||||
@ -11,6 +12,7 @@
|
|||||||
Modified by Petri Kutvonen
|
Modified by Petri Kutvonen
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
@ -203,8 +205,9 @@ static void sane_vtputc( unicode_t c) {
|
|||||||
|
|
||||||
static void vtputc( unicode_t c) {
|
static void vtputc( unicode_t c) {
|
||||||
/* In case somebody passes us a signed char.. */
|
/* In case somebody passes us a signed char.. */
|
||||||
if( c > 0x10FFFF) /* Let's assume this is due to sign extension */
|
// if( c > 0x10FFFF) /* Let's assume this is due to sign extension */
|
||||||
c &= 0xFF ;
|
// c &= 0xFF ;
|
||||||
|
assert( c <= 0x10FFFF) ;
|
||||||
|
|
||||||
if( c == '\t') {
|
if( c == '\t') {
|
||||||
sane_vtputc( viewtab ? 0xBB : ' ') ; /* 0xBB: '»' */
|
sane_vtputc( viewtab ? 0xBB : ' ') ; /* 0xBB: '»' */
|
||||||
|
Loading…
Reference in New Issue
Block a user