mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 23:56:49 +03:00
KOX - fix of phantom cross (bug #7)
git-svn-id: svn://kolibrios.org@3457 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
76b59449b1
commit
5eb9f854f4
3
programs/games/kox/trunk/build.bat
Normal file
3
programs/games/kox/trunk/build.bat
Normal file
@ -0,0 +1,3 @@
|
||||
@fasm kox.asm kox
|
||||
@kpack kox
|
||||
@pause
|
11
programs/games/kox/trunk/build.sh
Normal file
11
programs/games/kox/trunk/build.sh
Normal file
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -121,6 +121,18 @@ button:
|
||||
mov ebx,1
|
||||
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======
|
||||
|
Loading…
Reference in New Issue
Block a user