LS7-Kernel/main.s

37 lines
390 B
ArmAsm
Raw Normal View History

2023-10-24 23:34:20 +02:00
.org $c000
; libraries
.include "lib/kernel.s"
reset
.org $fffa
.addr $0f00
.addr reset
.addr irq_jump
; hardware registers
vidx = $be00
vidy = $be01
vidm = $be02
vidd = $be03
porta = $bf80
portb = $bf81
ddrb = $bf82
ddra = $bf83
t1cl = $bf84
t1ch = $bf85
acr = $bf8b
ifr = $bf8d
ier = $bf8e
keyboard_port = $bd00
system_register = $bc00
.end