Some more GB Printer documentation

This commit is contained in:
Rangi
2019-05-11 13:01:59 -04:00
parent 5248d18f58
commit 7890fae995
6 changed files with 29 additions and 28 deletions

View File

@@ -9,8 +9,8 @@ Printer_StartTransmission:
ld [wPrinterOpcode], a
ld hl, wPrinterConnectionOpen
set 0, [hl]
ld a, [wGBPrinter]
ld [wGBPrinterSettings], a
ld a, [wGBPrinterBrightness]
ld [wPrinterExposureTime], a
xor a
ld [wJumptableIndex], a
ret
@@ -353,11 +353,11 @@ Printer_ComputeChecksum:
Printer_StageHeaderForSend:
ld a, $1
ld [wGameboyPrinter2bppSource + 0], a
ld a, [wcbfa]
ld a, [wPrinterMargins]
ld [wGameboyPrinter2bppSource + 1], a
ld a, %11100100
ld a, %11100100 ; 3,2,1,0
ld [wGameboyPrinter2bppSource + 2], a
ld a, [wGBPrinterSettings]
ld a, [wPrinterExposureTime]
ld [wGameboyPrinter2bppSource + 3], a
ret