Commit Graph

3174 Commits

Author SHA1 Message Date
Christian Speckner 0a8b1debfc Fix PAL autodetection:
* Be more tolerant when waiting for vsync during TV mode autodetect.
  * Count PAL and NTSC frames during autodetect, use the mode with
    more statistics.
2017-01-13 09:20:56 +01:00
Stephen Anthony 2ccb559138 Finalized update of Display.YStart in ROM properties. 2017-01-12 20:31:36 -03:30
Stephen Anthony 3cccb8bc57 Partial update of ROM properties for Display.YStart removal. 2017-01-12 14:23:32 -03:30
Christian Speckner aba48e85cf Limit the number of lines FrameManager waits for frame with large scanlines, refactoring. 2017-01-10 23:59:36 +01:00
Christian Speckner a6725f2436 Enable manual TV mode selection:
* Make mode autodetection in FrameManager conditional, disable by
      default
    * Add glue for externally setting up TV mode
    * Properly setup TIA TV mode in Console
    * Refactoring
2017-01-10 01:22:25 +01:00
Christian Speckner ef000d2ae5 Support manual height, remove vertical centering logic (no easy way to get this to work with ystart autodetect). 2017-01-10 00:12:25 +01:00
Christian Speckner bd46bb4174 Implement RSYNC. 2017-01-09 00:10:55 +01:00
Christian Speckner df1b2a99ce Fix invalid access in FrameManager. 2017-01-09 00:10:26 +01:00
Christian Speckner 7b733d6126 Start removing ystart from props where it isn't required. 2017-01-08 00:57:27 +01:00
Christian Speckner 452f083fc1 Support fixed ystart, change ystart default to 0 = autodetect. 2017-01-08 00:31:35 +01:00
Christian Speckner 602b7b9d0d Improve NUSIZ during player draw counter decode. 2017-01-06 00:52:25 +01:00
Christian Speckner 14ebb9772a Fix RESM during draw counter decode. 2017-01-05 21:07:41 +01:00
Christian Speckner eb1fe88176 Fix player decode logic reset during hblank. 2017-01-05 14:43:26 +01:00
Christian Speckner 6a2259ef2f Avoid possible issues during bogus vsync writes. 2017-01-02 00:10:06 +01:00
Christian Speckner a5f1a8624f Fix what looks like an inconsistency in the calculation of scanline count. 2017-01-01 22:34:28 +01:00
Christian Speckner a83e7eb26d Fix garbage for ROMs with varying visible frame heights:
* Keep track of max frame height
  * Blank out any missing scanlines
  * Refactoring
2017-01-01 22:28:13 +01:00
Stephen Anthony 5f5ea1f424 Oops, some documentation deletions were somehow reverted. 2016-12-31 22:04:27 -03:30
Stephen Anthony 8815a6f027 Updated all references to new stella-emu webpage. 2016-12-31 17:19:29 -03:30
Stephen Anthony abb7097cb7 Removed $Id$ stuff from codebase, since it's Subversion-specific.
Whitespace cleanup and update copyright to 2017.
2016-12-29 20:30:30 -03:30
Stephen Anthony 26f4aa91a6 Updated libpng to latest release. 2016-12-29 17:24:45 -03:30
Christian Speckner 8d805eb4f3 Adapt README.md . 2016-12-28 18:24:01 +01:00
Christian Speckner cbb3c46461 Tentatively adjust RESMPx for 32 pixel players by one pixel. 2016-12-21 22:39:51 +01:00
Christian Speckner 0d37bbe132 Movement from starfield effect does only affect objects less four pixels wide. 2016-12-21 21:54:40 +01:00
Stephen Anthony 44acd10973 Updated ROM properties:
- Star Castle Arcade (Thomas J.)
 - Meltdown and Mega Bitmap Demo (fully working for the first time)
