diff options
Diffstat (limited to '103screen.subx')
-rw-r--r-- | 103screen.subx | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/103screen.subx b/103screen.subx index 0c893ec7..116d0320 100644 --- a/103screen.subx +++ b/103screen.subx @@ -88,7 +88,7 @@ $clear-screen:end: c3/return # row and col count from the top-left as (1, 1) -move-cursor: # row: int, column: int +move-cursor-on-screen: # row: int, column: int # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -109,7 +109,7 @@ move-cursor: # row: int, column: int (write %ecx "H") # flush (write-stream 2 %ecx) -$move-cursor:end: +$move-cursor-on-screen:end: # . reclaim locals 81 0/subop/add %esp 0x2c/imm32 # . restore registers @@ -154,20 +154,20 @@ $print-byte-to-screen:end: c3/return # just because Mu has no support for global variables yet -write-int32-hex-to-screen: # n: int +print-int32-hex-to-screen: # n: int # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp # (write-int32-hex-buffered Stdout *(ebp+8)) (flush Stdout) -$write-int32-hex-to-screen:end: +$print-int32-hex-to-screen:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp c3/return -reset-formatting: +reset-formatting-on-screen: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -176,13 +176,13 @@ reset-formatting: (write 2 "(B") (write 2 Esc) (write 2 "[m") -$reset-formatting:end: +$reset-formatting-on-screen:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp c3/return -start-color: # fg: int, bg: int +start-color-on-screen: # fg: int, bg: int # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -207,7 +207,7 @@ start-color: # fg: int, bg: int (write %ecx "m") # flush (write-stream 2 %ecx) -$start-color:end: +$start-color-on-screen:end: # . reclaim locals 81 0/subop/add %esp 0x2c/imm32 # . restore registers @@ -217,73 +217,73 @@ $start-color:end: 5d/pop-to-ebp c3/return -start-bold: +start-bold-on-screen: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp # (write 2 Esc) (write 2 "[1m") -$start-bold:end: +$start-bold-on-screen:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp c3/return -start-underline: +start-underline-on-screen: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp # (write 2 Esc) (write 2 "[4m") -$start-underline:end: +$start-underline-on-screen:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp c3/return -start-reverse-video: +start-reverse-video-on-screen: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp # (write 2 Esc) (write 2 "[7m") -$start-reverse-video:end: +$start-reverse-video-on-screen:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp c3/return # might require enabling blinking in your terminal program -start-blinking: +start-blinking-on-screen: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp # (write 2 Esc) (write 2 "[5m") -$start-blinking:end: +$start-blinking-on-screen:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp c3/return -hide-cursor: +hide-cursor-on-screen: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp # (write 2 Esc) (write 2 "[?25l") -$hide-cursor:end: +$hide-cursor-on-screen:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp c3/return -show-cursor: +show-cursor-on-screen: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -292,7 +292,7 @@ show-cursor: (write 2 "[?12l") (write 2 Esc) (write 2 "[?25h") -$show-cursor:end: +$show-cursor-on-screen:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp |