#ifdef INITBBUF\r
INITBBUF\r
#endif\r
+ //0000mmblocktype far *scan;\r
\r
char bakapee1[64] = FILENAME_1;\r
char bakapee2[64] = FILENAME_2;\r
printf("====================================load end===================================\n");\r
}\r
#ifdef BUFFDUMP\r
- printf("contents of the buffer\n[\n%s\n]\n", BBUFSTRING);\r
+ printf("contents of the buffer\n[\n%.*s\n]\n", strlen(BBUFSTRING), BBUFSTRING);\r
+#if 0\r
+//0000\r
+ scan = gvar.mm.mmhead;\r
+ while (scan->useptr != &BBUFNAME && scan)\r
+ {\r
+ scan = scan->next;\r
+ }\r
+ printf("\n %Fp %Fp\n", scan->useptr, &BBUFNAME);\r
+ printf("\nstrlen of buffer = %zu\n", strlen(BBUFSTRING));\r
+ printf("length of buffer = %lu\n", scan->scan->length);\r
+#endif\r
#endif\r
#ifdef PRINTBBDUMP\r
PRINTBB;\r
\r
#ifndef NOVID\r
VGAmodeX(8, 0, &gvar); VL_LoadPalFileCore(&gvar.video.palette, &gvar);\r
+ VL_ClearVideo (0);\r
modexHiganbanaPageSetup(&gvar);\r
gvar.video.page[0].dx = gvar.video.page[0].dy = 0;\r
// VL_modexPalScramble(&gvar.video.palette);\r
\r
#define KEYP IN_Shutdown(&gvar); printf("\n\npress any key to continue!\n"); getch(); IN_Startup(&gvar);\r
\r
-#define BBUFNAME gvar.mm.bufferseg//bigbuffer\r
+#define BBUFNAME gvar.mm.bufferseg\r
//#define INITBBUF static memptr BBUFNAME;\r
#define BBUFPTR MEMPTRCONV BBUFNAME\r
\r