package
0.0.0-20240729032619-48aa4a75b89d
Repository: https://github.com/pevans/erc.git
Documentation: pkg.go.dev

# Packages

a2enc provides code to encode logically formatted disk images into a physical format, or vice versa, decode physically formatted images to a logical format.
a2font provides fonts that can be used for the Apple II.
a2state provides a set of consts that you can use to reference state in the Apple II.
a2sym provides symbols that are used or define in Apple II technical literature.
a2video provides functionality to render graphics for an Apple II computer.

# Functions

BankDFRead implements logic for reads into the D0...FF pages of memory, taking into account the bank-switched states that the computer currently has.
BankDFWrite implements logic for writes into the D0...FF pages of memory, taking into account the bank-switched states that the computer currently has.
BankSegment returns the memory segment that should be used with respect to bank-switched auxiliary memory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ImageType returns the type of image that is suggested by the suffix of the given filename.
NewComputer returns an Apple //e computer value, which essentially encompasses all of the things that an Apple II would need to run.
No description provided by the author
NewDrive returns a new disk drive ready for DOS 3.3 images.
NewScreen returns a new frame buffer ready to hold the data that an Apple II would need to render itself.
PCRead returns a byte from ROM within the peripheral card address space ($C1..$CF).
PCWrite is a stub which does nothing, since it handles writes into an explicitly read-only memory space.
ReadSegment returns the segment that should be used for general reads, according to our current memory mode.
WriteSegment returns the segment that should be used for general writes, according to our current memory mode.

# Constants

AppleSoft holds the address of AppleSoft, which is the BASIC system that is built into Apple 2.
AuxMemorySize is the length of memory for auxiliary memory in the Apple II, which was implemented through a peripheral called a "language card" installed in the back.
BootVector is the location in memory that the operating system is designed to jump to after the initial boot sequence occurs.
MainMemorySize is the length of memory for so-called "main memory" in an Apple II.
ReadMode is read mode for the drive.
ResetPC is the address that the processor jumps to when it is reset.
RomMemorySize is the length of system read-only memory.
SysRomOffset is the spot in memory where system ROM can be found.
WriteMode indicates that we are in write mode for the drive.

# Structs

A Computer is our abstraction of an Apple //e ("enhanced") computer.
No description provided by the author
No description provided by the author
A Drive represents the state of a virtual Disk II drive.

# Interfaces

A Switcher is a type which provides a way to handle soft switch reads and writes in a relatively generic way.

# Type aliases

ReadMapFn is a function which can execute a soft switch procedure on read.
WriteMapFn is a function which can execute a soft switch procedure on write.