computer

package
v0.0.0-...-6b40fa4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2016 License: LGPL-3.0 Imports: 8 Imported by: 1

Documentation

Overview

computer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Computer

type Computer struct {
	Bus bus.PCMBA

	LogicCells []logic.LogicCell

	MemoryBank *mem.MemoryBank
	// contains filtered or unexported fields
}

func NewComputer

func NewComputer(logicSize, memorySize types.HCWORD) *Computer

func (*Computer) Init

func (c *Computer) Init(newer program.Newer)

func (*Computer) Print

func (c *Computer) Print(from, to types.HCWORD)

func (*Computer) Run

func (c *Computer) Run()

func (*Computer) Tick

func (c *Computer) Tick()

type Executer

type Executer struct {
	// contains filtered or unexported fields
}

func NewExecuter

func NewExecuter(exeWG *sync.WaitGroup) *Executer

func (*Executer) Exec

func (e *Executer) Exec(cells []logic.LogicCell)

func (*Executer) Start

func (e *Executer) Start()

func (*Executer) Stop

func (e *Executer) Stop()

Jump to

Keyboard shortcuts

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