2019-02-22 18:00:53 +01:00
|
|
|
package apple2
|
|
|
|
|
2019-02-22 22:19:08 +01:00
|
|
|
type unassignedPage struct {
|
2019-02-22 18:00:53 +01:00
|
|
|
page uint8
|
|
|
|
}
|
|
|
|
|
2019-02-22 22:19:08 +01:00
|
|
|
func (p *unassignedPage) Peek(address uint8) uint8 {
|
2019-03-05 00:00:12 +01:00
|
|
|
//fmt.Printf("Read on address 0x%02x%02x\n", p.page, address)
|
2019-02-22 22:19:08 +01:00
|
|
|
//panic(address)
|
2019-03-02 20:41:25 +01:00
|
|
|
return 0xdd
|
2019-02-22 18:00:53 +01:00
|
|
|
}
|
|
|
|
|
2019-04-21 21:04:02 +02:00
|
|
|
func (p *unassignedPage) internalPeek(address uint8) uint8 {
|
|
|
|
return 0xdd
|
|
|
|
}
|
|
|
|
|
2019-02-22 22:19:08 +01:00
|
|
|
func (p *unassignedPage) Poke(address uint8, value uint8) {
|
2019-03-05 00:00:12 +01:00
|
|
|
//fmt.Printf("Write on address 0x%02x%02x\n", p.page, address)
|
2019-02-22 22:19:08 +01:00
|
|
|
//panic(address)
|
2019-02-22 18:00:53 +01:00
|
|
|
}
|