{
/* block copy pattern to where we will draw the sprite */
vga_setup_wm1_block_copy();
+// {
+// word i;
+// byte o,o2;
+// o2 = *mv[0].video->page[id].data+4;
+// o = *mv[0].video->page[id].data;
+// for (i=0;i < mv[0].video->page[id].height;i++,o += mv[0].video->page[id].width+vga_state.vga_stride,o2 += (*mv[0].video->page[id].data >> 2)) vga_wm1_mem_block_copy(o2,o,*mv[0].video->page[id].data >> 2);
+// }
_fmemmove(mv[0].video->page[id].data+4, mv[0].video->page[id].data, mv[0].video->page[id].pagesize);
/* must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally */
vga_restore_rm0wm0();
}
}
-
void near ScrollLeft(map_view_t *mv, player_t *player, word id, word plid)
{
/* decrement the pixel position and update the page */
{
/* block copy pattern to where we will draw the sprite */
vga_setup_wm1_block_copy();
+// {
+// word i;
+// byte o,o2;
+// o2 = *mv[0].video->page[id].data-4;
+// o = *mv[0].video->page[id].data;
+// for (i=0;i < mv[0].video->page[id].height;i++,o += mv[0].video->page[id].width+vga_state.vga_stride,o2 += (*mv[0].video->page[id].data >> 2)) vga_wm1_mem_block_copy(o2,o,*mv[0].video->page[id].data >> 2);
+// }
_fmemmove(mv[0].video->page[id].data-4, mv[0].video->page[id].data, mv[0].video->page[id].pagesize);
/* must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally */
vga_restore_rm0wm0();
{
/* block copy pattern to where we will draw the sprite */
vga_setup_wm1_block_copy();
+// {
+// word i;
+// byte o,o2;
+// o2 = *mv[0].video->page[id].data-mv[0].video->page[id].pi;
+// o = *mv[0].video->page[id].data;
+// for (i=0;i < mv[0].video->page[id].height;i++,o += mv[0].video->page[id].width+vga_state.vga_stride,o2 += (*mv[0].video->page[id].data >> 2)) vga_wm1_mem_block_copy(o2,o,*mv[0].video->page[id].data >> 2);
+// }
_fmemmove(mv[0].video->page[id].data-mv[0].video->page[id].pi, mv[0].video->page[id].data, mv[0].video->page[id].pagesize);
/* must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally */
vga_restore_rm0wm0();
{
/* block copy pattern to where we will draw the sprite */
vga_setup_wm1_block_copy();
+// {
+// word i;
+// byte o,o2;
+// o2 = *mv[0].video->page[id].data+mv[0].video->page[id].pi;
+// o = *mv[0].video->page[id].data;
+// for (i=0;i < mv[0].video->page[id].height;i++,o += mv[0].video->page[id].width+vga_state.vga_stride,o2 += (*mv[0].video->page[id].data >> 2)) vga_wm1_mem_block_copy(o2,o,*mv[0].video->page[id].data >> 2);
+// }
_fmemmove(mv[0].video->page[id].data+mv[0].video->page[id].pi, mv[0].video->page[id].data, mv[0].video->page[id].pagesize);
/* must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally */
vga_restore_rm0wm0();