X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_vl.h;h=b3e7de2b15fddf06b82b98b7cdc152293bdb8317;hb=4b957f5e39b063de7e50121ce333b84413407820;hp=91db3049fc66befde000d91ac286ae4cfbbd4265;hpb=1af0b853a337587df021dcabc445088c78fbd703;p=16.git diff --git a/src/lib/16_vl.h b/src/lib/16_vl.h index 91db3049..b3e7de2b 100755 --- a/src/lib/16_vl.h +++ b/src/lib/16_vl.h @@ -125,8 +125,11 @@ extern byte far* VGA; /* The VGA Memory */ #define HIGH_ADDRESS 0x0C #define LOW_ADDRESS 0x0D #define VRETRACE 0x08 -//#define INPUT_STATUS_1 0x03da defined in 16_head -#define STATUS_REGISTER_1 INPUT_STATUS_1 +//#define INPUT _STATUS_1 defined in 16_head +//#define STATUS_REGISTER_1 0x03da + +#define STATUS_REGISTER_1 0x3da + #define ATR_INDEX AC_INDEX #define ATR_OVERSCAN 17 #define DISPLAY_ENABLE 0x01 @@ -202,7 +205,7 @@ void modexLoadPalFile(char *filename, byte *palette); void VL_LoadPalFile(const char *filename, byte *palette, global_game_variables_t *gvar); void VL_LoadPalFileCore(byte *palette, global_game_variables_t *gvar); //void VLL_LoadPalFilewithoffset(const char *filename, byte *palette, word o, global_game_variables_t *gvar); -void VL_UpdatePaletteWrite(byte *palette, word o, global_game_variables_t *gvar); +void VL_UpdatePaletteWrite(byte *palette, word o, word palsize, global_game_variables_t *gvar); void VL_PaletteSync(global_game_variables_t *gvar); void modexSavePalFile(char *filename, byte *palette); #define MenuFadeIn() VL_FadeIn(0,255,&gamepal,10) @@ -254,7 +257,7 @@ void modexDrawChar(page_t *page, int x/*for planar selection only*/, word t, wor void modexprint(page_t *page, sword x, sword y, word t, boolean tlsw, word color, word bgcolor, boolean vidsw, const byte *str); void modexprintbig(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str); void VL_modexPrintTextBox(global_game_variables_t *gvar); -void modexpdump(page_t *pee); +void modexpdump(nibble pagenum, global_game_variables_t *gvar); void VL_PatternDraw(video_t *video, word pn, boolean sw, boolean allsw); void modexWaitBorder(); void modexWaitBorder_start();