]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_vl.c
the scanshowinfo part of show memory text prints do not match the text file's text...
[16.git] / src / lib / 16_vl.c
index 1f5754d9c2edcca74ddca917b6900ccf7df8e781..761a0cf3848bd5d0b0ed5a3e66434528bc1cb30e 100755 (executable)
@@ -1268,6 +1268,12 @@ void modexprintbig(page_t *page, word x, word y, word t, word col, word bgcol, c
        }\r
 }\r
 \r
+//     short hand of modexprint\r
+void VL_print(const byte *str, nibble pagenum, global_game_variables_t *gvar)\r
+{\r
+       modexprint(&(gvar->video.page[pagenum]), gvar->video.print.x, gvar->video.print.y, gvar->video.print.t, gvar->video.print.tlsw, gvar->video.print.color, gvar->video.print.bgcolor, gvar->video.VL_Started, str);\r
+}\r
+\r
 /* palette dump on display! */\r
 void modexpdump(nibble pagenum, global_game_variables_t *gvar)\r
 {\r
@@ -1392,7 +1398,8 @@ void VL_PrintmodexmemInfo(video_t *v)
 //     printf("========================================\n");\r
        printf("  Virtual Screen: %dx", v->page[0].width);      printf("%d      ", v->page[0].height);  printf("Tile: %dx", v->page[0].ti.tilesw);              printf("%d", v->page[0].ti.tilesh);     printf("=((Virtual Screen)/16)\n");\r
        printf("          Screen: %dx", v->page[0].sw);         printf("%d      ", v->page[0].sh);              printf("Tile: %dx", v->page[0].ti.tw);                  printf("%d", v->page[0].ti.th);         printf("=((Screen)/16)\n");\r
-       printf("  stride: %u ", vga_state.vga_stride);\r
+       printf("  vga_stride: %u ", vga_state.vga_stride);\r
+       printf("pagestride: %u ", v->page[0].stridew);\r
        printf("draw_stride: %u ", vga_state.vga_draw_stride);\r
        printf("draw_stride_limit: %u\n", vga_state.vga_draw_stride_limit);\r
 \r