mirror of
https://github.com/JetSetIlly/Gopher2600.git
synced 2024-05-20 05:40:49 -04:00
4c530bf7a7
- 6502 implementation is basically correct but does not handle - interrupts - pre-fetch cycle - anything less fine grained than instruction stepping - memory sub-system sketched in o retroactive adding of GPL copyright notice
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
|
|
}
|