word dy; /* row we are viewing on the virtual screen */\r
word sw; /* screen width */\r
word sh; /* screen heigth */\r
word dy; /* row we are viewing on the virtual screen */\r
word sw; /* screen width */\r
word sh; /* screen heigth */\r
sword tilemidposscreenx; /* middle tile position */\r
sword tilemidposscreeny; /* middle tile position */\r
sword tileplayerposscreenx; /* player position on screen */\r
sword tileplayerposscreeny; /* player position on screen */\r
sword tilemidposscreenx; /* middle tile position */\r
sword tilemidposscreeny; /* middle tile position */\r
sword tileplayerposscreenx; /* player position on screen */\r
sword tileplayerposscreeny; /* player position on screen */\r
- iword pagesize; /* page size */\r
+ uint16_t pattern_ofs; /* doslib vga patter offset www */\r
+ word stridew; /*width/4*/\r
+ word pagesize; /* page size */\r
+ word pi; /* incremention page by this much to preserve location */\r