Expand description
§devices6502
A crate providing implementations of various memory-mapped devices for 6502-based systems.
This crate includes common device types that can be used to build memory maps for 6502 emulators or similar projects. It provides:
Ram: Random Access Memory implementationRom: Read Only Memory implementationMirror: Memory mirroring functionalitySocket: A device that can be hot-swapped at runtime (requiresallocfeature)Adjacent: Helper for combining multiple devicesReadWrite: A device that routes read and write operations to different devicesDevice: Trait defining common device behavior
All devices implement the Device trait which provides a consistent interface for
memory operations.
Modules§
- size_
const - Common memory size constants for device configuration.
Structs§
- Adjacent
- Combines two devices of equal size into a single contiguous address space.
- Mirror
- A device that mirrors another device N times in the address space.
- Ram
- A Random Access Memory device implementation.
- Read
Write - A device that routes read and write operations to different underlying devices.
- Rom
- A Read Only Memory device implementation.
- Socket
- A socket that can hold a device and allows hot-swapping at runtime.
Constants§
Traits§
- Device
- Trait for memory-mapped devices in a 6502 system.