aboutsummaryrefslogtreecommitdiff
path: root/crt0_5200.s
diff options
context:
space:
mode:
Diffstat (limited to 'crt0_5200.s')
-rw-r--r--crt0_5200.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/crt0_5200.s b/crt0_5200.s
index cdc882a..102bab9 100644
--- a/crt0_5200.s
+++ b/crt0_5200.s
@@ -104,6 +104,11 @@ start:
lda #$02
sta SKCTL ;Enable Keyboard scanning
+ lda #$40
+ sta IRQEN ; enable keyboard IRQ
+ sta POKMSK
+ cli ; enable IRQ
+
.out .sprintf("%d bytes", * - start)
;;; end of OS ROM code, rest of file is standard 5200 crt0.s.