diff options
Diffstat (limited to 'baremetal/500text-screen.mu')
-rw-r--r-- | baremetal/500text-screen.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/baremetal/500text-screen.mu b/baremetal/500text-screen.mu index 4fa7a00e..e6004cad 100644 --- a/baremetal/500text-screen.mu +++ b/baremetal/500text-screen.mu @@ -191,11 +191,11 @@ fn clear-screen screen: (addr screen) { fn clear-real-screen { var y/eax: int <- copy 0 { - compare y, 0x300 # 768 + compare y, 0x300 # screen-height = 768 break-if->= var x/edx: int <- copy 0 { - compare x, 0x400 # 1024 + compare x, 0x400 # screen-width = 1024 break-if->= pixel-on-real-screen x, y, 0 # black x <- increment |