lib

package
v0.0.0-...-790ea88 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BYTE_SIZE = 8
)

Variables

This section is empty.

Functions

func Assert

func Assert(condition bool, errorMsg error)

func Bit

func Bit[T constraints.Unsigned](b T, pos T) byte

func FormatHex

func FormatHex[T constraints.Unsigned](v T, length int) string

func ResetBit

func ResetBit(b byte, pos byte) byte

func SetBit

func SetBit(b byte, pos byte) byte

func SetLogger

func SetLogger(logLevel string)

Types

type CompatibilityMode

type CompatibilityMode uint8
const (
	CM_NONE CompatibilityMode = iota
	CM_CHIP8
	CM_SUPERCHIP
	CM_XOCHIP
)

Jump to

Keyboard shortcuts

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