Commit Graph

3101 Commits

Author SHA1 Message Date
Stephen Anthony 0de35eab7e For some reason, the top comment header is missing in some files. 2016-12-04 14:50:36 -03:30
Stephen Anthony c526d260a0 Re-enable fixed debug colors. 2016-12-04 14:48:17 -03:30
Stephen Anthony 9ca6f89778 When the new TIA core is enabled in a build, set it to the default when no
defaults have been specified.  The reason being, testers will be running old
and new versions of Stella, and with the previous settings, they would have
to continually reset 'tia.core' every time they run a new build.  Besides,
the point is for the new core to be the default, so we may as well enforce that
in the code.
2016-12-02 10:43:46 -03:30
Stephen Anthony 7bfaf10e80 Turning off HMOVE display doesn't work in the new TIA core, and really was
only a hack in the old core.  We will eventually remove this.
2016-12-02 10:22:59 -03:30
Stephen Anthony 3bb21cdbf3 Restored TIA::height functionality, otherwise the window won't be properly sized. 2016-12-02 10:16:49 -03:30
Stephen Anthony b34514e7f4 Implemented TIA::scanlines(), which now shows the proper scanline count in
the info window in the upper-left of the screen.  Still TODO is tie it to the
framerate, so that when the scanline count changes, it also auto-calculates
the framerate.

Some formatting cleanups in various classes.
2016-12-02 10:07:25 -03:30
Christian Speckner a8a4545222 Typo, more concise variable names. 2016-12-02 09:30:40 +01:00
Christian Speckner a717890c29 Microoptimization: pre-invert collision bitmasks. 2016-12-02 09:05:35 +01:00
Christian Speckner a1eb8fd9ab Add toggle logic to all sprites. 2016-12-02 08:58:19 +01:00
Christian Speckner 920787aa9f Sprite toggeling for missiles. 2016-12-02 01:11:54 +01:00
Christian Speckner 042dc72e66 Paddles / analog input. 2016-11-28 12:54:46 +01:00
Christian Speckner 3e4b975489 Add missing file. 2016-11-26 21:08:23 +01:00
Christian Speckner d66a58557b Always trigger draw during resbl, even during hblank. 2016-11-26 21:05:03 +01:00
Christian Speckner 34810ab25e Fix uninitialized value. 2016-11-26 15:36:43 +01:00
Christian Speckner 4fd2c71510 Merge remote-tracking branch 'remotes/upstream/git-svn' 2016-11-26 14:48:40 +01:00
Christian Speckner 92ec526d68 Simplify priority logic in score mode. 2016-11-26 13:37:19 +01:00
Stephen Anthony 1924013daf Fixed write to CTRLPF with score mode enabled and playfield priority disabled;
the priority as well as the colours change from left/right screen.

Made getPixel method from each of the TIA objects inline, since they're called
so often.
2016-11-25 22:02:00 -03:30
Christian Speckner 7fad9b7cfa Fix fractiona counter initial value. 2016-11-26 00:18:18 +01:00
Christian Speckner 2bd5074828 Add latched input. 2016-11-26 00:08:32 +01:00
Christian Speckner e786b3307e Add resmp. 2016-11-25 23:23:04 +01:00
Stephen Anthony 6818da1566 Added savestate 'plumbing', for when the new TIA classes are finalized.
Bumped lowest version of state file format to 4.8, to make sure old
state files will not be loaded.
2016-11-25 14:58:07 -03:30
Christian Speckner eebf8c046f Collisions, basic input (no lateched input, no paddles). 2016-11-25 01:31:57 +01:00
Christian Speckner d2c9813da1 Fix timing to properly account for "fractional" system clocks -> bang! runs glitch free. 2016-11-23 23:59:32 +01:00
Christian Speckner cac9bf76c7 Delay queue fixes --- should be academic. 2016-11-23 23:55:10 +01:00
Christian Speckner d02c985a91 Add ball. 2016-11-22 23:22:16 +01:00
Christian Speckner 95c1d2b08c CS. 2016-11-22 21:56:50 +01:00
Christian Speckner 3a4827e0b8 Add a missing line cache invalidation -> fixes bang! plasma field. 2016-11-22 21:56:12 +01:00
Stephen Anthony ec2ee2c570 Added some 'Stella-isms' to the new TIA core code, like brace placement,
comment lines above each method, deleting new/d'tors whenever possible, etc.

Rename Missile.cpp to Missile.cxx.
2016-11-22 15:44:20 -03:30
stephena e43e56f8ab Updated version for 4.7.3 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3320 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-11-21 19:21:25 +00:00
Christian Speckner 14b701ef72 Fix accidential fallthrough in switch -> fixes funky space invaders. 2016-11-20 23:39:47 +01:00
Christian Speckner d9f91caab3 Don't reset autodetected TV mode on reset -> fixes TV mode autodetection. 2016-11-20 22:22:07 +01:00
stephena 81844dbf7f Preparing for 4.7.3 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3319 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-11-20 21:13:42 +00:00
Christian Speckner ac4520917e Add players. 2016-11-20 22:07:10 +01:00
Christian Speckner 87b24a5bba Coding style, hmmClocks can be 8bit. 2016-11-18 00:08:12 +01:00
Christian Speckner 594c460bc7 CS. 2016-11-17 23:25:13 +01:00
Christian Speckner 666028b66d TODO. 2016-11-17 23:24:38 +01:00
Christian Speckner baecc4e3a1 Fix timing glitch, port missiles. 2016-11-17 23:24:12 +01:00
Christian Speckner c8dc5e2db9 Fix delay queue, add delay to pfx writes. 2016-11-16 23:19:54 +01:00
Christian Speckner cdafe8d0a4 Playfield. 2016-11-16 01:18:44 +01:00
Christian Speckner 2d76b7fb98 Hook up audio. 2016-11-15 21:24:20 +01:00
Christian Speckner 6d76d65d82 Add wsync, vsync and vblank, fix bugs and connect the dots -> main loop + tv mode detection work. 2016-11-15 21:16:36 +01:00
Christian Speckner 70dc29f077 Port main loop. 2016-11-15 19:26:23 +01:00
Christian Speckner b6a2e266aa CS. 2016-11-13 22:56:58 +01:00
Christian Speckner ea6abb0fe6 Implement delay queue. 2016-11-13 22:56:02 +01:00
Christian Speckner b874269065 Replace executor class with a template --- we've got closures, after all :) 2016-11-13 00:10:40 +01:00
Christian Speckner 208f630a3c Implement delay queue (untested). 2016-11-08 23:54:22 +01:00
Christian Speckner a99a4e1efd Stub implementation of new core. 2016-11-08 01:26:57 +01:00
Christian Speckner ffccc351f6 Allow to switch between TIA implementations via command line / config. 2016-10-31 00:12:52 +01:00
Christian Speckner 4188d766fb Tabs vs. spaces. 2016-10-30 21:03:52 +01:00
Christian Speckner 2075ff082a Prepare build system for new core. 2016-10-30 21:00:08 +01:00