mirror of
https://github.com/JetSetIlly/Gopher2600.git
synced 2025-04-02 11:02:17 -04:00
- generalised controller support - opened the way for different stick implementations, including scripted playback
62 lines
879 B
Go
62 lines
879 B
Go
package errors
|
|
|
|
// list of error numbers
|
|
const (
|
|
// Debugger
|
|
UserInterrupt Errno = iota
|
|
CommandError
|
|
InvalidTarget
|
|
|
|
// Symbols
|
|
SymbolsFileCannotOpen
|
|
SymbolsFileError
|
|
SymbolUnknown
|
|
|
|
// Script
|
|
ScriptFileCannotOpen
|
|
ScriptFileError
|
|
ScriptRunError
|
|
ScriptEnd
|
|
|
|
// Capture
|
|
ScriptRecordError
|
|
|
|
// 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
|
|
|
|
// GUI
|
|
UnknownGUIRequest
|
|
SDL
|
|
|
|
// Peripherals
|
|
NoControllerHardware
|
|
NoPlayerPort
|
|
)
|