- //player[0].tx = INITTNUM; player[0].ty = INITTNUM;\r
- //mapinitmapview(mv, player[0].tx, player[0].tx);\r
-\r
-\r
- #define VMEMHEIGHT gvar.video.page[0].height+gvar.video.page[1].height\r
-\r
- //4 this draws that pattern on the screen\r
-#ifdef PATTERN\r
- {\r
- unsigned int i,j,o;\r
- /* fill screen with a distinctive pattern */\r
- for (i=0;i < gvar.video.page[0].width;i++) {\r
- o = i >> 2;\r
- vga_write_sequencer(0x02/*map mask*/,1 << (i&3));\r
- for (j=0;j < VMEMHEIGHT;j++,o += gvar.video.page[0].stridew)\r
- vga_state.vga_graphics_ram[o] = (i^j)&15; // VRL samples put all colors in first 15!\r
- }\r
- }\r
-#else\r
- TESTBG;\r
-#endif\r