- more reliable ctrl-c handling (increased size of signal
channel)
o player sprite
- fixed drawing of double/quadruple size sprites so that HMOVE
works correctly for them
- added universal symbols file
- chip memory definitions no longer include symbol definitions.
they use the new universal symbols file
o cpu
- moved instruction_result from cpu package to result package
o disassembly
- style parameters moved to new result package
o memory / debugger
- improved PEEK command implementation
- can now use symbolic addresses
- performance improvement: color definitions are now a plain
array not a map
- introduced SignalAttributes type. more convenient
o video
- tidied up collisions code
- removed chipWriteRegisters map. ChipWrite() now requires a
uint16 value, given by the "chip write registers" enumerations.
significant speed increase due to no longer having to access a
map multiple times every video cycle
- added ONSTEP command. similar to ONHALT but run every step
- implemented LAST command. debugger no longer runs the result
of the last instruction unless it is part of the ONSTEP
command sequence
- fixed printing of HEX. step mode video no longer crashes if
print style includes hex.
o video
- sketched in collisions support
o cpu
- BIT instruction fixed (zero flag is result of AND with
accumulator but sign and overflow flags are set with
reference to the value from memory)
- added SYMBOL command. searches for address label, returns
address
- fixed disassembly output for ROMs without a symbol file
- improved disassembly a little bit. now attempts to disassemble
entire of cartridge memory and doesn't bail out of loop
at first sign of an unimplemented instruction. cpu
package now returns a ProgramCounterCycled error when
program counter reads past end of memory
o video
- tweaked horizontal movement
- fixed player vertical delay (tested with Pitfall ROM)
- fixed ball enable detection (0x02 not 0x20. doh!)
o cpu
- implemented LAX command
- renamed 3 byte NOP to DOP
- added program counter information to unimplemented instruction
error
o gopher 2600
- error message now returned and displayed in run mode
o
- symbol loading
- printing of disassembly now uses symbols (if available)
- run mode disasm now works as expected
o errors
- added GopherError - started to replace calls to fmt.Errorf()
with instantiations of GopherError
o debugger
- prompt now shows (brief) disassembly of next instruction to be
executed
- fully implemented player sprite
o playfield
- fixed reflection indexing
o debugger
- tweaked command parsing
o corrected CPU instruction definitions
- 0x19 was missing (mistakenly specified to be 0x10)
- ball, missile and player sprite types added - tidy up of
sprite class
- properties moved from video type to the correct sprite type
- delayCounter now renamed and reworked as future. it was felt
that needlessly conflicted with the VCS concept of vertical
delay
- completed horizontal movement for all sprite types
o correction of assorted linting errors
- fixed bug caused by RMW version of instructions working on the
accumulator rather than the memory value via a temporary
register
o debugger / traps
- fixed segfault caused by attempting to set a trap for illegal target
o video / playfield
- fixed bug when writing value to playfield
- clarified names and comments
- fixed write delay for playfield registers
- debugger can be launched without specifying a cartridge
- tidied up commands package
- sketched in filename tab-completion
- corrected tab-completion comments
- panic when list of options is empty
o debugger
- debugger now initialises with plain terminal
- other terminals are still specified on debugger.Start()
- this fixes a bug caused when trying to print error messages
from a startup script
- conversion of user input to upper cause is now more selective
- SCRIPT command added
- implemented cursor navigation
- implemented history
- ansi source file moved into it's own package
- created easyterm - wraps termios with additional functions
- tidied up ansi module
o breakpoints / traps
- corrected comments
- fixed multiple traps
o lint check
- tidy up in response to lint check
o reverted String() to use MachineInfo() rather than MachineInfoTerse()
- breakpoint checker will now not break on conditions already broken
upon - it will only break when conditions of current break targets
actually change
- cartridge file now required on command line when launching
*** versions prior to this used literal strings to specify the
cartridge, which may or may not exist if previous versions are checked
out of the repository
- introduced the concept of pausing for the television; meaning that we can
render the screen differently depending on whether emulation is paused
- tv will now show previous frame "underneath" the current frame
when paused - useful to be able to see what frame will probably look
like once frame has been rendered
- video stepping doesn't callback to debugger when CPU isn't ready (like cpu
stepping)
- RIOT now only runs once per CPU cycle, instead of once per video cycle
timer now runs as expected
o tia/video
- tidied up sprite types for easier debugging/thinking
o television
- MachineInfo* now reports on whether tv is performing out-of-spec
o sdl tv
- added overlays
- cursor
- screen boundary
- pixel guide
o debugger
- replaced strings.Split(s, " ") and a small amount of post-processing,
with a single call to strings.Fields() - I've just discovered it.
- added STEPMODE command
- STEPMODE VIDEO will now print video step result (what it can of instruction
result)
- implemented script loading and running - no SCRIPT command just yet though
this is intended for initialisation for the time being
- added VERBOSITY and DEBUGGERSTATE commands
o cpu
- better, more complete, printing for instruction result
o sprite/drawSig
- counting drawSig the wrong way, causing pixels in sprites to be
flipped horizontally
- improved ansi color
- moved ui package to debugger/colorterm
o debugger
- replaced SHOW and HIDE commands with DISPLAY command
- DISPLAY command takes optional argument OFF
- replaced CLEAR BREAKS command with BREAK CLEAR
o sprites
- improved MachineInfo() messages
- ball sprite now ticks/pixels correctly
o debugger/breakpoints
- tidied up breakpoints implementation