Documentation ¶
Index ¶
- Constants
- func LoadHex(cpu emu.Processor, filename string) error
- type Config
- type Platform
- func (p *Platform) InitFMX()
- func (p *Platform) LoadCpuConfig(filename string)
- func (p *Platform) LoadPlatformConfig(filename string) (*Config, error)
- func (p *Platform) SendKey(code byte)
- func (p *Platform) SendKeyFromQueue()
- func (p *Platform) SetA2560K()
- func (p *Platform) SetA2560U()
- func (p *Platform) SetFMX()
- func (p *Platform) SetFranken()
- func (p *Platform) SetGenX()
Constants ¶
View Source
const FMX_INT_MASK_REG1 = 0x00_014D
keyboard memory registers
View Source
const FMX_INT_PENDING_REG1 = 0x00_0141
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Platform ¶
type Platform struct { CPU emu.Processor // active processor CPU0 emu.Processor // on-board one CPU1 emu.Processor // add-on GPU emu.GPU // active head on two-display nodes GPU0 emu.GPU GPU1 emu.GPU PATA0 *pata.PATA PS2 *ps2.PS2 MATHI *mathi.MathInt System byte // system type, const emu.SYS_* PS2_queue *list.List // queue for ps2 scancodes Init func() }
func (*Platform) LoadCpuConfig ¶
XXX - make it more common and move loadFiles to gui?
func (*Platform) LoadPlatformConfig ¶
func (*Platform) SendKeyFromQueue ¶
func (p *Platform) SendKeyFromQueue()
at this moment we have some troubles with speed of keyboard routines on emu and sometimes is worthwhile to queue codes
func (*Platform) SetFranken ¶
func (p *Platform) SetFranken()
Click to show internal directories.
Click to hide internal directories.