fix(serial): properly exporting PINCHAR and added POUTZSTR macro
This commit is contained in:
@@ -7,3 +7,12 @@
|
|||||||
INITUART IMPORT
|
INITUART IMPORT
|
||||||
POUTCHAR IMPORT
|
POUTCHAR IMPORT
|
||||||
POUTZSTR IMPORT
|
POUTZSTR IMPORT
|
||||||
|
PINCHAR IMPORT
|
||||||
|
|
||||||
|
; POUTZSTR wrapper macro
|
||||||
|
PZSTR MACRO
|
||||||
|
pshs x
|
||||||
|
ldx #\1
|
||||||
|
jsr POUTZSTR
|
||||||
|
puls x
|
||||||
|
ENDM
|
||||||
|
@@ -15,6 +15,7 @@
|
|||||||
EXPORT INITUART
|
EXPORT INITUART
|
||||||
EXPORT POUTCHAR
|
EXPORT POUTCHAR
|
||||||
EXPORT POUTZSTR
|
EXPORT POUTZSTR
|
||||||
|
EXPORT PINCHAR
|
||||||
|
|
||||||
; Initializes the UART with LCR settings and a BAUD rate from DIVISORS.
|
; Initializes the UART with LCR settings and a BAUD rate from DIVISORS.
|
||||||
; ACCA: Index of the divsor to use in DIVISORS
|
; ACCA: Index of the divsor to use in DIVISORS
|
||||||
|
Reference in New Issue
Block a user