Documentation ¶
Index ¶
- type Apple2
- func (a2 *Apple2) AddCard(card cards.Card) error
- func (a2 *Apple2) AddPCAction(address uint16, action PCAction)
- func (a2 *Apple2) DumpRAM(filename string) error
- func (a2 *Apple2) EmptyRead() byte
- func (a2 *Apple2) Handle12k(onOff bool, slot byte)
- func (a2 *Apple2) HandleROM(onOff bool, slot byte)
- func (a2 *Apple2) Keypress(key byte)
- func (a2 *Apple2) LogRegisters()
- func (a2 *Apple2) Quit()
- func (a2 *Apple2) RamRead(address uint16) byte
- func (a2 *Apple2) Read(address uint16) byte
- func (a2 *Apple2) Step() error
- func (a2 *Apple2) Tick()
- func (a2 *Apple2) Write(address uint16, value byte)
- type Option
- type PCAction
- type PCActionType
- Bugs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apple2 ¶
type Apple2 struct { Done bool // contains filtered or unexported fields }
Apple II struct
func (*Apple2) AddPCAction ¶
func (*Apple2) LogRegisters ¶
func (a2 *Apple2) LogRegisters()
type PCAction ¶
type PCAction struct { Type PCActionType String string Mask byte Masked byte Delay uint64 Callback func() }
type PCActionType ¶
type PCActionType int
const ( ActionDumpMem PCActionType = iota + 1 ActionLogRegisters ActionTrace ActionSetLimit ActionHere ActionDiskStatus ActionCallback )
Notes ¶
Bugs ¶
make reads/writes atomic
this is not how the apple2 keyboard actually works
Directories ¶
Path | Synopsis |
---|---|
Simplest possible Apple II that will possibly boot, in exp/shiny.
|
Simplest possible Apple II that will possibly boot, in exp/shiny. |
Simplest possible Apple II that will possibly boot.
|
Simplest possible Apple II that will possibly boot. |
convert.go contains routines to convert from character ROMs to text and back.
|
convert.go contains routines to convert from character ROMs to text and back. |
Click to show internal directories.
Click to hide internal directories.