mirror of
https://github.com/ariejan/i6502.git
synced 2024-06-04 23:29:27 +00:00
10 lines
198 B
Go
10 lines
198 B
Go
|
// Package memory provides different memory components
|
||
|
// and a common interface.
|
||
|
package memory
|
||
|
|
||
|
type Memory interface {
|
||
|
Size() int
|
||
|
Read(address uint16) byte
|
||
|
Write(address uint16, value byte)
|
||
|
}
|