Documentation ¶
Index ¶
- type Addressable
- type Bus
- type Cpu6502
- func (cpu *Cpu6502) ClearFlag(flag Flag)
- func (cpu *Cpu6502) Disassemble(addr uint16) (string, uint16)
- func (cpu *Cpu6502) FlagSet(flag Flag) bool
- func (cpu *Cpu6502) Irq()
- func (cpu *Cpu6502) Nmi()
- func (cpu *Cpu6502) Reset()
- func (cpu *Cpu6502) SetFlag(flag Flag)
- func (cpu *Cpu6502) SetFlagValue(flag Flag, v bool)
- func (cpu *Cpu6502) StatusString() string
- func (cpu *Cpu6502) Tick() error
- func (cpu *Cpu6502) Waiting() bool
- type Flag
- type NullDevice
- type Ram
- type Rom
- type Ticker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addressable ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
func (*Bus) Addressable ¶
func (b *Bus) Addressable(start uint16, end uint16, device Addressable)
type Cpu6502 ¶
type Cpu6502 struct { A uint8 // Accumulator X uint8 // X index register Y uint8 // Y index register SP uint8 // Stack pointer P uint8 // Status register PC uint16 // PC register Debug bool DisableDecimal bool // contains filtered or unexported fields }
func NewCpu6502 ¶
func (*Cpu6502) SetFlagValue ¶
func (*Cpu6502) StatusString ¶
type NullDevice ¶
type NullDevice struct{}
func (*NullDevice) Read ¶
func (*NullDevice) Read(uint16) uint8
func (*NullDevice) Write ¶
func (*NullDevice) Write(uint16, uint8)
Click to show internal directories.
Click to hide internal directories.