]> 4ch.mooo.com Git - 16.git/commitdiff
seeing what was changed...
authorsparky4 <sparky4@cock.li>
Thu, 6 Jul 2017 22:54:53 +0000 (17:54 -0500)
committersparky4 <sparky4@cock.li>
Thu, 6 Jul 2017 22:54:53 +0000 (17:54 -0500)
src/exmmtest.c
src/lib/16_mm.c

index acfc90e53d5b91d69f826f652fc938fdefdbdba3..5adebd335c38c6cf9c8c89e8b6e193ec91f81a0c 100755 (executable)
@@ -208,10 +208,10 @@ PRINTBB; KEYP
                                                        #endif  //scrollload\r
 \r
 #ifndef NOVID\r
-       VL_Startup(&gvar);//    VGAmodeX(8, 0, &gvar);\r
+       VGAmodeX(8, 0, &gvar); VL_LoadPalFileCore(&gvar.video.palette, &gvar);\r
        modexHiganbanaPageSetup(&gvar);\r
+//     gvar.video.page[0].dx = gvar.video.page[0].dy = 0;\r
 //     VL_modexPalScramble(&gvar.video.palette);\r
-       VL_LoadPalFileCore(&gvar.video.palette, &gvar);\r
 //     ShapeTest_(&gvar);\r
 #endif\r
        MM_ShowMemory(&gvar);\r
index f3af11cca75109991407e94d48522573ca9c3ff9..e83003b7198587c2016a45c112b96bfc832dd9c8 100755 (executable)
@@ -1421,17 +1421,18 @@ reset:
                end = scan->length-1;\r
                y = scan->start/width;\r
                x = scan->start%width;\r
-#ifdef MMSMSCANINFO\r
+#if 0\r
+//def MMSMSCANINFO\r
                if(restarted){\r
                        y += gvar->video.page[0].dy;\r
                        x += gvar->video.page[0].dx;\r
                }\r
-#if 0\r
+//#if 0\r
                else{\r
                        scaninfo[q].y = y;\r
                        scaninfo[q].x = x;\r
                }\r
-#endif\r
+//#endif\r
 #endif\r
                VW_Hlin(x,x+end,y,color,gvar);\r
                VL_Plot(x,y,5,gvar);\r
@@ -1611,7 +1612,7 @@ reset:
                {\r
                        printf("%s", scratch1);\r
                        printf("%s", AAGREY); printf("_");\r
-                       if(scaninfo[q].scan->length<64000)\r
+//                     if(scaninfo[q].scan->length<64000)\r
                        for(w=(scaninfo[q].scan->start)/80;w<=end/80;w++)\r
                        {\r
                                //strcat(scratch1, "+");\r
@@ -1675,6 +1676,7 @@ reset:
 //                             y = gvar->video.page[0].dy;//(gvar->video.page[0].sh-(32));//8*4\r
                                oldq = q;\r
                                restarted = true;\r
+                               modexClearRegion(&gvar->video.page[0], 0, 0, gvar->video.page[0].width, gvar->video.page[0].height, 8);\r
                                goto reset;\r
                        break;\r
                        case sc_Escape:\r
@@ -1684,11 +1686,10 @@ reset:
        }\r
 //}\r
 //     MM_ShowMemoryDetail (x, y, w, q, end, &scaninfo, gvar);\r
+#else\r
+       if(gvar->video.VL_Started) IN_Ack(gvar);\r
 #endif\r
 \r
-\r
-//??   if(gvar->video.VL_Started) IN_Ack(gvar);\r
-\r
        gvar->video.BOFS = (byte __far *)temp;\r
 }\r
 \r