diff options
| author | crecher <crecher@crecher.net> | 2026-10-12 03:44:25 +0200 |
|---|---|---|
| committer | crecher <crecher@crecher.net> | 2026-10-12 03:44:25 +0200 |
| commit | 7775f9ad5407f2be4b03c300d1db4c745fda2f69 (patch) | |
| tree | 857bed544f0c3161aa5d561c54f0a112feb0b178 /cpu/bus.go | |
| download | gones-7775f9ad5407f2be4b03c300d1db4c745fda2f69.tar.gz gones-7775f9ad5407f2be4b03c300d1db4c745fda2f69.zip | |
initial commit
Diffstat (limited to 'cpu/bus.go')
| -rw-r--r-- | cpu/bus.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu/bus.go b/cpu/bus.go new file mode 100644 index 0000000..68c042e --- /dev/null +++ b/cpu/bus.go @@ -0,0 +1,6 @@ +package cpu + +type Bus interface { + Read(addr uint16) uint8 + Write(addr uint16, val uint8) +} |