mirror of
https://github.com/ivanizag/izapple2.git
synced 2025-01-02 20:29:44 +00:00
25 lines
487 B
Go
25 lines
487 B
Go
package apple2
|
|
|
|
type unassignedPage struct {
|
|
page uint8
|
|
}
|
|
|
|
func (p *unassignedPage) Peek(address uint8) uint8 {
|
|
//fmt.Printf("Read on address 0x%02x%02x\n", p.page, address)
|
|
//panic(address)
|
|
return 0xdd
|
|
}
|
|
|
|
func (p *unassignedPage) internalPeek(address uint8) uint8 {
|
|
return 0xdd
|
|
}
|
|
|
|
func (p *unassignedPage) all() []uint8 {
|
|
return nil
|
|
}
|
|
|
|
func (p *unassignedPage) Poke(address uint8, value uint8) {
|
|
//fmt.Printf("Write on address 0x%02x%02x\n", p.page, address)
|
|
//panic(address)
|
|
}
|