Commit Graph

3272 Commits

Author SHA1 Message Date
sa666666 7c6821dfcb Merge pull request #110 from SpiceWare/master
Preliminary support for BUS and CDF
2017-03-24 16:09:59 -02:30
Darrell Spice, Jr 6227186feb Preliminary support for BUS and CDF
Preliminary support for new Harmony/Melody drivers BUS and CDF.  Work remains for the 3-Voice Audio, Digital Sample playback, and some additional revisions to the debugger widgets.
2017-03-23 21:25:33 -05:00
Stephen Anthony db3ce957a5 Implemented console timing changes in a more general way.
There is now a virtual consoleChanged() method called on
a device when the console changes.  If the device is
interested in this notification, it simply has to implement
the method.

Updated DPC+ scheme to implement this method, so that the
Thumbulator object is automatically told whenever the console
changes, and can adjust its internal timing accordingly.
2017-03-22 15:46:48 -02:30
sa666666 ee1fdfa565 Merge pull request #109 from SpiceWare/master
ARM Timer 1 support
2017-03-21 10:07:22 -02:30
Unknown 97a229dd92 ARM Timer 1 support
Implemented ARM Timer 1 support in Thumbulator.  Revised DPC+ to use it.
2017-03-20 21:55:27 -05:00
Christian Speckner 25261fff78 Fix a small ommission. 2017-03-20 00:40:42 +01:00
Christian Speckner 7325cd8034 Fully match missile starfield to hardware. 2017-03-20 00:31:29 +01:00
Christian Speckner 3b45bbd238 Fix RIOT load / save. 2017-03-19 22:39:54 +01:00
Christian Speckner 317169c59a Properly emulate interrupt flag behavior of INITM read on wraparound. 2017-03-19 22:26:00 +01:00
Stephen Anthony 471db61254 Updated OSX project file for class name change. 2017-03-18 21:44:59 -02:30
Stephen Anthony 2a9372b7c6 Updated VS project file for class name change. 2017-03-18 20:36:55 -02:30
Stephen Anthony a07a607c76 Console timing info is now available through Console::timing()
and TIA::consoleTiming().  This allows to query the TIA about
specific version of the console being emulated, which can be
distinct from the frame layout used by the TIA itself.
2017-03-18 19:50:48 -02:30
Christian Speckner 41e2f77333 Adapt missile starfield to match my own hardware. 2017-03-18 14:15:11 +01:00
Stephen Anthony 0c7b9aa079 Fixed comment error: Superchip is only 128 bytes RAM (but 256 bytes
of address space taken).
2017-03-16 20:59:52 -02:30
Stephen Anthony 0e712b39e1 Optimized Cart::isProbablySC. Perhaps a small change, but more
efficiency never hurts.
2017-03-16 20:41:37 -02:30
Stephen Anthony 02a399a8aa Fixed Superchip autodetect for Dig Dug as discussed on AtariAge. 2017-03-16 18:46:43 -02:30
Stephen Anthony 3950f80a30 Refactoring, convert TvMode to FrameLayout as per AtariAge thread. 2017-03-15 20:57:03 -02:30
Stephen Anthony 59a6f8f9d1 Made formatting for new code in M6532 class match what was already there
(just an OCD thing).  Updated changelog for new RIOT changes.
2017-03-14 19:32:33 -02:30
Christian Speckner 05b10bec6b Rework RIOT timer to match real hardware behavior. 2017-03-14 01:27:11 +01:00
Stephen Anthony 7cbec18f5a Updated ROM properties; remove some default values, add missing entries. 2017-03-12 21:08:39 -02:30
Stephen Anthony 68f9831061 Make sure that every frame draws all scanlines in the height of the window.
If the ROM doesn't reach that far, blank out all further scanlines.

Optimize FrameManager::height() method.
2017-03-11 16:53:04 -03:30
Christian Speckner 4a71e48a07 NUSIZ player improvements.
Match NUSIZ during draw / decode and hblank to hardware behavior.
2017-03-10 09:18:14 +01:00
Stephen Anthony 2057b1421c Set ROM launcher framerate to 30fps. There's no need for it to be
a full 60fps, and it reduces CPU usage up to 30% on some systems.
2017-03-08 18:13:01 -03:30
Christian Speckner e02166092d Improve player NUSIZ during hblank. 2017-03-08 00:01:41 +01:00
Stephen Anthony 12526783f8 Updated changelog for latest bugfix. 2017-03-06 19:12:10 -03:30
Stephen Anthony a2c98e2409 Fixed 'read past end of array' crash. 2017-03-06 18:11:10 -03:30
Stephen Anthony acd5b3c813 Final set of ystart adjustments (hopefully), taking care of corner cases
for weird ROMs, etc.
2017-03-06 13:32:28 -03:30
Christian Speckner d429b79d78 Improve ystart detection:
* Fix transition locked -> floating
    * Lock detected value after 30 stable frames
