diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-05-11 13:01:59 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-05-11 13:01:59 -0400 |
commit | 7890fae995bad840d10071c60a2abd901d8f4e1a (patch) | |
tree | 8fffa8360f1d659f22f4ded231226bea0d034467 /engine/printer/printer_serial.asm | |
parent | 5248d18f58f1346b998eddbc7c6172a62fd9fe76 (diff) |
Some more GB Printer documentation
Diffstat (limited to 'engine/printer/printer_serial.asm')
-rw-r--r-- | engine/printer/printer_serial.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/printer/printer_serial.asm b/engine/printer/printer_serial.asm index 2ac75ca33..154cc2fd4 100644 --- a/engine/printer/printer_serial.asm +++ b/engine/printer/printer_serial.asm @@ -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 |