Hi everyone,
I made a couple of programs for my version of mikeOS, I tried not to use any calls
to the kernel that are not included in Mikes version, so they should work under MikeOS, you just have to edit the include file at the top of program replacing kisos.inc with your include file.
One is a retro pong game that writes directly to video memory using ES:DI(B000:0000)
use the up down arrows to control your paddle. The computer will play better the more points you score.
The other is just a demo of drawing diagonal lines on the screen using the video mode
vga 320x200 256 colors using ES:DI(A000:0000), you can press the f key to speed up
line drawing or s key to slow it down c key to clear screen and esc key to exit.
both programs switch ES register back to previous state when going back to MikeOS.
Both are written in FASM so just assemble using fasm (fasm pong.asm)
(fasm lines.asm)
I think I have worked out all the bugs....
Best Regards
John