codedatalog

package
v0.0.0-...-658d513 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package codedatalog implements support for Code/Data Logging in a FCEUX/Mesen emulator compatible format.

Index

Constants

View Source
const (
	Code              PrgFlag = 0b0000_0001
	Data              PrgFlag = 0b0000_0010
	RomBankMappedLow  PrgFlag = 0b0000_0100
	RomBankMappedHigh PrgFlag = 0b0000_1000
	IndirectCode      PrgFlag = 0b0001_0000
	IndirectData      PrgFlag = 0b0010_0000
	PCMAudio          PrgFlag = 0b0100_0000
	SubEntryPoint     PrgFlag = 0b1000_0000

	DrawnOnScreen        ChrFlag = 0b0000_0001
	ReadProgrammatically ChrFlag = 0b0000_0010
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChrFlag

type ChrFlag byte

ChrFlag defines flags for the CHR ROM.

type PrgFlag

type PrgFlag byte

PrgFlag defines flags for the PRG ROM.

func LoadFile

func LoadFile(cart *cartridge.Cartridge, reader io.Reader) ([]PrgFlag, error)

LoadFile loads an .cdl file in FCEUX/Mesen Code/Data Logger format.

Jump to

Keyboard shortcuts

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