package i6502 /* Anything implementing the Memory interface can be attached to the AddressBus and become accessible by the Cpu. */ type Memory interface { Size() uint16 Read(address uint16) byte Write(address uint16, data byte) }