mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-21 12:29:51 +00:00
Arduino emulation library for 8-bit microcomputers based on 6502, i8080 or z80
hw | ||
acia.cpp | ||
acia.h | ||
CPU.h | ||
display.cpp | ||
display.h | ||
filer.h | ||
flash_filer.cpp | ||
flash_filer.h | ||
hardware.cpp | ||
hardware.h | ||
i8080.cpp | ||
i8080.h | ||
keyboard.h | ||
library.properties | ||
LICENSE | ||
line.h | ||
memory.cpp | ||
memory.h | ||
pia.cpp | ||
pia.h | ||
ports.h | ||
prom.h | ||
ps2drv.cpp | ||
ps2drv.h | ||
r65emu.h | ||
r6502.cpp | ||
r6502.h | ||
ram.h | ||
README.md | ||
sd_filer.cpp | ||
sd_filer.h | ||
serial_filer.cpp | ||
serial_filer.h | ||
serialio.h | ||
socket_filer.cpp | ||
socket_filer.h | ||
sound_dac.cpp | ||
sound_dac.h | ||
spiram.cpp | ||
spiram.h | ||
timed.cpp | ||
timed.h | ||
TinyFont.h | ||
via.cpp | ||
via.h | ||
z80.cpp | ||
z80.h |
r65emu
Arduino emulation library for 8-bit microcomputers based on 6502, i8080 and z80.
Sample Applications
Configuration for Arduino
If building using the Arduino IDE, r65emu/hw/user.h
must be configured correctly.
Currently the only mass-produced board which is supported is the LilyGO TTGO.
Examples are also given for a generic node32s
board and a homebrew esp8bit
board.
Copy your configuration file to user.h
. If the board is also mass-produced, please open a PR to add the new file to the library.
Some emulations require a filesystem image containing programs to be uploaded:
- On esp32, this arduino plugin is required for that
- On esp8266, this arduino plugin should be used
- Alternatively an SD card can be used.
Libraries
Display
Depending on target board, one of:
- My port of Henning Karlsen's UTFT library
- TFT_eSPI
- FabGL
Storage
These are optional if the target board supports it (e.g., esp8266 or esp32 boards):
- Rei Vilo's port of Adafruit/Sparkfun's SD library,
- My port of Phil Stewart's SpiRAM library
Hardware
- A Stellaris Launchpad or ESP8266 board, e.g., WeMOS, or ESP32-based board, e.g., Node32s,
- An SD drive to store programs (for Stellarpad),
- A 23k256 SPI RAM chip (for Stellarpad, optional),
- A supported TFT screen, such as this one,
- A PS/2 keyboard.