about summary refs log tree commit diff stats
path: root/103screen.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-29 16:20:37 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-29 16:24:31 -0700
commitcb0caab25c66170266a2ad6ad60c077b863aac43 (patch)
tree560d40d82a9c3d72bdefc3d1e4e6b19e7cecfecd /103screen.subx
parent77b43b007f08a49ac1fa35ce394e38429da747e6 (diff)
downloadmu-cb0caab25c66170266a2ad6ad60c077b863aac43.tar.gz
6437 - check screen/window dimensions
This was why I was trying to use a different output register: a second
function to call.

And I managed to mess it up again, changing the output of load-file, but
not how it was computed in the body.
Diffstat (limited to '103screen.subx')
-rw-r--r--103screen.subx4
1 files changed, 0 insertions, 4 deletions
diff --git a/103screen.subx b/103screen.subx
index 328b1151..419292c7 100644
--- a/103screen.subx
+++ b/103screen.subx
@@ -39,8 +39,6 @@ screen-size:  # -> nrows/eax: int, ncols/ecx: int
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # . save registers
-    50/push-eax
-    51/push-ecx
     52/push-edx
     53/push-ebx
     56/push-esi
@@ -69,8 +67,6 @@ $screen-size:end:
     5e/pop-to-esi
     5b/pop-to-ebx
     5a/pop-to-edx
-    59/pop-to-ecx
-    58/pop-to-eax
     # . epilogue
     89/<- %esp 5/r32/ebp
     5d/pop-to-ebp