forked from koniifer/ableos
Initial work on a simple serial driver for ableos
This commit is contained in:
parent
4a840a6ef0
commit
87ec6ded54
7
hbasm/assets/serial_driver.hbasm
Normal file
7
hbasm/assets/serial_driver.hbasm
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
jmp r0, start
|
||||||
|
start:
|
||||||
|
jmp r0, init_serial_port
|
||||||
|
|
||||||
|
-- Uses r20 to set the port
|
||||||
|
init_serial_port:
|
||||||
|
add r20, r30, r10
|
Loading…
Reference in a new issue