- result sub-package renamed to execution
- renamed Instruction type therein to Instruction
o disassembly
- reworked structure of pacakge
- better grep. scope of grep can now be specified
- display sub-package added
- disassemblies now store instance of display.DisasmInstruction instead of a formatted string
o debugger
- ammende GREP to support new disassembly features
- removed ErrorID, using the error message as the ID
- works just as well and simplifies maintenance
- the messages should be moved to the relevant packages OR to a
locale package. not sure which yet.
- added call to cartridge.Listen() in disassembly package's memory
implementation
- this fixes flow disassembly for tigervision cartridges
o debugger
- prompt now reports if PC is outside cartridge area
- set LastResult.Final flag to true on startup
- fixes a bug seen when building the debugger prompt for the very
first step. this is the best way of fixing it.
- FromMemory() now creates disassembly instance rather than being a
function attached to the type
- comments and documentation
o debugger
- fixed usage of disassembly.FromMemory()
- the reason we went with the old method for FromMemory() was to aid
in how symbol tables were created and pointed to from debug-memory.
however it was dumb and confusing. problem is now solved correctly
- improved documentation
- some tidying up
o regression
- improved documentation
o digest
- Digest interface now requires Hash() rather than String()
- warning: use of String() may now break things
- reworked polycounter to make it easier to generate polycounters of
different bit lengths
o tia/audio
- commented code
o wavwriter
- now saves correctly with correct samplerate
- implemented audio
- using Ron Fries' method as the basis
- removed sample playback - performance of Fries' method is good
enough that we'll never need it again
- sdl audio routines using QueueAudio() - maybe better if we use
callbacks?
- sketched wavwriter AudioMixer - not usable yet
- added Writer type. used for comparing buffered output with
example strings
- used by modalflag and symbols test package, although it may be
used by other packages in the future
- added ExpectedSuccess() and ExpectedFailure() functions
- reworked addresses package so that canonical names map is visible
externally
- added commentary to explain that the map is not to be used in the
emulation (we prefer the sparse array)
- this fixes the problem in the symbols package when adding the
canonical symbols the ROM's symbols information
- I've not checked but I suspect these changes also fixes a problem
in disassembly output that I've noticed out of the corner of my
eye
- this should have been caught in testing so we've added a test to
the symbols package