Commit Graph

2250 Commits

Author SHA1 Message Date
Stephen Anthony 6a180aeda0 Remove superfluous 'deltax' parameter in drawString; I have no idea what it was doing there. 2020-06-19 20:02:00 -02:30
Stephen Anthony eafa29a520 Make sure long messages overlaid on framebuffer don't overflow display surface. 2020-06-19 19:55:27 -02:30
Stephen Anthony a1d6d6ea41 Fix TIA images saved in '1x' mode to not use TV effects (fixes #643). 2020-06-18 21:48:51 -02:30
Christian Speckner f1998c761c Fix reads and writes during timer wrap. Fixes #606 . 2020-06-17 00:20:26 +02:00
Stephen Anthony e1e9c61bc6 Fix reading from TIA registers when D6 is not used. Also fix randomization with
'tiadriven' to always fully randomize, with no relationship to what was on the data bus (fixes #664).
2020-06-16 14:44:44 -02:30
Stephen Anthony 006c7c62d6 Eliminate magic number. 2020-06-12 10:54:25 -02:30
Stephen Anthony 2d78f0ee7c Attempt to gain a little speed on frequently used functions. 2020-06-12 09:24:15 -02:30
thrust26 9cf4686bc2 fix #663 (illegal segment access) 2020-06-12 12:48:15 +02:00
Stephen Anthony dc3324e083 Handle creation of 2K/Sub2K and all other cart types separately.
This simplifies the logic in both cases, and fixes a few corner cases.
2020-06-11 19:04:39 -02:30
Stephen Anthony afe4be3510 Fix compile error from last commit. 2020-06-11 12:02:50 -02:30
thrust26 7584558746 Fixed #662 (3E+ initialization description) 2020-06-11 16:20:10 +02:00
Stephen Anthony 298eea04cf Fix Pitfall II not working (fixes #661).
Note that I've refactored all the constructors to prevent this issue from happening again.
It already happened with 3E+/3E, and now DPC/F8.  Also, FA2/FA looked suspicious.
2020-06-10 16:59:27 -02:30
Stephen Anthony b9d0535517 Make first 3 segments of 3E+ point to random banks, according to the documentation (fixes #660). 2020-06-10 11:39:55 -02:30
thrust26 5b634b99e7 Revert "take care of odd ROM sizes (fixes #653)"
This reverts commit baa47aec57.
2020-06-09 20:43:37 +02:00
Stephen Anthony 5c879d4a48 Fixed interaction with ideal ROM size between 3E and 3E+. 2020-06-09 15:56:31 -02:30
Stephen Anthony e497405216 Make sure 3E+ ROMs are always internally sized as a multiple 1024 bytes. 2020-06-09 12:32:14 -02:30
Stephen Anthony 476a2b2c56 Make sure to use correct 'virtual' size of ROM when creating the internal buffer. 2020-06-09 11:19:49 -02:30
Stephen Anthony 468f6657ae And it never ends. Fix broken support for 2K ROMs. 2020-06-07 17:40:42 -02:30
Stephen Anthony 870905fb87 Update warning message when truncating ROMs in the ROM buffer. 2020-06-07 15:34:38 -02:30
Stephen Anthony 5f2fbc8618 Fix some common errors causing crashes when ROM sizes aren't what we expect (fixes #654). 2020-06-07 14:49:27 -02:30
thrust26 edcf1d3c9d Merge branch 'master' of https://github.com/stella-emu/stella 2020-06-07 08:22:25 +02:00
thrust26 22f6398eae fix ROMs >= 64K (partially addresses #654) 2020-06-07 08:22:07 +02:00
Stephen Anthony 070dd48f22 And as usual, some last minute updates. 2020-06-06 16:37:13 -02:30
thrust26 baa47aec57 take care of odd ROM sizes (fixes #653) 2020-06-05 18:04:08 +02:00
Stephen Anthony 6b14a13f15 Shorten error messages in ROM launcher, to fix overflow of buffer width. 2020-06-04 17:32:35 -02:30
thrust26 e273ed4272 improved keyboard detection (JamLoopy demo) 2020-06-02 21:42:25 +02:00
Stephen Anthony ced671c972 Some small API changes for FSNode::getChildren(); it should only include the parent if requested. 2020-05-30 22:03:10 -02:30
Stephen Anthony 435761051b Add CartCreator to VS project, and fix a few warnings. 2020-05-30 17:34:44 -02:30
Stephen Anthony a5ec574489 Split logic for cart creation from CartDetector into new CartCreator class.
Besides simplifying the class, this allows the code to be more easily integrated into HarmonyCart.
2020-05-30 17:21:06 -02:30
thrust26 d11f9c383a added two more TV Boy dumps and their properties 2020-05-26 10:33:16 +02:00
Stephen Anthony ad781da69d Move 'max rom size' into a const method, and make use of it elsewhere in the code. 2020-05-25 17:32:01 -02:30
Stephen Anthony 43662449c1 Add TVBoy properties to database. 2020-05-25 14:06:05 -02:30
thrust26 f84498d7c7 reorder 512K bankswitching detection 2020-05-25 18:32:13 +02:00
thrust26 70ab70ab46 fix cart detection for 512K ROMs
add new event & hotkey for selecting previous multicart ROM
2020-05-25 13:58:53 +02:00
thrust26 f284b91f28 disable scanlines by default
add default pause key for macOS
2020-05-25 09:19:51 +02:00
thrust26 433b3e8980 enhanced TVBoy widget 2020-05-25 08:55:05 +02:00
Stephen Anthony 075bd3c7a1 Fix paddle autodetect in a ROM; it actually uses joysticks. 2020-05-24 20:11:36 -02:30
Stephen Anthony 6ec49f3d96 Unify Cartridge::bank() and CartEnhanced::bank() (take 2).
Otherwise, gcc complains of methods mirroring another with the same name.
2020-05-24 19:33:21 -02:30
thrust26 9026598d9e Added TV Boy bankswitching 2020-05-24 23:50:36 +02:00
thrust26 4466f470a3 Revert "Merge branch 'master' of https://github.com/stella-emu/stella"
This reverts commit 3f9ef8026b, reversing
changes made to 191684b6d2.
2020-05-24 23:45:46 +02:00
Stephen Anthony dbae9b8856 Unify Cartridge::bank() and CartEnhanced::bank().
Otherwise, gcc complains of methods mirroring another with the same name.
2020-05-24 18:57:45 -02:30
Stephen Anthony ce3c9b9e8a Shorten error messages in ROM launcher, to fix overflow of buffer width. 2020-05-24 16:08:24 -02:30
Stephen Anthony c622e1f109 Fix compile error. 2020-05-24 13:10:59 -02:30
thrust26 66be9cf320 updated doc (adapting refresh not available for macOS)
added event and hotkey for adapting refresh rate
fixed endless loop in global hotkeys
2020-05-24 10:03:53 +02:00
thrust26 ecbf222414 updated doc for fullscreen refresh rate adaption
removed debug output
2020-05-23 20:50:14 +02:00
thrust26 0f751d268c fix window position saving when switching from/to fullscreen mode
suppress fullscreen UI message outside emulation mode
2020-05-19 08:53:11 +02:00
thrust26 987bfaab1d improved refresh rate code 2020-05-18 21:13:18 +02:00
thrust26 77f24947f0 added optional refresh rate adaption in fullscreen mode 2020-05-18 12:26:05 +02:00
thrust26 63f1414007 minor fix, make sure that a message is displayed when switching TV format 2020-05-16 23:47:15 +02:00
thrust26 16f5797e31 added two more methods to global hotkeys
updated and restructured hotkey documentation
2020-05-16 13:00:38 +02:00