2017-03-06 00:28:31 +01:00
Stephen Anthony e18fe2005d Add DK VCS to properties database. 2017-03-05 15:20:56 -03:30
Christian Speckner c7da6c5b26 New frames always start on line 0. 2017-03-05 14:41:28 +01:00
Stephen Anthony ebe50a1eca Updated version to pre5. 2017-03-04 16:09:38 -03:30
Stephen Anthony bb18b3e777 Updated properties to RomHunter v12. 2017-03-04 16:06:53 -03:30
Stephen Anthony 185119eed9 When manually changing ystart from auto-detect mode, note when the
manually selected ystart line matches the auto-detected one, and reset
it in the ROM properties.  This makes sure that auto-detected values
are actually stored as '0', and not the auto-detected value.

Fixed ystart for 'Swoops' ROM.
2017-03-04 14:41:05 -03:30
Stephen Anthony 37774e08b8 Re-sync load() and save() methods in TIA class. 2017-03-03 22:04:30 -03:30
Stephen Anthony b5b058c615 Made VblankManager::ystart() always return a valid ystart, either
autocalculated or fixed.  This fixes selecting a scanline with the
mouse in TIA output widget in the debugger.

Made various methods inline for issue #7.
2017-03-03 21:57:36 -03:30
Stephen Anthony ff3f4f1a39 Updated changelog. 2017-03-01 10:27:38 -03:30
Stephen Anthony 517ac713ad Fixed approx. 100 ROMs that no longer need explicit ystart data
in the ROM properties file (due to fix to ystart autodetection).
2017-02-28 19:55:32 -03:30
Stephen Anthony 2a2797cbaf Fixed 'mystery constant' in M6532 in two other places. 2017-02-26 20:29:18 -03:30
Christian Speckner 10245ea102 Tentatively remove the legacy kludge in RIOT timer handling. 2017-02-27 00:25:06 +01:00
Christian Speckner 8f93704559 Frame manager fixes
* Don't wait until next line before starting frame after vblank is
      deactivated -> fixes white line on top of time pilot
    * Make ystart match stella 4 conventions
2017-02-27 00:15:03 +01:00
Stephen Anthony bf014c8e70 Updated changelog, since it's getting to the point where I'm forgetting
what has been changed.  Left a TODO for the TIA stuff, since that will
be an entire changelog in itself :)
2017-02-24 20:39:34 -03:30
Stephen Anthony 5114a8e88e CX22/CX80 trakball controller has half the resolution of an
Atari/Amiga mouse, so do an extra divide by 2 for the counters.
2017-02-24 18:38:26 -03:30
Christian Speckner 38b452e1a0 Make sure that the resistance read from paddle controllers is always in the physical range. 2017-02-24 08:48:52 +01:00
Christian Speckner 41ec98c6c1 Fix small RSYNC regression. 2017-02-22 01:27:16 +01:00
Christian Speckner b173da05a0 Init S to 0xFD on reset. 2017-02-21 22:21:53 +01:00
Stephen Anthony 6846aadadf Fixed 'Maze Craze' NTSC ROMs to not use format autodetection. 2017-02-20 21:18:28 -03:30
Stephen Anthony 0d86649b47 Oops, used incorrect names in inptx serializable name() methods. 2017-02-20 21:10:24 -03:30
Stephen Anthony 8263eb1e7c Implemented Serializable for TIA inptx registers (LatchedInput
and PaddleReader).  For now, PaddleReader is stubbed out, since
it needs to save double values and Serializer can't do that yet.

Fixed bug in Ball, Background and Playfield serialization; they
were correctly saving data, but returning false (indicating failure).
2017-02-20 21:05:54 -03:30
Stephen Anthony 30e1996d5b Fixed reading of VBLANK register in debugger. 2017-02-20 20:42:33 -03:30
Stephen Anthony c99cb33cda The TIA image in the debugger is now correctly rendered in greyscale
below the current electron beam position.

Fix long-standing bug whereby entering the debugger for the first time
and tracing/scanline advancing, the TIA image was blanked, and didn't
work correctly until you exited and re-entered the debugger.

Minor refactoring optimizations, and renaming of methods.
2017-02-20 19:51:59 -03:30