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 + type Address uint32 + func NewAddress(seg, offset uint16) Address + func (a Address) AddInt(i int) Address + func (a Address) Offset() uint16 + func (a Address) Pointer() Pointer + func (a Address) Segment() uint16 + func (a Address) String() string + type DummyIO struct + func (m *DummyIO) In(port uint16) byte + func (m *DummyIO) Out(port uint16, data byte) + type DummyMemory struct + func (m *DummyMemory) ReadByte(addr Pointer) byte + func (m *DummyMemory) WriteByte(addr Pointer, data byte) + type IO interface + In func(port uint16) byte + Out func(port uint16, data byte) + type Memory interface + ReadByte func(addr Pointer) byte + WriteByte func(addr Pointer, data byte) + type Pointer uint32 + func NewPointer(seg, offset uint16) Pointer + func (p Pointer) String() string