26 lines
559 B
Plaintext
26 lines
559 B
Plaintext
.ifndef INCLUDE_PRINT_SLOW
|
|
INCLUDE_PRINT_SLOW = 1
|
|
|
|
.import print_slow
|
|
|
|
;********************************************************************************
|
|
; @macro Print a null-terminated string
|
|
; @param message: Address of the message
|
|
; @param time_cs: time to sleep in centiseconds
|
|
;********************************************************************************
|
|
.macro PrintSlow message,time_cs
|
|
jsr lcd::clear
|
|
lda #<message
|
|
sta ARG0
|
|
lda #>message
|
|
sta ARG1
|
|
phx
|
|
ldx #time_cs
|
|
jsr print_slow
|
|
plx
|
|
.endmacro
|
|
|
|
.endif ; guard
|
|
|
|
|