gameboy-rust/docs/hardware
0xrsydn 32eaffa0fe feat(cartridge): add 32 KiB SRAM save memory
Select it with --save-type sram (SaveDevice::Sram). The array is byte-wide,
starts erased, and repeats every 32 KiB through the 0x0e00xxxx save window.
A CPU byte store is staged and committed when its step completes, so failed
steps roll back and reads later in the step see the byte. Unlike Flash, SRAM
can be read from ROM code. Halfword/word access and DMA stay diagnostic until
the 8-bit bus behavior for those widths is verified.

SRAM shares the save-image API, host save files, and save states. Its device
code is new, so existing save states keep loading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HhfHfHEuzv2AUTd6erW1gU
2026-10-14 14:28:41 +07:00
..
audio.md feat(desktop): add muted accelerated ROM playback 2026-10-07 08:52:40 +07:00
bios.md fix(bios): return cleanly for empty LZ77 streams 2026-10-07 09:06:00 +07:00
cartridge-gpio.md fix(memory): ignore CPU and DMA writes to the Game Pak ROM windows 2026-10-14 14:28:41 +07:00
cartridge.md feat(cartridge): add 32 KiB SRAM save memory 2026-10-14 14:28:41 +07:00
cpu.md fix(cpu): accept ARM multiplies whose destination equals Rm 2026-10-14 14:28:41 +07:00
display-timing.md feat(desktop): run ROM files in a window with keypad input 2026-10-05 19:22:13 +07:00
dma.md fix(memory): ignore CPU and DMA writes to unused I/O addresses 2026-10-14 14:28:41 +07:00
save-states.md feat(core): add whole-machine save states with F5/F9 window slots 2026-10-14 14:28:41 +07:00
saves.md feat(cartridge): add 32 KiB SRAM save memory 2026-10-14 14:28:41 +07:00
serial.md feat(serial): support disconnected Joybus configuration and local registers 2026-10-07 06:38:04 +07:00
timers-irq.md feat(cartridge): implement RTC calendar transfers and clock updates 2026-10-07 05:59:29 +07:00
video.md fix(video): ignore enable bits for backgrounds a mode lacks 2026-10-14 14:28:41 +07:00