Gopher2600/errors/categories.go
steve 8ddaec1233 o debugger
- scripts now pass through input loop, allowing commands that
    control the emulation (like RUN or STEP) to be effective
    - reworked ONSTEP and ONHALT commands
    - added STICK0 and STICK1 commands

o memory / pia
    - improved RAM debugging output
2020-01-05 18:58:32 +00:00

63 lines
898 B
Go

package errors
// list of error numbers
const (
// Debugger
InputEmpty Errno = iota
UserInterrupt
CommandError
InvalidTarget
CannotRecordState
// Symbols
SymbolsFileCannotOpen
SymbolsFileError
SymbolUnknown
// Script
ScriptFileCannotOpen
ScriptFileError
ScriptRunError
ScriptEnd
// Regression
RegressionEntryExists
RegressionEntryCollision
RegressionEntryDoesNotExist
RegressionEntryFail
// CPU
UnimplementedInstruction
InvalidOpcode
ProgramCounterCycled
InvalidOperationMidInstruction
// Memory
UnservicedChipWrite
UnknownRegisterName
UnreadableAddress
UnwritableAddress
UnrecognisedAddress
UnPokeableAddress
// Cartridges
CartridgeFileError
CartridgeUnsupported
CartridgeMissing
CartridgeNoSuchBank
// TV
UnknownTVRequest
ImageTV
DigestTV
// Controllers
StickDisconnected
// GUI
UnknownGUIRequest
SDL
// Peripherals
NoControllersFound
)