Fix clear_screen only clearing top half

This commit is contained in:
Juhani Krekelä 2022-03-11 20:47:34 +02:00
parent c7ab5c9d07
commit 6fb7da74e0
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ clear_screen:
xor bp, bp
.loop:
mov word [es:bp], 0
inc bp
cmp bp, 320*200/2
add bp, 2
cmp bp, 320*200
jne .loop
pop bp