https://github.com/bbbbbr/megaduck_laptop_asm_examples
Assembly examples for the special Mega Duck Laptop hardware (Super QuiQue & Super Junior Computer)
https://github.com/bbbbbr/megaduck_laptop_asm_examples
Last synced: 10 months ago
JSON representation
Assembly examples for the special Mega Duck Laptop hardware (Super QuiQue & Super Junior Computer)
- Host: GitHub
- URL: https://github.com/bbbbbr/megaduck_laptop_asm_examples
- Owner: bbbbbr
- Created: 2024-10-29T06:25:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T07:11:45.000Z (over 1 year ago)
- Last Synced: 2025-03-09T17:44:57.555Z (about 1 year ago)
- Language: Assembly
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
### Assembly 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).
Written in somewhat low effort asm. :)
#### Keyboard & RTC example
- Initializing the external controller connected over the serial link port
- Polling the keyboard for input and processing the returned keycodes
- Polling the laptop RTC for date and time
- Setting a new date and time for the laptop RTC
### 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.