diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-05-14 15:40:49 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-05-14 15:40:49 -0700 |
commit | adc92f49dca2951b04d3ea566a2e8134e9a891a7 (patch) | |
tree | de80f29c89586edb7779c4e7ff3a7bce05b8def0 /501draw-text.mu | |
parent | 69e477b12bf1e3a5ccfb4833bcaa34326a4a42d4 (diff) | |
download | mu-adc92f49dca2951b04d3ea566a2e8134e9a891a7.tar.gz |
.
Move abort to SubX. We'll need to do some unsafe stuff to display the call stack here.
Diffstat (limited to '501draw-text.mu')
-rw-r--r-- | 501draw-text.mu | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/501draw-text.mu b/501draw-text.mu index 79ec1930..8dbe0f4b 100644 --- a/501draw-text.mu +++ b/501draw-text.mu @@ -475,14 +475,3 @@ fn draw-text-wrapping-down-then-right-from-cursor-over-full-screen screen: (addr width, height <- screen-size screen draw-text-wrapping-down-then-right-from-cursor screen, text, 0/xmin, 0/ymin, width, height, color, background-color } - -# hacky error-handling -# just go into an infinite loop -fn abort e: (addr array byte) { - var dummy1/eax: int <- copy 0 - var dummy2/ecx: int <- copy 0 - dummy1, dummy2 <- draw-text-wrapping-right-then-down-over-full-screen 0/screen, e, 0/x, 0x2f/y, 0xf/fg=white, 0xc/bg=red - { - loop - } -} |