Versions in this module Expand all Collapse all v0 v0.6.1 Jun 1, 2021 v0.5.1 Sep 3, 2020 Changes in this version + const MaxPeripherals + type CPU struct + func NewCPU(peripherals []peripheral.Peripheral) *CPU + func (p *CPU) Break() + func (p *CPU) Close() + func (p *CPU) GetInterruptController() processor.InterruptController + func (p *CPU) GetMappedIODevice(port uint16) memory.IO + func (p *CPU) GetMappedMemoryDevice(addr memory.Pointer) memory.Memory + func (p *CPU) GetRegisters() *processor.Registers + func (p *CPU) GetStats() processor.Stats + func (p *CPU) InByte(port uint16) byte + func (p *CPU) InWord(port uint16) uint16 + func (p *CPU) InstallIODevice(device memory.IO, from, to uint16) error + func (p *CPU) InstallIODeviceAt(device memory.IO, port ...uint16) error + func (p *CPU) InstallInterruptHandler(num int, handler processor.InterruptHandler) error + func (p *CPU) InstallMemoryDevice(device memory.Memory, from, to memory.Pointer) error + func (p *CPU) InstallMemoryDeviceAt(device memory.Memory, addr ...memory.Pointer) error + func (p *CPU) OutByte(port uint16, data byte) + func (p *CPU) OutWord(port uint16, data uint16) + func (p *CPU) ReadByte(addr memory.Pointer) byte + func (p *CPU) ReadWord(addr memory.Pointer) uint16 + func (p *CPU) Reset() + func (p *CPU) SetV20Support(b bool) + func (p *CPU) Step() (int, error) + func (p *CPU) WriteByte(addr memory.Pointer, data byte) + func (p *CPU) WriteWord(addr memory.Pointer, data uint16)