retro.package
- .metadata17 B
- Chip8.component
- Nes.component
- README.md2.1 KB
- RetroConsole.component
- chip8.module
- chip8_core.emulatorCore
- chip8_screen.texture
- chip8_screen_mat.material
- console_screen.texture
- console_screen_mat.material
- cover_chip8.texture
- cover_nes.texture
- emulatorCore.assetType
- host.module
- nes.module
- nes_core.emulatorCore
- nes_screen.texture
- nes_screen_mat.material
- package.yaml351 B
- pressstart2p.font
- vt323.font
README.md
retro
A pluggable multi-console emulation system: the RetroConsole arcade cabinet,
the emulatorCore asset type consoles plug into, the shared host machinery,
and two machine cores (CHIP-8, NES). Install this package, drop the cabinet on
a panel, and every emulator core installed in the world shows up in one
cartridge loader — one screen, one machine running at a time.
What installs
RetroConsole.component— the cabinet. One screen, one loader spanning every installed console, engage/release controls (Esc), letterboxed display, per-console battery saves and cartridge libraries. See its README for the drop-on-a-panel quick start.emulatorCore.assetType— the console plug. A core is an asset carrying its spec (extensions, resolution, fps,make, input map, battery accessors); publishing one in any package adds that console to every cabinet in the world. The contract is documented in the type's README.chip8_core.emulatorCore/nes_core.emulatorCore— the shipped consoles (the Game Boy core registers fromgameboy.packageasgameboy_core.emulatorCore).chip8.module— CHIP-8 machine: 35 opcodes, configurable quirks, 128×64 phosphor framebuffer, beeper voice.nes.module— NES machine: cycle-exact 6502 (nestest golden log), scanline PPU with loopy scroll + sprite-0 hit, APU voice model, controllers, mappers NROM/MMC1/UNROM/CNROM, battery PRG-RAM.host.module— the shared machinery (require("retro.host")): the cabinet engine (Console), the core registry, and the units both the cabinet and standalone console components compose —Display,RomLibrary,Pacer,Saves,MidiVoices,LoaderUi,Host.console_screen.texture/console_screen_mat.material— the cabinet's screen surface.
Machine contract
A core's make(romBytes) returns a machine with m:runFrame() advancing one
video frame and m.title naming it for saves/status; the spec's
framebuffer(m) exposes the RGBA8 buffer the cabinet blits. The
emulatorCore.assetType README documents the full spec table.