From: sparky4 Date: Mon, 3 Dec 2012 20:47:07 +0000 (-0600) Subject: modified: src/lib/lib_com.h X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3a52257904294d63b42250039dc6d01067af8df1;p=proj16%2F16.git modified: src/lib/lib_com.h --- diff --git a/src/lib/dos_gfx.h b/src/lib/dos_gfx.h index 97ff4af5..eba44625 100644 --- a/src/lib/dos_gfx.h +++ b/src/lib/dos_gfx.h @@ -6,13 +6,15 @@ #define SW 320 // width in pixels of vga mode #define SH 200 // height in pixels of vga mode -#define NUM_COLORS 256 // number of colors in vga mode +#define NUM_COLORS 16 // number of colors in vga mode +static lgq=NUM_COLORS/(1/8) +static hgq=NUM_COLORS/(1/8) /*#define SW 320 #define SH 200 #define NUM_COLORS 4*/ // cga #define BONK 400 -#define LGQ 32 -#define HGQ 56 +#define LGQ lgq +#define HGQ hgq #define VMEM 0xA000 // = vga //#define VMEM 0xB800 // = cga //#define VMOD 0x13 diff --git a/src/lib/lib_com.h b/src/lib/lib_com.h index d7de5aca..0c20670f 100644 --- a/src/lib/lib_com.h +++ b/src/lib/lib_com.h @@ -90,6 +90,10 @@ #define KEY_INS (0x52) #define KEY_DEL (0x53) +#define KEY_LWIN (0x73) +#define KEY_RWIN (0x74) +#define KEY_MENU (0x75) + typedef unsigned char byte; void wait(clock_t wait);