Commit Graph

12 Commits

Author SHA1 Message Date
Will Angenent 4e5449f3ca Migrated to GO11 modules 2019-11-02 15:50:17 +00:00
Will Angenent ca7f2d2e04 Made golint happy 2018-05-28 18:12:08 +01:00
Will Angenent 9b34349e8a Added more comments 2018-05-28 10:43:21 +01:00
Will Angenent ce69239c1e Added comments to video.go 2018-05-27 22:58:19 +01:00
Will Angenent ade84dc657 Added glide based dependency management 2018-05-27 14:39:03 +01:00
Will Angenent 024eebae61 Renamed mos6502 to apple2 2018-05-27 11:05:00 +01:00
Will Angenent c26b44c686 Added optional click when drive head moves
Very primitive but kind of entertaining.
2018-05-19 10:55:41 +01:00
Will Angenent 94c6ecd97d Added some comments to the audio samples calculation 2018-05-15 15:45:06 +01:00
Will Angenent 55e0b6b664 Added dos33 boot test for benchmarking purposes 2018-05-14 23:23:01 +01:00
Will Angenent 825840a9b6 Removed unused var 2018-05-14 23:03:12 +01:00
Will Angenent 95eb6fb575 Shortened audio attenuation 2018-05-14 22:44:44 +01:00
Will Angenent 8284073beb Added very basic audio processing
Every frame sends a bunch of audio samples in a channel. This channel is
consumed by the audio Read() function which is called asynchronously. There's
all kinds of timing issues where the audio/video are not aligned.

Issues:
- There's a large delay between the audio being produced and it being played
- Something with the timing is wrong. The first not of lemonade stand and the
  system beep are both incorrect. Changing the CPU frequency fixes it for one
  but not for the other. This means something must be wrong in the cycle
  counting.

Also added FPS display that can be toggled with ctrl-alt-F.
2018-05-14 10:49:24 +01:00