summaryrefslogtreecommitdiff
path: root/home/printer.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/printer.asm')
-rw-r--r--home/printer.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home/printer.asm b/home/printer.asm
index f4e8c7d3..9747713c 100644
--- a/home/printer.asm
+++ b/home/printer.asm
@@ -1,8 +1,8 @@
-PrinterReceive:: ; 1eb3 (0:1eb3)
- homecall PrinterReceive_
+PrinterReceive::
+ homecall _PrinterReceive
ret
-AskSerial:: ; 1ebf (0:1ebf)
+AskSerial::
; send out a handshake while serial int is off
ld a, [wPrinterConnectionOpen]
bit 0, a
@@ -31,11 +31,11 @@ AskSerial:: ; 1ebf (0:1ebf)
ldh [rSB], a
; switch to internal clock
- ld a, %00000001
+ ld a, (0 << rSC_ON) | (1 << rSC_CLOCK)
ldh [rSC], a
; start transfer
- ld a, %10000001
+ ld a, (1 << rSC_ON) | (1 << rSC_CLOCK)
ldh [rSC], a
ret