openfiles: /dos/z/16/16/16.txt:0:0:0:
openfiles: /dos/z/16/16/lib/x/MODEX.H:5511:2798:0:
openfiles: /dos/z/16/16/TEST.C:430:6112:0:
-openfiles: /dos/z/16/16/modex16/scroll.c:1537:1152:1:
-openfiles: /dos/z/16/16/modex16/modex16.h:156:0:0:
+openfiles: /dos/z/16/16/modex16/scroll.c:1744:1341:0:
openfiles: /dos/z/16/16/modex16/makefile:106:0:0:
-openfiles: /dos/z/16/16/modex16/dos_kb.c:3565:2934:0:
+openfiles: /dos/z/16/16/modex16/dos_kb.c:1017:217:1:
openfiles: /dos/z/16/16/modex16/dos_kb.h:0:0:0:
snr_recursion_level: 0
convertcolumn_horizontally: 0
recent_files: file:///dos/z/16/16/lib/MODEX16.C
recent_files: file:///dos/z/16/16/lib/MODEX16.H
recent_files: file:///dos/z/16/16/modex16/SCROLL.C
-recent_files: file:///dos/z/16/16/modex16/scroll.c
-recent_files: file:///dos/z/16/16/dos_gfx.h
-recent_files: file:///dos/z/16/16/dos_kb.h
-recent_files: file:///dos/z/16/16/lib/lib_com.cpp
-recent_files: file:///dos/z/16/16/lib/lib_com.h
-recent_files: file:///dos/z/16/16/16.txt
-recent_files: file:///dos/z/16/16/dos_gfx.cpp
-recent_files: file:///dos/z/16/16/project16.txt
-recent_files: file:///dos/z/16/16/scroll.txt
-recent_files: file:///dos/z/16/16/TEST.C
-recent_files: file:///dos/z/16/16/lib/x/MODEX.H
recent_files: file:///dos/z/16/src/lib/dos_comm.c
recent_files: file:///dos/z/16/src/eng_comm.cpp
recent_files: file:///dos/z/16/src/eng_comm.h
recent_files: file:///dos/z/16/src/lib/dos_comm.h
recent_files: file:///dos/z/16/16/modex16/lib/lib_com.h
recent_files: file:///dos/z/16/16/modex16/lib/lib_com.cpp
+recent_files: file:///dos/z/16/16/dos_gfx.h
+recent_files: file:///dos/z/16/16/dos_gfx.cpp
recent_files: file:///dos/z/16/16/dos_kb.c
+recent_files: file:///dos/z/16/16/dos_kb.h
+recent_files: file:///dos/z/16/16/lib/lib_com.cpp
+recent_files: file:///dos/z/16/16/lib/lib_com.h
+recent_files: file:///dos/z/16/16/scroll.txt
+recent_files: file:///dos/z/16/16/project16.txt
+recent_files: file:///dos/z/16/16/16.txt
+recent_files: file:///dos/z/16/16/TEST.C
+recent_files: file:///dos/z/16/16/modex16/dos_kb.c
recent_files: file:///dos/z/16/16/modex16/modex16.h
recent_files: file:///dos/z/16/16/modex16/makefile
recent_files: file:///dos/z/16/16/modex16/dos_kb.h
-recent_files: file:///dos/z/16/16/modex16/dos_kb.c
+recent_files: file:///dos/z/16/16/lib/x/MODEX.H
+recent_files: file:///dos/z/16/16/modex16/scroll.c
snr_replacetype: 0
savedir: file:///dos/z/16/16/modex16
spell_check_default: 1
* to be included.
*/
#define TESTING
+#define TESTING2
/*****************NEW KEYBOARD 09h ISR***********************/
void interrupt newkb(void){
outp(0x61, qx); /* Toggle acknowledge bit low */
/* Interpret the scan code and set our flags */
- #ifdef TESTING
- printf("%d[%d]\n",kee,key[kee]);
+ #ifdef TESTING2
+ //printf("%d[%d]\n",kee,key[kee]);
+ printf("\0"); // bug
#endif
if(kee & 0x80)
key[kee & 0x7F] = 0; // a key is released
\r
/* draw the tiles */\r
ptr = map.data;\r
- //modexEnter();\r
+ modexEnter();\r
screen = modexDefaultPage();\r
screen.width = 352;\r
mv.page = &screen;\r
draw = &mv2;\r
\r
while(!keyp(1)) {\r
- /*if(keyp(77)){\r
+ if(keyp(77)){\r
for(q=0; q<16; q++) {\r
mapScrollRight(draw, 1);\r
modexShowPage(draw->page);\r
- //mapScrollRight(draw, 1);\r
- //SWAP(draw, show);\r
+// mapScrollRight(draw, 1);\r
+// SWAP(draw, show);\r
}\r
- }\r
+ }else\r
\r
if(keyp(75)){\r
for(q=0; q<16; q++) {\r
mapScrollLeft(draw, 1);\r
modexShowPage(draw->page);\r
- //mapScrollLeft(show, 1);\r
- //SWAP(draw, show);\r
+// mapScrollLeft(show, 1);\r
+// SWAP(draw, show);\r
}\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
+// mapScrollDown(show, 1);\r
+// SWAP(draw, show);\r
}\r
- }\r
-\r
+ }else\r
\r
if(keyp(72)){\r
for(q=0; q<16; q++) {\r
mapScrollUp(draw, 1);\r
modexShowPage(draw->page);\r
- //mapScrollUp(show, 1);\r
- //SWAP(draw, show);\r
+// mapScrollUp(show, 1);\r
+// SWAP(draw, show);\r
}\r
- }*/\r
+ }\r
\r
- keyp(ch);\r
+ //keyp(ch);\r
\r
}\r
\r
- //modexLeave();\r
+ modexLeave();\r
setkb(0);\r
}\r
\r