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