- 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
- reworked print routines so that they are more easily replacable
- added print profiles, to allow formatting of output
o ui
- implemented basic color terminal
o tia
- reworked so that tia sub-components are accessible from outside of
tia package - useful for the debugger
- implemented video stepping
- STEP command now has optional argument CPU or VIDEO
- subsequent calls to STEP (or implied STEP) will default to previous
selection of STEP CPU or STEP VIDEO
o changed vcs.go and gopher.go to reflect changes required by video
stepping implementation
o debugger
- ONBREAK now called ONHALT
- ONHALT command sequence can now be specified
- first version - simply to get something onto the screen
- embeds headlessTV
o HeadlessTV
- implemented TVState type for frameNum, scanline and horizPos fields
- TVState satisfies BreakTarger interface in the debugger
o Breakpoints
- altered breakpoint to account for changes made for TVState
o Debugger
- implemented SHOW and HIDE
o clarified commentary
- implemented video in part
- implemented sprite framework - ball sprite completed
- reorganised existing tia code in repsonse to new code
o debugger
- tweaked existing commands and how they work
- implemented headless TV
o debugger
- VERBOSE is now called HALT - as in "auto command halt"
- no way of setting what command(s) to run on halt just yet
- a real verbose command that flips between verbose and terse printing
of machine state
o polycounter
- separated Reset() and SetResetPattern()
- filled in more of the TIA implementation
- RSYNC works correctly
- polycounter and other components altered as required
o television
- sketched in television interface
- implemented dummy television
o debugger
- syntax normalisation -- allowing variations in how we specify hex numbers
- added VERBOSE command
o renamed mflib package to assert
- Assert function renamed to CheckValueVCS
- added MEMMAP command
o tidy up
- changed pointer recievers to value receivers when the method does
not mutate the type instance
- I'm not sure about this but I like if for now - this way it is
clearer, to me at least, which methods mutate and which don't
o memory
- small reorganisation of memory package in preparation for
implementation of the video chips
o renamed project to "gopher2600"
- replaced both register implementations with just one that uses
32 bit integers as the underlying implementation. very smart and
very quick by comparison to the bit array implementation.
- registers must now be labelled, although the label can be the empty string
- this means that we specify the name for the register once, at
creation time, and not everywhere we print out information
o debugger
- breakpoints now takes advantage of register labels
- removed go routine implementation of cycle stepping; far too slow
- replaced with a callback implementation. I'm thinking that it might
not be as flexible but that in the long run that it doesn't matter.
besides, the speed difference is definitely worth it.
- reorganised register implementation
- existing implementation now call rbits
- added an implementation called r16bits, using uint16 intead of a
bit array
- only implemented Load(), Add() and the To*() methods
- just enough to speed up programme counter operations
- now sends a reference to InstructionResult over the result channel,
rather than a copy
o cpu
- adjusted register declarations to match changes in registers
implementation
o mflib
- consolidated assert() function into one package
o debugger
- sketched in debugger
- we now start one goroutine at cpu intialisaton and not one for each
instruction
- caching of all 8 bit and 16 bit patterns so we don't have to
generate them every time
- improved FPS between 70% to 100%
- added basic input loop
- primitive but effective FPS test
- added cpu profiler generator
o vcs
- cartridge attachment working properly
- now read reset address when machine is reset
o cpu
- fixed branching
- backward jumps weren't working
- cycle count sometimes wrong
- fixed cycle counts for pre-index and post-index addressing
o
- refinements
- added white-box testing
o cpu
- moved cpu definitions into its own package
- no longer requires csv file at run time
- csv parser moved into a code generator, embedding the data into
the code
- needs refinement