mirror of
https://github.com/ariejan/i6502.git
synced 2024-09-29 06:54:46 +00:00
12 lines
234 B
Go
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)
|
|
}
|