diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-03-13 18:49:41 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-03-13 18:49:41 +0200 |
| commit | 06e8b8dbadf769507abf5368caee253ded139adc (patch) | |
| tree | 0e4d7b495ecba85afc2738ff7ca254880f5b922c /atk16_schasm/bootstrap.scm | |
| parent | 7f83828988c2efab56f37c1711cbf6118be8234f (diff) | |
Improvements
Diffstat (limited to 'atk16_schasm/bootstrap.scm')
| -rw-r--r-- | atk16_schasm/bootstrap.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/atk16_schasm/bootstrap.scm b/atk16_schasm/bootstrap.scm index d9105f8..30d2324 100644 --- a/atk16_schasm/bootstrap.scm +++ b/atk16_schasm/bootstrap.scm @@ -17,7 +17,7 @@ ;; Set stack pointer to end of heap segment, i.e. one below addr-segment-mmio. ;; Stack grows down. ;; Heap grows up from addr-segment-heap until it meets the stack. - (ld SP ZR (u16 (- addr-segment-mmio 1))) + (%ld SP (u16 (- addr-segment-mmio 1))) ;; Set graphics mode to disabled. - (ld R0 ZR (u16 addr-mmio-graphics-mode)) - (st R0 ZR (u16 graphics-disabled))) + (%ld R0 (u16 addr-mmio-graphics-mode)) + (%st R0 (u16 graphics-disabled))) |
