projects
/
bootcard
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48edb19
)
back to single-buffer to save space. modern machines are fast enough to
author
John Tsiombikas
<nuclear@member.fsf.org>
Tue, 21 Jun 2022 21:27:52 +0000
(
00:27
+0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Tue, 21 Jun 2022 21:27:52 +0000
(
00:27
+0300)
draw everything in vblank
bootcard.asm
patch
|
blob
|
history
diff --git
a/bootcard.asm
b/bootcard.asm
index
ed23d79
..
ddf50cd
100644
(file)
--- a/
bootcard.asm
+++ b/
bootcard.asm
@@
-52,24
+52,19
@@
start: xor ax, ax
mov ax, 13h
int 10h
mov ax, 13h
int 10h
- push 1000h
+ push 0a000h
pop es
pop es
+ setcur 10, 0
+ mov si, str1
+ call textout
+ setcur 12, 1
+ mov si, str2
+ call textout
+
sti
mainloop:
sti
mainloop:
- call drawbg
-
- push ds
- push es
- push es
- pop ds
- push 0a000h
- pop es
- xor di, di
- xor si, si
- mov cx, 32000
-
mov dx, 3dah
.invb: in al, dx
and al, 8
mov dx, 3dah
.invb: in al, dx
and al, 8
@@
-78,16
+73,7
@@
mainloop:
and al, 8
jz .novb
and al, 8
jz .novb
- rep movsw
- pop es
- pop ds
-
- setcur 10, 0
- mov si, str1
- call textout
- setcur 12, 1
- mov si, str2
- call textout
+ call drawbg
jmp mainloop
jmp mainloop