From: sparky4 Date: Tue, 14 Jul 2015 14:52:02 +0000 (-0500) Subject: about todo shiftjis support! X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8d1c541aafd07bb04574041ddcc6e96a10d3eac9;p=proj16%2F16.git about todo shiftjis support! modified: fontgfx.exe modified: makefile modified: src/fontgfx.c modified: src/lib/modex16.c --- diff --git a/fontgfx.exe b/fontgfx.exe index 49d50e57..dc4a2a37 100644 Binary files a/fontgfx.exe and b/fontgfx.exe differ diff --git a/makefile b/makefile index eed5450f..4ba3f024 100644 --- a/makefile +++ b/makefile @@ -13,7 +13,7 @@ TARGET_OS = dos #-zkl = current codepage #MFLAGS=-mc# -zm -CFLAGS=-zkl -wo -x -mc# -zdp# -zp16 -zq +CFLAGS=-zk0 -wo -x -mc# -zdp# -zp16 -zq OFLAGS=-ot -ox -ob -oh -or# -om -ol -ol+ FLAGS=-0 -d2 -lr $(OFLAGS) $(CFLAGS) SRC=src$(DIRSEP) diff --git a/src/fontgfx.c b/src/fontgfx.c index 386d8bed..ed9dbd50 100644 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -36,7 +36,7 @@ void main(int argc, char near *argv[]) //getch(); chx=0; chy=0; - for(e=''; e<='~'; e++) + for(e=''; e<=''; e++) { modexprint(chx, chy, 1, 15, &e); chx+=8; @@ -47,5 +47,7 @@ void main(int argc, char near *argv[]) } } getch(); - modexLeave(); + modexLeave(); + printf("\n\n%u %c", ''); + //printf("\n%c", '€ '); } diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 91f83d6e..acc0058b 100644 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -972,7 +972,7 @@ byte modexgetPixel(int x, int y) void modexprint(word x, word y, word t, word col, const byte *str) { word i, s, o, w, j, xp; - char l[16]; + byte l[16]; word addr = (word) l; word chw=0; byte c;