1 unstable release
0.1.0 | Feb 21, 2024 |
---|
#805 in Embedded development
460KB
114 lines
Embedded Display Drivers for Retro Computers
Embedded-graphics
display drivers for retro computers from Commodore, Atari, Nintendo etc.
Status
- Commodore 64:
- Simple Color PETSCII display driver (40 x 25 character "pixels")
- VIC-II color palette with
const
conversion from/toembedded-graphics
colors - Bitmapped display driver
Getting Started
The project requires rust-mos and a docker image is available: mrkits/rust-mos. See also the llvm-mos wiki.
Docker and Visual Studio Code
The easiest way is to use the provided .devcontainer.json
configuration for Visual Studio Code.
- Install and start Docker
- Configure Visual Studio Code with the Remote - Containers extension:
When asked, re-open in Dev container. Before starting up VSC, you may want to editcd retro-display/ code --install-extension ms-vscode-remote.remote-containers code .
.devcontainer.json
to point to a recent, tagged image ofmrkits/rust-mos
. In particular, if you're on an ARM architecture, e.g. Apple Silicon, make sure to use an image compiled forlinux/arm64
as emulating x86 in Docker is painfully slow. - Inside a VSC terminal, build with:
cargo build --release --target mos-c64-none --example demo
- Find the binary in
target/
and run in an emulator or transfer to real hardware.