1
0
mirror of https://github.com/ariejan/i6502.git synced 2024-06-28 01:29:30 +00:00
i6502/memory.go
2014-08-17 15:53:35 +02:00

12 lines
234 B
Go

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)
}