First Commit
This commit is contained in:
parent
aaf7dbac41
commit
3edad90788
BIN
assets/UTF.8.bin
Normal file
BIN
assets/UTF.8.bin
Normal file
Binary file not shown.
BIN
assets/UTF.8.bmf
Normal file
BIN
assets/UTF.8.bmf
Normal file
Binary file not shown.
0
lib/kernel.s
Normal file
0
lib/kernel.s
Normal file
0
lib/kernel/console.s
Normal file
0
lib/kernel/console.s
Normal file
0
lib/kernel/int.s
Normal file
0
lib/kernel/int.s
Normal file
0
lib/kernel/irq.s
Normal file
0
lib/kernel/irq.s
Normal file
0
lib/kernel/keyboard.s
Normal file
0
lib/kernel/keyboard.s
Normal file
0
lib/kernel/string.s
Normal file
0
lib/kernel/string.s
Normal file
37
main.s
Normal file
37
main.s
Normal file
@ -0,0 +1,37 @@
|
||||
|
||||
|
||||
|
||||
.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
|
Loading…
Reference in New Issue
Block a user