2016-12-19 18:11:57 -03:30
Stephen Anthony a6bc247852 WSYNC should only work when the last access was a read. 2016-12-19 15:56:26 -03:30
Stephen Anthony 07287fe761 Fixed trap'm' debugger commands when setting TIA addresses. 2016-12-19 14:26:35 -03:30
Christian Speckner f66a61f3b7 Tweak immediate ball rendering after RESBL -> fixes Keystone Kappers 2016-12-19 01:05:42 +01:00
Christian Speckner 17c0007c51 Bump version to 5.0.0-pre3. 2016-12-18 23:35:45 +01:00
Christian Speckner 7d7c0f6c9e Refine and unify late RESx during hblank, comments. 2016-12-18 22:47:24 +01:00
Christian Speckner f4932b8bf5 Fix INPT5. 2016-12-18 21:58:33 +01:00
Christian Speckner b700149cde Add a 1 cycle delay to ENABL (including delayed mode) -> fixes Super Challenge Football. 2016-12-18 14:39:24 +01:00
Stephen Anthony afcaf8581f Make the compiler happy. 2016-12-17 21:21:09 -03:30
Christian Speckner 7b7f8767aa Emulate final movement counter reset -> fixes Masters of the Universe. 2016-12-18 00:48:17 +01:00
Christian Speckner 39ee43ee66 Fix wide player positioning, adjust NUSIZx during decode to better match real hardware. 2016-12-17 21:46:52 +01:00
Stephen Anthony e618a6c72c Fixed display of FPS in the TIA message window. This also fixes sound
issues, since the correct framerate is being communicated to the
emulation core.
2016-12-17 13:06:56 -03:30
Christian Speckner d77d2f2e61 Try to implement side effects of nusiz after draw dispatch -> fixes meltdown. 2016-12-17 15:17:40 +01:00
Christian Speckner 48d90768f3 Fix wide player dispatch after resp -> fixes missile command. 2016-12-16 23:40:26 +01:00
Christian Speckner a982a334a8 Fix RESMP for 8 pixel players. Fixes frostbite ice pans. 2016-12-15 01:01:20 +01:00
Christian Speckner 65008135b8 Fix CompuMate TV mode detect
* Make sure that compumate runs with the proper controllers attached
    * Make sure that CompuMate::myKeyTable is always valid
    * Whitespace fix
2016-12-14 21:02:52 +01:00
Christian Speckner e742686f90 Bump to 5.0.0-pre2 . 2016-12-14 00:40:36 +01:00
Christian Speckner b4eb78b127 Yet another adjustment to positionining during extended hblank. 2016-12-14 00:40:36 +01:00
Stephen Anthony 760d889478 Fixed crash in auto-detecting Compumate ROM.
The PAL version is still mistakenly detected as NTSC, though.
2016-12-13 20:03:12 -03:30
Christian Speckner 8bc9c8549a Update README.md 2016-12-14 00:28:57 +01:00
Christian Speckner 839ba71f20 Effectively fix the mystery positioning bug. 2016-12-14 00:03:17 +01:00
Christian Speckner 12fe183890 Simplify FrameManager state machine, smarter ystart / vblank detection. 2016-12-13 22:28:20 +01:00
Christian Speckner f0828c597d Checkpoint. 2016-12-13 22:28:20 +01:00
Stephen Anthony f982f0257f Enabled viewing TIA collision and playfield info in the debugger. 2016-12-13 12:03:54 -03:30
Stephen Anthony 7b0a82f04a Enabled some more TIA stuff in the debugger. 2016-12-13 10:57:15 -03:30
Christian Speckner b28dfaa31f Add call to resetCycles. 2016-12-12 22:51:42 +01:00
Christian Speckner a35f378d87 Improve TV mode detection logic:
* Skip the first view frames
    * Change the algorithm to be more eager to accept mode changes until the
      mode has settled for at least five frames
    * If in doubt, assign odd frames to NTSC
2016-12-12 22:25:47 +01:00