]> 4ch.mooo.com Git - 16.git/commitdiff
i do not know 100% wat i have done but i plan on getting the borland c stuff and...
authorsparky4 <sparky4@cock.li>
Fri, 18 Aug 2017 21:39:10 +0000 (16:39 -0500)
committersparky4 <sparky4@cock.li>
Fri, 18 Aug 2017 21:39:10 +0000 (16:39 -0500)
bcexmm.dsk
bcexmm.exe [deleted file]
bcexmm.prj
src/lib/16_mm.c
src/lib/16_vl_1.c

index cd351bc416b8406ba21caf3a523df9e99737b9df..0ef010ca2205afdb2b05cf1c63229841986a461e 100755 (executable)
Binary files a/bcexmm.dsk and b/bcexmm.dsk differ
diff --git a/bcexmm.exe b/bcexmm.exe
deleted file mode 100755 (executable)
index 36a8a1f..0000000
Binary files a/bcexmm.exe and /dev/null differ
index c185ea31d9140eed40c5c45f2594c76c1a41ed2f..e3ecc2f24e664826859d3b7e896472c110db177d 100755 (executable)
Binary files a/bcexmm.prj and b/bcexmm.prj differ
index 77bbe9638ebec7b051692df765466678f797597d..c207e0243ead8c7048dd47a5b6d9479e1b29fd99 100755 (executable)
@@ -1361,13 +1361,13 @@ extern char global_temp_status_text2[512];
 void MM_ShowMemory (global_game_variables_t *gvar)\r
 {\r
        mmblocktype far *scan;\r
-       unsigned color,temp,x,y         ,w,width,sw;\r
+       unsigned color,temp,x,y         ,q,w,width,sw;\r
        sdword  end,owner;\r
        byte            scratch[160],scratch0[4096],str[16];\r
 #ifdef MMSMSCANINFO\r
        mmshowmemoryinfo_t scaninfo[MAXBLOCKS];\r
        byte scratch1[4];\r
-       unsigned                /*xpos,ypos, */oldq,q,maxq;\r
+       unsigned                /*xpos,ypos, */oldq,maxq;\r
        boolean         done,restarted,mmsmscaninfoxyposinew;\r
        ScanCode                scancode;\r
 #endif\r
@@ -1381,11 +1381,10 @@ void MM_ShowMemory (global_game_variables_t *gvar)
 #ifdef MMSMSCANINFO\r
        oldq = 0; restarted = false; mmsmscaninfoxyposinew = false;\r
 reset:\r
-       q = 0;\r
 #endif\r
        scan = gvar->mm.mmhead;\r
 \r
-       end = -1; w = 0;\r
+       end = -1; w = 0; q = 0;\r
 \r
        width = gvar->video.page[0].width; sw = gvar->video.page[0].sw;\r
 \r
@@ -1501,9 +1500,9 @@ reset:
 //0000fprintf(stdout, "[%u]\n", q);\r
 \r
                scan = scan->next;\r
-#ifdef MMSMSCANINFO\r
+//#ifdef MMSMSCANINFO\r
                q++;\r
-#endif\r
+//#endif\r
 //0000if(gvar->video.VL_Started && color!=6) IN_Ack(gvar);\r
        }\r
 \r
@@ -1592,7 +1591,9 @@ reset:
                        modexClearRegion(&gvar->video.page[0], gvar->video.page[0].dx, gvar->video.page[0].dy, gvar->video.page[0].sw, gvar->video.page[0].sh, 8);\r
                }else\r
 #endif\r
+               {\r
                        clrscr();\r
+               }\r
                sprintf(global_temp_status_text, "block #%04u", q); MMSMPRINTMEMINFO\r
 //             sprintf(global_temp_status_text, "%Fp", scaninfo[q].scan->useptr); MMSMPRINTMEMINFO\r
                sprintf(global_temp_status_text, "start:  %04x", (unsigned)scaninfo[q].scan->start); MMSMPRINTMEMINFO\r
index 57c59b304cbd5cfed43e13c1e0fc431982db9437..b5c826da10861e1d9680c86f89491fd71ba8201b 100755 (executable)
@@ -26,8 +26,8 @@
 #include "src/lib/16_vl.h"\r
 \r
 static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
-#define VGASTRIDEVARIABLE      gvar->video.page[0].stridew\r
-//vga_state.vga_stride\r
+#define VGASTRIDEVARIABLE      vga_state.vga_stride\r
+//#define VGASTRIDEVARIABLE    gvar->video.page[0].stridew\r
 \r
 //===========================================================================\r
 \r