https://github.com/bbbbbr/megaduck_laptop_gbdk_examples
GBDK examples for the special Mega Duck Laptop hardware (Super QuiQue & Super Junior Computer)
https://github.com/bbbbbr/megaduck_laptop_gbdk_examples
Last synced: 9 months ago
JSON representation
GBDK examples for the special Mega Duck Laptop hardware (Super QuiQue & Super Junior Computer)
- Host: GitHub
- URL: https://github.com/bbbbbr/megaduck_laptop_gbdk_examples
- Owner: bbbbbr
- License: unlicense
- Created: 2023-11-28T11:17:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T07:23:03.000Z (about 2 years ago)
- Last Synced: 2024-03-22T04:10:24.499Z (almost 2 years ago)
- Language: C
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# These examples are now merged into GBDK-2020
The updated versions can be found at this URL:
https://github.com/gbdk-2020/gbdk-2020/tree/develop/gbdk-lib/examples/megaduck
### Emulation for Development and Testing
The [Super Junior SameDuck](https://github.com/bbbbbr/SuperJuniorSameDuck) fork of the [SameBoy](https://sameboy.github.io/) emulator can be used for running MegaDuck laptop programs, it has support for the Keyboard and RTC.
- When using it, make sure to enable the `--megaduck_laptop` flag on the command line to enable the relevant hardware emulation.
This repo will now be archvied and no longer updated
---------------------------------------------
### GBDK examples for the Mega Duck Laptop
How to interface with the special hardware on the Mega Duck Laptop models (Super QuiQue and Super Junior Computer).
#### Keyboard example
- Initializing the external controller connected over the serial link port
- Polling the keyboard for input and processing the returned keycodes
#### RTC example
- Initializing the external controller connected over the serial link port
- Polling the laptop RTC for date and time
- Setting a new date and time for the laptop RTC