Documentation
¶
Overview ¶
Package m68ktest provides functions for testing Go code against the Motorola 68000 chipset emulator.
Index ¶
- func AssertAddressRegister(t *testing.T, p *m68k.Processor, r int, v uint32)
- func AssertDataRegister(t *testing.T, p *m68k.Processor, r int, v uint32)
- func AssertLong(t *testing.T, p *m68k.Processor, addr uint32, v uint32)
- func AssertRun(t *testing.T, p *m68k.Processor)
- func AssertStatusRegister(t *testing.T, p *m68k.Processor, v uint32)
- func LoadBytes(t *testing.T, b []byte) *m68k.Processor
- func LoadFile(t *testing.T, path string) *m68k.Processor
- func NewProcessor(t *testing.T) *m68k.Processor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAddressRegister ¶
func AssertStatusRegister ¶
func LoadBytes ¶
LoadBytes returns a new 68000 processor with the given raw program data loaded into memory.
func LoadFile ¶
LoadFile returns a new 680000 processor with the given S-Record format program loaded into memory.
func NewProcessor ¶
NewProcessor returns a 68000 processor that will log trace messages to the given test context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.