mirror of
https://github.com/JetSetIlly/Gopher2600.git
synced 2025-04-02 11:02:17 -04:00
- RAM command now has CART option. displays any additional RAM the cartridge may have o cartridge - implemented RAM() command. returns copy of RAM array - save/restore banks functions are now save/restore state and deal with cartridge RAM in addition to bank information o debugger/memory - better error messages for peek and poke
85 lines
1.1 KiB
Go
85 lines
1.1 KiB
Go
package errors
|
|
|
|
// list of error numbers
|
|
const (
|
|
FatalError Errno = iota
|
|
|
|
// sentinal
|
|
UserInterrupt
|
|
UserSuspend
|
|
ScriptEnd
|
|
PowerOff
|
|
PeriphUnplugged
|
|
TVOutOfSpec
|
|
|
|
// program modes
|
|
PlayError
|
|
DebuggerError
|
|
DisasmError
|
|
FPSError
|
|
|
|
// debugger
|
|
ParserError
|
|
ValidationError
|
|
InvalidTarget
|
|
CommandError
|
|
TerminalError
|
|
|
|
// script
|
|
ScriptScribeError
|
|
ScriptFileUnavailable
|
|
ScriptFileError
|
|
ScriptRunError
|
|
|
|
// recorder
|
|
RecordingError
|
|
PlaybackError
|
|
PlaybackHashError
|
|
|
|
// regression
|
|
RegressionDBError
|
|
RegressionSetupError
|
|
|
|
// symbols
|
|
SymbolsFileUnavailable
|
|
SymbolsFileError
|
|
SymbolUnknown
|
|
|
|
// vcs
|
|
VCSError
|
|
|
|
// cpu
|
|
UnimplementedInstruction
|
|
InvalidOpcode
|
|
InvalidResult
|
|
ProgramCounterCycled
|
|
InvalidOperationMidInstruction
|
|
|
|
// memory
|
|
MemoryError
|
|
UnreadableAddress
|
|
UnwritableAddress
|
|
UnpokeableAddress
|
|
UnpeekableAddress
|
|
UnrecognisedAddress
|
|
|
|
// cartridges
|
|
CartridgeFileError
|
|
CartridgeFileUnavailable
|
|
CartridgeError
|
|
CartridgeEjected
|
|
|
|
// peripherals
|
|
PeriphHardwareUnavailable
|
|
UnknownPeriphEvent
|
|
|
|
// tv
|
|
UnknownTVRequest
|
|
StellaTelevision
|
|
ImageTV
|
|
DigestTV
|
|
|
|
// gui
|
|
UnknownGUIRequest
|
|
SDL
|
|
)
|