/programs/games/kox/trunk/build.sh |
0,0 → 1,11 |
#!/bin/bash |
# This script does for linux the same as build.bat for DOS, |
# it compiles the KoOS kernel, hopefully ;-) |
|
fasm -m 16384 mgb.asm mgb |
kpack mgb |
exit 0 |
|
|
|
|
/programs/games/kox/trunk/main.inc |
122,6 → 122,18 |
int 0x40 ;eax=x*65536+y |
mov [px],eax ;[px][py] - ª®®à¤¨ â âªã⮣® ¬¥áâ |
|
cmp [px],word 40 |
jb event_wait |
|
cmp [px],word 200 |
ja event_wait |
|
cmp [py],word 40 |
jb event_wait |
|
cmp [py],word 200 |
ja event_wait |
|
xor eax,eax |
g11: ;1st cell====== |
cmp word[px],92 |