KOX - fix of phantom cross (bug #7)

git-svn-id: svn://kolibrios.org@3457 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2013-04-07 22:47:32 +00:00
parent 76b59449b1
commit 5eb9f854f4
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,3 @@
@fasm kox.asm kox
@kpack kox
@pause

View 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

View File

@ -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======