petscii

package
v0.0.0-...-20a4c11 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	White      = 0x05
	Red        = 0x1c
	Green      = 0x1e
	Blue       = 0x1f
	Orange     = 0x81
	Black      = 0x90
	Brown      = 0x95
	LightRed   = 0x96
	DarkGray   = 0x97
	MediumGray = 0x98
	LightGreen = 0x99
	LightBlue  = 0x9a
	LightGray  = 0x9b
	Purple     = 0x9c
	Yellow     = 0x9e
	Cyan       = 0x9f
)

Variables

View Source
var Decoder = func(code uint8) (rune, bool) {
	ch, printable := tableUnshifted[code]
	return ch, printable
}

Decoder converts byte values to PETSCII equivilents in Unicode.

View Source
var ShiftedDecoder = func(code uint8) (rune, bool) {
	ch, printable := tableShifted[code]
	return ch, printable
}

ShiftedDecoder converts byte values to PETSCII equivilents in Unicode.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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