Add basic UART driver

This didn't have a chance to get tested so I hope it works.

There is not fancy stuff here, just write to the register and wait till
it is done.
This commit is contained in:
Byron Lathi
2022-03-14 00:24:08 -05:00
parent b48438f6b2
commit 0b5ccf48b8
3 changed files with 46 additions and 1 deletions

View File

@@ -1 +1,6 @@
SEVEN_SEG = $7ff0
SEVEN_SEG = $7ff0
UART = $7ff4
UART_TXB = UART
UART_RXB = UART
UART_STATUS = UART + 1