Fix clear_screen only clearing top half
This commit is contained in:
parent
c7ab5c9d07
commit
6fb7da74e0
|
@ -82,8 +82,8 @@ clear_screen:
|
||||||
xor bp, bp
|
xor bp, bp
|
||||||
.loop:
|
.loop:
|
||||||
mov word [es:bp], 0
|
mov word [es:bp], 0
|
||||||
inc bp
|
add bp, 2
|
||||||
cmp bp, 320*200/2
|
cmp bp, 320*200
|
||||||
jne .loop
|
jne .loop
|
||||||
|
|
||||||
pop bp
|
pop bp
|
||||||
|
|
Loading…
Reference in New Issue