mirror of
https://github.com/JetSetIlly/Gopher2600.git
synced 2025-04-02 11:02:17 -04:00
- 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
63 lines
898 B
Go
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
|
|
)
|