Commit graph

7 commits

Author SHA1 Message Date
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
4bf5569d92 o reworked and removed some panic() calls 2020-01-05 18:58:36 +00:00
steve
9d5449a616 o tia rework
- implemented TIAClock
    - simplified polycounter
    - reworked playfield

o Basic TV
    - corrected timings
2020-01-05 18:58:35 +00:00
steve
6272b90892 o debugger/script
- renamed Recorder to Scribe
    - any references to script "recording" has been altered

o errors
    - some effort expended tidying up error messages display and
    construction
    - commandline package now uses errors package

o removed panics that would be better served with errors

o removed extraneous calls to fmt.Println and fmt.Printf
2020-01-05 18:58:33 +00:00
steve
372743b567 o video
- motion clock now works correctly
    - sprite ticks now called correctly on motion clock
    - vertical delay is now
    - parallel future write buffers
	- one for writes that tick off of the color clock
	- and another one off of the motion clock
	- additionally, each future instance has a ring buffer of length 3
	- 3 seems sufficiently long
    - ball sprite fixed (satisfies stress tests)
    - missile sprite fixed (satisfies stress tests)
    - player sprite fixed (satisfies stress tests)
    - horizontal position of sprite now reflected correctly when HMOVED
    - tidied up MachineInfo() and MachineInfoTerse() of all video elements

o television
    - mask now only drawn if top and bottom are correct
    - this fixes those roms that do not call vsync correctly
    - still not perfect but at least we can now see the screen
    - improved verbose machine info output

o cpu
    - instructions with a WRITE side-effect tweaked

o gopher2600
    - tv not displayed until it can be reasonably assured there will be
    no errors
2020-01-05 18:58:30 +00:00
steve
1a3ff0189f o unfinished changes 2020-01-05 18:58:30 +00:00
steve
cc9d079a4e o tia/video
UNFINISHED

	more tweaking of video sprites - trying to normalise everything
	so there's no special conditions

	- removed ColorClock type - color-clock is now just an instance
	of a polycounter within video type
	- implemented motion clock - this seems to fix a lot of
	positioning problems
2020-01-05 18:58:28 +00:00