Commit Graph

18 Commits

Author SHA1 Message Date
Will Angenent 85417562c1 Added colored hires mode and monochrome keyboard toggle 2019-11-25 21:15:14 +00:00
Will Angenent 4e5449f3ca Migrated to GO11 modules 2019-11-02 15:50:17 +00:00
Will Angenent c49a14d9ca Replaced charmap sheet png loading with hardcoded characters ...
... the main reason for this was so that the character map is
a static asset.
2018-05-29 19:51:19 +01:00
Will Angenent ca7f2d2e04 Made golint happy 2018-05-28 18:12:08 +01:00
Will Angenent 7caa6647e7 Merged some common code 2018-05-27 23:07:40 +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 6d75050954 Added source of the charmap 2018-05-26 23:31:25 +01:00
Will Angenent 3233cfc244 Added page switching in text, gr and hgr 2018-05-26 22:27:29 +01:00
Will Angenent 3dd01cd5f2 Removed comment 2018-05-26 21:35:11 +01:00
Will Angenent f1dff51564 Added bank switched upper memory 2018-05-20 14:58:12 +01:00
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