gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/examples/megaduck/laptop_printer/Readme.md
1 ## GBDK example for the Mega Duck Laptop
2 How to interface with the printer made for the Mega Duck Laptop
3 models ("Super QuiQue" and "Super Junior Computer").
4
5 - Initializing the external controller connected over the serial link port
6 - Checking whether the printer is connected and which type
7 - Printing the screen to the printer
8 - Printing blank rows to the printer (to scroll the paper)
9
10 ## Printer Types
11 There are two types of Mega Duck printer, single pass and double pass.
12
13 - The single pass monochrome model is the standard Mega Duck JC-510 thermal printer which connects to the DB-26 "Printer" port.
14 - The double pass model 3-color model (identified in the System ROM disassembly) is most likely the JC-502 "Drucker Interface" which connects to DB-15 "External Connector" port and allows interfacing with standard (1990's) parallel printers.
15
16 Printing example support for the double pass model is untested
17 on hardware at present and so not included in the `main` branch.
18 For it's example code see the `save_2_pass_printer` branch.
19
20 ## Code structure
21 There are two separate files for the Mega Duck printer in this project.
22 - `megaduck_printer.c` contains the core interface code for querying the printer, sending tile data to it and transforming (rotate and flip) tiles to the format expected by the print er.
23 - `megaduck_printscreen.c` contains example code for sending a "print screen" of the console screen to the printer.
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.