How aryanneoroy-cpu/ram works
This repository is a minimal Java memory-model foundation, not yet a full computer simulation. Its runtime behavior is concentrated in Ram: construction allocates byte-addressable storage, reads and writes validate an address, and invalid accesses throw a segmentation-fault-style bounds exception. The main method demonstrates a write followed by a read. The README mentions a future memory manager and terminal/shell, but those are not implemented here. The graph reflects the single sampled source file.
Main entry points: Ram.java RAM
Components 5
Memory model
- RAM
src/Ram.java - Byte storage
src/Ram.java - Address validation
src/Ram.java - Bounds error
src/Ram.java
Other components
- Program caller
Connections 5
- Program caller → RAM: constructs
src/Ram.java - RAM → Byte storage: allocates
src/Ram.java - RAM → Address validation: validates access
src/Ram.java - Address validation → Bounds error: throws
src/Ram.java - RAM → Byte storage: reads and writes
src/Ram.java