Commit graph

410 commits

Author SHA1 Message Date
steve
6616bc2b88 o cpu
- 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
2020-01-05 18:58:42 +00:00
steve
0f5a258482 o patch
- implemented patching

o setup
    - added patch entry type

o gopher2600
    - added patch flag to RUN mode
2020-01-05 18:58:42 +00:00
steve
d7cdfcfe61 o errors
- 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.
2020-01-05 18:58:42 +00:00
steve
bdb4fe6a83 o audio
- added licence information for referenced source code
    - corrected type used for poly9bit
2020-01-05 18:58:42 +00:00
steve
a7d5da43cd o riot/input
- added panic error in case of unsatisfied interface

o setup
    - documenation & commentary changes
2020-01-05 18:58:42 +00:00
steve
78ef1d29be o tia
- commentary and documentation

o hardware / web2600
    - documentation
2020-01-05 18:58:42 +00:00
steve
a2c0d1216e o memory
- normalised address conversions

o debugger
    - corrected mapAddress() in memory interface
2020-01-05 18:58:42 +00:00
steve
074d07015d o riot
- commentary and documentation
    - including input and timer packages
2020-01-05 18:58:42 +00:00
steve
3e015957c2 o vcs
- simplified vcs.Reset()
    - maybe add a hard reset option in the future
2020-01-05 18:58:42 +00:00
steve
a3cbbcaf54 o riot
- moved timer to new sub-package
    - moved peripherals to new input sub-package
2020-01-05 18:58:42 +00:00
steve
708d701e94 o memory
-renamed PIA to RAM for clarity
2020-01-05 18:58:42 +00:00
steve
1c644f7d25 o tia/future
-documentation and commentary
2020-01-05 18:58:42 +00:00
steve
973f7e0852 o cpu
- commentary and documentation
2020-01-05 18:58:41 +00:00
steve
291bdb48fe o disassembly
- 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
2020-01-05 18:58:41 +00:00
steve
4fa391e518 o cpu
- 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.
2020-01-05 18:58:41 +00:00
steve
095efecd32 o hardware/memory
- moved cartridge code into new package
    - moved bus definitions into new package

o recorder
    - changed file-format
2020-01-05 18:58:41 +00:00
steve
9e71a20847 o hardware/memory
- commentary and documentation
2020-01-05 18:58:41 +00:00
steve
6c210ee6c1 o debugger
- reorganised packages within the debugger package
    - commentary and documentation

o terminal
    - renaming of console to terminal in all instances
2020-01-05 18:58:41 +00:00
steve
69f48f329d o gui
- commentary and documentation
2020-01-05 18:58:41 +00:00
steve
d764ece740 o television
- commentary and documentation
    - added DebugColorSignal type

o tia/video
    - changes due to addition of DebugColorSignal
2020-01-05 18:58:41 +00:00
steve
1a5a1fbff8 o symbols
- clarified code
    - documentation and commentary

o debugger
    - improved/corrected SYMBOLS command
2020-01-05 18:58:41 +00:00
steve
73dcd24070 o disassembly
- 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
2020-01-05 18:58:41 +00:00
steve
aba69ec69a o added overview documentation for every package
o recorder
    - fixed recorder after recent changes made to digest/video
    - fdf3f2765c59de4097a01b7fdf736ae38e4398b4
2020-01-05 18:58:41 +00:00
steve
59056fb6a8 o regression
- fully implemented audio digest regression

o modalflag
    - can now print additional help text
2020-01-05 18:58:41 +00:00
steve
7de8c5ba14 o database
- 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
2020-01-05 18:58:41 +00:00
steve
5698309e68 o database
- improved error messaging
    - sketched in support for audio and 'video & audio' digests in
	digest regression
2020-01-05 18:58:41 +00:00
steve
da4ce0b9eb o digest
- renamed screendigest package to digest and SHA1 type to
	ScreenDigest
    - added AudioDigest type
    - added Digest interface
2020-01-05 18:58:41 +00:00
steve
9c93bdc1cf o paths
- now using os.UserConfigDir() to handle OS differences
2020-01-05 18:58:41 +00:00
steve
5c8008d0b5 o debugger
- fixed spurious error message when PLAYER and MISSILE are called
	with no arguments
2020-01-05 18:58:41 +00:00
steve
f7b716148d o polycounter
- 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
2020-01-05 18:58:41 +00:00
steve
9f50f3c77e o audio
- 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
2020-01-05 18:58:40 +00:00
steve
261a379ae0 o gopher2600
- corrected error message output - superfluous asterisks
2020-01-05 18:58:40 +00:00
steve
8f7b1e08bf o gopher2600
- corrected heap allocation of modalflag instance
2020-01-05 18:58:40 +00:00
steve
680be0722f o errors
- documented
    - clarified when and why panic() should be called
    - changed formatting verbs in error messages

o targets
    - removed panic()
2020-01-05 18:58:40 +00:00
steve
704ff4d185 o test
- added Equate() function
    - reworked and renamed registers/assert package. now called
	registers/test
2020-01-05 18:58:40 +00:00
steve
15e418411d o test
- 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
2020-01-05 18:58:40 +00:00
steve
f3aa9e537a o symbols / addresses / disassembly
- 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
2020-01-05 18:58:40 +00:00
steve
fc38de1f03 o debugger / plainterminal
- EOF errors (caused by Ctrl-D in an interactive session) now
	handled the same as user interrupts
2020-01-05 18:58:40 +00:00
steve
b1930da930 o memory
- reworked data masking
    - added extensive commentary
2020-01-05 18:58:40 +00:00
steve
bc757bb7e7 o easyterm
- corrected ASCII code for backspace character
2020-01-05 18:58:40 +00:00
steve
e8e58abb07 o limiter
- removed overhead for fps capping

o gopher2600
    - renamed "time" flag to "duration" for PERFORMANCE mode
2020-01-05 18:58:40 +00:00
steve
02c46c8ae9 o renamed magicflags to modalflag
- simplified code significantly

o gopher2600
    - restructured to reflect changes to modalflag
2020-01-05 18:58:40 +00:00
steve
cbf81c6ce9 o sdlplay
- fps capping can now be turned on/off on command line for PLAY and
	PERFORMANCE modes
2020-01-05 18:58:40 +00:00
steve
ca248c6770 o tia video
- some optimisation of pixel() code in player sprites
    - noticeable FPS improvement

o late fix (1/12/2019)
    - removed collision detection changes
2020-01-05 18:58:40 +00:00
steve
aa447e5af6 o vcs
- reworked commentary surrounding cycle callbacks

o tia
    - servicing of memory writes to TIA memory is now more
	discriminatory
2020-01-05 18:58:40 +00:00
steve
3aa859a686 o replaced all instance of new(obj) with &new{} 2020-01-05 18:58:40 +00:00
steve
0516cb3933 o reworked memory sub-system, including shims in debugger and
disassembly packages

o removed last remnants of MachineInfo() idea
2020-01-05 18:58:40 +00:00
steve
5a58ef3b08 o web2600
- removed need for goexec from Makfile
    - replaced with the simplest web server
2020-01-05 18:58:40 +00:00
steve
af73159346 o cpu
- simplified type casting
    - commentary
    - reworked instruction generation
2020-01-05 18:58:40 +00:00
steve
5ab3b1a169 o debugger
- reworked debugger's input loop
    - better comments explaining the process
2020-01-05 18:58:40 +00:00