6 Commits

Author SHA1 Message Date
Will Angenent
699b4923bd Added monochrome hires mode 2018-05-15 21:56:16 +01:00
Will Angenent
0f17ecfd21 Moved some screen constants to a better place 2018-05-14 22:49:14 +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
Will Angenent
7ae4159424 Added lores mode 2018-05-12 18:55:36 +01:00
Will Angenent
c2a9e819b1 Made state global, to simplify later refactors 2018-05-09 18:02:57 +01:00
Will Angenent
ef0000b67b Renamed vid and moved some more vid stuff to it 2018-05-09 17:34:34 +01:00