aboutsummaryrefslogtreecommitdiffstats
path: root/asm/bootstrap.atk16
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-11-03 23:24:50 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2023-11-03 23:24:50 +0200
commit49327432b456c3110064556ac4613b49be54b925 (patch)
treeae1d75b210b6168010c6a21332795907fc7c2f4d /asm/bootstrap.atk16
parentbef9b09493403187079f4b8ec6633f5258376f44 (diff)
Fix character code mapping
Diffstat (limited to 'asm/bootstrap.atk16')
-rw-r--r--asm/bootstrap.atk1622
1 files changed, 11 insertions, 11 deletions
diff --git a/asm/bootstrap.atk16 b/asm/bootstrap.atk16
index 9d69872..a65fc99 100644
--- a/asm/bootstrap.atk16
+++ b/asm/bootstrap.atk16
@@ -43,17 +43,17 @@
ldi 0x55 RE
hlt
-@label keyboard_isr
- stack_stash RA RB
- ldi vt_kb_pp_addr RA ; RA := Keyboard peripheral address pointer
- ldr RA RA ; RA := Keyboard peripheral address deref
- ldr RA RA ; RA := <16-bit keyboard character code> from MMIO register
- ldi vt_term_pp_addr RB ; RB := Terminal peripheral address pointer
- ldr RB RB ; RB := Terminal peripheral address deref
- str RA RB ; terminal <- character code (ASCII?)
- mov RA RE ; RE := character code (for debugging)
- stack_restore RA RB
- rti
+; @label keyboard_isr
+; stack_stash RA RB
+; ldi vt_kb_pp_addr RA ; RA := Keyboard peripheral address pointer
+; ldr RA RA ; RA := Keyboard peripheral address deref
+; ldr RA RA ; RA := <16-bit keyboard character code> from MMIO register
+; ldi vt_term_pp_addr RB ; RB := Terminal peripheral address pointer
+; ldr RB RB ; RB := Terminal peripheral address deref
+; str RA RB ; terminal <- character code (ASCII?)
+; mov RA RE ; RE := character code (for debugging)
+; stack_restore RA RB
+; rti
@label program_segment
; define short prelude that sets up vital instructions