package
2.0.0-rc2+incompatible
Repository: https://github.com/db47h/ngaro.git
Documentation: pkg.go.dev
# Functions
AddressSize sets the address stack size.
BindInHandler binds the porvided IN handler to the given port.
BindOpcodeHandler binds the given function to handle custom opcodes (i.e.
BindOutHandler binds the porvided OUT handler to the given port.
BindWaitHandler binds the porvided WAIT handler to the given port.
DataSize sets the data stack size.
Input pushes the given io.Reader on top of the input stack.
Load loads a memory image from file fileName.
New creates a new Ngaro Virtual Machine instance.
NewVT100Terminal returns a new Terminal implementation that uses VT100 escape sequences to implement the Clear, CusrosrPos, FgColor and BgColor methods.
Output configures the output Terminal.
Save saves a Cell slice to an memory image file.
SaveMemImage overrides the memory image dump function called when writing 1 to I/O port 4.
StringCodec delegates string encoding/decoding in the memory image to the specified Codec.
# Constants
Bits per Cell.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
Ngaro Virtual Machine Opcodes.
# Type aliases
Cell is the basic type stored in a VM memory location.
InHandler is the function prototype for custom IN handlers.
OpcodeHandler is the prototype for opcode handler functions.
Option interface.
OutHandler is the function prototype for custom OUT handlers.
WaitHandler is the function prototype for custom WAIT handlers.