Commit Graph

6 Commits

Author SHA1 Message Date
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