Initial work on a simple serial driver for ableos
This commit is contained in:
parent
8bc0d0020c
commit
f53a42977d
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