X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=bootcard.asm;fp=bootcard.asm;h=ddf50cdbbe0fcb7730394d3ae655a4c50d5976ea;hb=c887100262b10fe9814eee05aaeba763202afe9c;hp=ed23d79582afc037ebe774f749e22be7dff8f873;hpb=48edb19c441cc132608c3bbc9fae23f004425880;p=bootcard diff --git a/bootcard.asm b/bootcard.asm index ed23d79..ddf50cd 100644 --- a/bootcard.asm +++ b/bootcard.asm @@ -52,24 +52,19 @@ start: xor ax, ax mov ax, 13h int 10h - push 1000h + push 0a000h pop es + setcur 10, 0 + mov si, str1 + call textout + setcur 12, 1 + mov si, str2 + call textout + 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 @@ -78,16 +73,7 @@ mainloop: 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