m68ktest

package
v0.0.0-...-3598644 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package m68ktest provides functions for testing Go code against the Motorola 68000 chipset emulator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertAddressRegister

func AssertAddressRegister(t *testing.T, p *m68k.Processor, r int, v uint32)

func AssertDataRegister

func AssertDataRegister(t *testing.T, p *m68k.Processor, r int, v uint32)

func AssertLong

func AssertLong(t *testing.T, p *m68k.Processor, addr uint32, v uint32)

func AssertRun

func AssertRun(t *testing.T, p *m68k.Processor)

AssertRun assert that the processor can run the program loaded into memory.

func AssertStatusRegister

func AssertStatusRegister(t *testing.T, p *m68k.Processor, v uint32)

func LoadBytes

func LoadBytes(t *testing.T, b []byte) *m68k.Processor

LoadBytes returns a new 68000 processor with the given raw program data loaded into memory.

func LoadFile

func LoadFile(t *testing.T, path string) *m68k.Processor

LoadFile returns a new 680000 processor with the given S-Record format program loaded into memory.

func NewProcessor

func NewProcessor(t *testing.T) *m68k.Processor

NewProcessor returns a 68000 processor that will log trace messages to the given test context.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL