mirror of
https://github.com/JetSetIlly/Gopher2600.git
synced 2024-06-02 20:18:20 -04:00
8 lines
173 B
Go
8 lines
173 B
Go
|
package memory
|
||
|
|
||
|
// Memory defines the operations for a memory system
|
||
|
type Memory interface {
|
||
|
Read(address uint16) (uint8, error)
|
||
|
Write(address uint16, data uint8) error
|
||
|
}
|