From 7775f9ad5407f2be4b03c300d1db4c745fda2f69 Mon Sep 17 00:00:00 2001 From: crecher Date: Mon, 12 Oct 2026 03:44:25 +0200 Subject: initial commit --- cpu/bus.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 cpu/bus.go (limited to 'cpu/bus.go') 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) +} -- cgit v1.2.3