pixel

package
v0.0.0-...-a4a601d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PixelMode0

func PixelMode0(pp1, pp2 int) byte

PixelMode0 converts palette position into byte in screen mode 0

func PixelMode1

func PixelMode1(pp1, pp2, pp3, pp4 int) byte

PixelMode1 converts palette position into byte in screen mode 1

func PixelMode2

func PixelMode2(pp1, pp2, pp3, pp4, pp5, pp6, pp7, pp8 int) byte

PixelMode converts palette position into byte in screen mode 2

func RawPixelMode0

func RawPixelMode0(b byte) (pp1, pp2 int)

RawPixelMode0 converts color byte in palette position in screen mode 0

func RawPixelMode1

func RawPixelMode1(b byte) (pp1, pp2, pp3, pp4 int)

RawPixelMode1 converts color byte in palette position in screen mode 1

func RawPixelMode2

func RawPixelMode2(b byte) (pp1, pp2, pp3, pp4, pp5, pp6, pp7, pp8 int)

RawPixelMode2 converts color byte in palette position in screen mode 2

Types

This section is empty.

Jump to

Keyboard shortcuts

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