mirror of
https://github.com/JetSetIlly/Gopher2600.git
synced 2025-04-02 11:02:17 -04:00
- tidy up of command line parsing o regression testing - added regression package - implemented simple database to facilitate regression tests - uses DigestTV
48 lines
731 B
Go
48 lines
731 B
Go
package errors
|
|
|
|
// list of error numbers
|
|
const (
|
|
// Debugger
|
|
InputEmpty Errno = iota
|
|
CommandError
|
|
SymbolsFileCannotOpen
|
|
SymbolsFileError
|
|
SymbolUnknown
|
|
ScriptFileCannotOpen
|
|
ScriptFileError
|
|
InvalidTarget
|
|
|
|
// Regression
|
|
RegressionEntryExists
|
|
RegressionEntryCollision
|
|
RegressionEntryDoesNotExist
|
|
RegressionEntryFail
|
|
|
|
// CPU
|
|
UnimplementedInstruction
|
|
NullInstruction
|
|
ProgramCounterCycled
|
|
InvalidOperationMidInstruction
|
|
|
|
// Memory
|
|
UnservicedChipWrite
|
|
UnknownRegisterName
|
|
UnreadableAddress
|
|
UnwritableAddress
|
|
UnrecognisedAddress
|
|
UnPokeableAddress
|
|
|
|
// Cartridges
|
|
CartridgeFileError
|
|
CartridgeUnsupported
|
|
CartridgeMissing
|
|
|
|
// TV
|
|
UnknownTVRequest
|
|
SDLTV
|
|
ImageTV
|
|
DigestTV
|
|
|
|
// Peripherals
|
|
NoControllersFound
|
|
)
|