vicky

package
v0.0.0-...-dfe74e1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 5 Imported by: 0

README

Vicky

Original implementation, with some features close to FMX/U/U+. Single-instance only, tied to fixed memory address (AF:0000).

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vicky

type Vicky struct {
	TFB   []uint32 // text   framebuffer
	BM0FB []uint32 // bitmap0 framebuffer
	BM1FB []uint32 // bitmap1 framebuffer
	TEXT  []uint32
	MEM   []byte

	Master_L       byte // MASTER_CTRL_REG_L
	Master_H       byte // MASTER_CTRL_REG_H
	Cursor_visible bool
	Border_visible bool
	BM0_visible    bool
	BM1_visible    bool

	Border_color_b byte
	Border_color_g byte
	Border_color_r byte
	Border_x_size  int32
	Border_y_size  int32
	Background     [3]byte // r, g, b
	// contains filtered or unexported fields
}

func New

func New() (*Vicky, error)

func (*Vicky) Clear

func (v *Vicky) Clear()

func (*Vicky) Dump

func (v *Vicky) Dump(address uint32) []byte

func (*Vicky) Read

func (v *Vicky) Read(address uint32) byte

XXX - balance between number of entries and possibility to identify

not implemented reads

func (*Vicky) RenderBitmapText

func (v *Vicky) RenderBitmapText()

func (*Vicky) RenderBitmapTextVickyI

func (v *Vicky) RenderBitmapTextVickyI()

still vicky-i

func (*Vicky) Shutdown

func (v *Vicky) Shutdown()

func (*Vicky) Size

func (v *Vicky) Size() uint32

func (*Vicky) String

func (v *Vicky) String() string

func (*Vicky) Write

func (v *Vicky) Write(address uint32, val byte)

Jump to

Keyboard shortcuts

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