//int ch=0x0;\r
byte ch;\r
int q=0;
- setkb(1);\r
page_t screen,screen2;\r
map_t map;\r
map_view_t mv, mv2;\r
map_view_t *draw, *show, *tmp;\r
byte *ptr;\r
\r
+
+ setkb(1);\r
/* create the map */\r
map = allocMap(40,30);\r
initMap(&map);\r
screen = modexDefaultPage();\r
screen.width = 352;\r
mv.page = &screen;\r
+ mapGoTo(&mv, 0, 0);\r
screen2=modexNextPage(mv.page);\r
mv2.page = &screen2;\r
- mapGoTo(&mv, 0, 0);\r
mapGoTo(&mv2, 0, 0);\r
modexShowPage(mv.page);\r
\r
for(q=0; q<16; q++) {\r
mapScrollLeft(draw, 1);\r
modexShowPage(draw->page);\r
+ mapScrollLeft(show, 1);\r
SWAP(draw, show);\r
}\r
}\r
for(q=0; q<16; q++) {\r
mapScrollDown(draw, 1);\r
modexShowPage(draw->page);\r
+ mapScrollDown(show, 1);\r
SWAP(draw, show);\r
}\r
}\r
for(q=0; q<16; q++) {\r
mapScrollUp(draw, 1);\r
modexShowPage(draw->page);\r
+ mapScrollUp(show, 1);\r
SWAP(draw, show);\r
\r
}\r