Gopher2600/hardware/memory/memory.go
steve 4c530bf7a7 o initial commit
- 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
2020-01-05 18:58:12 +00:00

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
}