Commit Graph

149 Commits

Author SHA1 Message Date
Brendan Robert
7b78521920 BCD portion of CPU test 2024-02-10 00:14:40 -06:00
Brendan Robert
048e1b1769 Aggressive rewrite with improved test coverage 2024-02-09 23:50:53 -06:00
Brendan Robert
0b239d0ce6 Aggressive rewrite with 80% opcode coverage 2024-02-09 23:50:20 -06:00
Brendan Robert
ecfbfe56fd Small code cleanup 2024-01-25 14:11:57 -06:00
Brendan Robert
5e6012dd82 Get rid of temp files when dealing with assembly results 2024-01-25 09:50:48 -06:00
Brendan Robert
9feb064e83 Fix boot animation speed issue 2024-01-24 10:41:05 -06:00
Brendan Robert
08f1b4574f Fix key event mishandling and sound choppiness 2024-01-24 09:29:04 -06:00
Brendan Robert
15f98d6b31 Fix concurrent modification error in detach method 2024-01-23 21:50:51 -06:00
Brendan Robert
191066f65c Fix loading issues for OGG on windows 2024-01-23 21:44:49 -06:00
Brendan Robert
e435aa3a7a Small fixes to get Mac build working correctly 2024-01-17 15:50:14 -06:00
Brendan Robert
663758bb8a Prevent song resuming from outside of valid positions. 2023-11-07 09:41:23 -06:00
Brendan Robert
637d713883 Fixed music playback issues (I think?) 2023-11-04 23:51:47 -05:00
Brendan Robert
580e760fae Working sound playback with LWGJL finally! (still some bugs) 2023-11-04 23:14:58 -05:00
Brendan Robert
59ceac0b59 Implemented untested OGG playback for music 2023-10-24 23:30:50 -05:00
Brendan Robert
06c16733c2 Filling in needed methods for playback 2023-10-24 22:16:26 -05:00
Brendan Robert
6d271362b2 Partial attempt at getting Mockingboard to run more correctly, start of rewrite of music playback routines 2023-10-24 21:54:34 -05:00
Brendan Robert
64e5317019 Retrofit mockingboard playback to new LWGJL engine 2023-10-24 18:46:10 -05:00
Brendan Robert
5edaf8a69b Removing todo for feature already implemented by ISelection 2023-10-24 11:41:32 -05:00
Brendan Robert
de782575bb Correcting floating bus behavior (hopefully) 2023-10-24 11:36:32 -05:00
Brendan Robert
cba2850759 Suppress additional code warnings for stuff I don't want to modernize right away 2023-10-24 08:55:10 -05:00
Brendan Robert
ef7b6de3c7 Fix more code quality warnings 2023-10-23 23:10:20 -05:00
Brendan Robert
4bd00481e8 code quality resolutions, ignore interruptions in sound playback for now 2023-10-23 18:38:49 -05:00
Brendan Robert
b5997c3876 Completely rewritten sound engine, fixed listener registration issues, Configuration global actions fixed. 2023-10-23 00:28:57 -05:00
Brendan Robert
37a9d805fd Upgraded outlaw editor to Java 17, had to remove OSGi plugin support (we never used it) 2023-09-08 20:59:23 -05:00
Brendan Robert
c2bf0cd744 cleanup misc files, capture bitmask worksheet for reference 2023-08-27 14:18:41 -05:00
Brendan Robert
2af0aa9ea3 Fixed into fade-in animation dithering 2023-08-04 23:55:44 -05:00
Brendan Robert
dc1bcd4b4b Restored keyboard handlers on start finally! 2023-08-04 22:31:57 -05:00
Brendan Robert
73df048341 Fixed silly bug that broke non-static invokable actions 2023-08-04 22:24:50 -05:00
Brendan Robert
afe5518c13 Successful boot! 2023-08-02 16:40:22 -05:00
Brendan Robert
41a1e4f113 Cleaned up suspended handling logic (a little) and errors triggered by rapid video mode changes 2023-08-01 23:04:58 -05:00
Brendan Robert
5a74750479 Fixed config errors related to how static actions are handled separately 2023-08-01 21:26:37 -05:00
Brendan Robert
e867ab2611 Removed all method reflections 2023-08-01 12:17:31 -05:00
Brendan Robert
454fcaff36 Removal of AWT and most uses of reflection 2023-07-26 10:50:52 -05:00
Brendan Robert
dd89499e76 Resolve code quality warnings 2023-07-03 20:30:14 -05:00
Brendan Robert
9b51c7d733 Massive Java 17 overhual 2023-07-03 15:44:23 -05:00
Brendan Robert
e43ddccb56 Fixed script editor funky UI issues 2022-11-30 09:34:52 -06:00
Brendan Robert
639110e639 Added speed monitor and fixed a lot of timing problems. 10x speed now possible. 2022-03-03 20:10:20 -06:00
Brendan Robert
261bd7f7d8 Remove trace file 2022-02-08 01:30:49 -06:00
Brendan Robert
083a9f1e2c Remove IntelliJ project files 2022-02-08 01:30:49 -06:00
Brendan Robert
91d7b5d1b5 Updated music score details, other emulator cleanup 2022-02-08 01:30:49 -06:00
Brendan Robert
9f4952cabd Large code cleanup/refactoring, mostly addressing code fragility and emulator structure that results in poor startup behavior. 2021-11-09 11:20:42 -06:00
Brendan Robert
e6113e2ac6 Update music score and added resume mode to song playback for wilderness 2021-09-05 09:46:47 -05:00
Brendan Robert
3f3a7c83ba Memory handlers should be smarter about I/O page detection even with aux flag specified 2021-05-24 09:18:41 -05:00
Brendan Robert
0bcd1976f5 Build issues resolved due to signed jars 2021-05-24 09:16:51 -05:00
Brendan Robert
9781138ba8 Music player bugfixes 2021-05-24 09:16:21 -05:00
Brendan Robert
df04f4018e Fixed bug in changing scores 2021-05-09 16:16:02 -05:00
Brendan Robert
2278344278 Completed music feature, added score selection and software-defined repeat mode for songs 2021-04-26 09:24:32 -05:00
Brendan Robert
5f8171500f Adding music/sfx playback support 2021-04-13 00:22:24 -05:00
Brendan Robert
b727537457 Switch device list to unsynchronized and use Eclipse collections for speed 2021-04-02 16:46:26 -05:00
Brendan Robert
8fd831479d Cache memory configurations and avoid rebuilding as often (small performance boost) 2021-04-02 16:45:51 -05:00
Brendan Robert
a8e76cd4f6 Removed 3rd party dependency for this test 2021-04-02 15:33:16 -05:00
Brendan Robert
5b9d95c2c2 Modernizing dependencies 2021-04-02 15:18:58 -05:00
Brendan Robert
6ede1e27ed Minor performance improvements 2021-04-02 15:07:45 -05:00
Brendan Robert
d9061488f4 Updated to the new video model locations that do not conflict with Apple //gs IO locations from commit 00d0f7391c 2021-03-08 16:32:51 -06:00
Brendan Robert
24c6e82b7a Replace icon set for menu and hide unnecessary items 2021-03-08 14:12:40 -06:00
Brendan Robert
ef39c438fb Adjust text boundaries for main menu B&W region 2021-03-08 14:12:15 -06:00
Brendan Robert
fff0d74aa9 Remove mockingboard on start, set graphics mode to text-friendly.
Added titlescreen mode
2020-07-28 09:34:51 -05:00
Brendan Robert
7a03c7ab15 Fix ZPE on startup 2020-06-07 22:26:35 -05:00
Brendan Robert
deafd12267 * Added options for game upgrade
* Added MMU stats to CPu debug output
* Memory zeros out on warm resets now to prevent reboot failures
2020-06-06 02:05:28 -05:00
Brendan Robert
68d12365d6 Yucky hack to reset ram pattern even on warm boot, fixes rebooting glitches due to uninitalized engine state variables. 2020-06-01 09:10:45 -05:00
Brendan Robert
a81852294b Force lawless cheat module to load on start, fixes text color "glitch" 2020-06-01 09:10:00 -05:00
Brendan Robert
9060e27a22 Updating .gitignore so I don't accidentally check garbage in 2020-02-24 09:26:18 -06:00
Brendan Robert
6dd9c7e789 Various bug fixes and added story book mode 2020-02-24 09:06:24 -06:00
Brendan Robert
19c68edadb Updated Jace emulator to allow HD images as well as 800kb floppy images 2020-01-01 18:56:30 -06:00
Brendan Robert
e7c702136c Reworking sound bits 2018-09-15 16:23:58 -05:00
Brendan Robert
1d793f640a Emulator updates 2018-09-15 16:23:32 -05:00
Brendan Robert
aaa234e278 Tweak startup behavior to prevent deadlocks on startup 2018-05-16 00:40:40 -05:00
Brendan Robert
99e57454d5 Updated configuration to synchronize access to child nodes to prevent concurrent modification exceptions 2018-05-16 00:40:01 -05:00
Brendan Robert
0af41844ca Changed romLoaded to atomicBoolean 2018-05-16 00:37:56 -05:00
Brendan Robert
26ba3083ea Fixed playback thread handling as well as isRunning detection to fix stuck threads 2018-05-16 00:37:25 -05:00
Brendan Robert
e52d4016dd Self-clocking mockingboard is no longer tied to the main emulator speed 2018-03-21 20:24:55 -05:00
Brendan Robert
e0bc6a797e Used synchronized types to avoid race conditions 2018-03-21 20:24:55 -05:00
Brendan Robert
461fe41f79 Removed font speedup hacks -- we should just rely on transwarp softswitch for speedups. 2018-03-21 20:24:55 -05:00
Brendan Robert
55e7a87cc5 Turning off acceleration resets to the user-defined speed instead of 1mhz 2018-03-20 10:01:35 -05:00
Brendan Robert
dabf70c3cf Updated RAM to use sets for listeners (it's more efficient) and added Zip/Transwarp emulation at a minimal level. That means programs can now selectively over-clock the emulator if desired. 2018-03-20 00:11:51 -05:00
Brendan Robert
356b1fad3e Updated default speed to 2x instead of 1.5x and fixed issue that kept resetting speed to 1x every time the emulator is started 2018-03-19 00:55:37 -05:00
Brendan Robert
c9c91d2fe0 Updated color mode detection to use sofswitch method. Changed default emulator color mode and speed to 2x 2018-03-17 12:21:09 -05:00
Brendan Robert
69261e6915 Some refinements to capture text inside the graphics area 2018-02-04 22:30:24 -06:00
Brendan Robert
c50ea6ec77 cleaned up how speed is managed in the app 2018-02-01 09:09:18 -06:00
Brendan Robert
53e86e7888 Added next-VBL refresh of screen when mode changes 2018-02-01 09:08:54 -06:00
Brendan Robert
9692f89145 Minor stuff 2018-01-24 01:19:20 -06:00
Brendan Robert
55ee4c4d3b Allow saving speed slider setting with config, and also added option to disable boot animation 2018-01-16 23:16:11 -06:00
Brendan Robert
4575e85efa Added fade animations and other UX cleanup so the menu and controls have a more natural feel 2018-01-11 22:54:58 -06:00
Brendan Robert
5dd1512b99 Speed tweaks for 40x and infinite speeds -- noticably faster now 2018-01-11 21:22:00 -06:00
Brendan Robert
ea06bc143a Hooked up speed control 2018-01-11 18:56:01 -06:00
Brendan Robert
0f857de52f Controls overlay for emulator. Still needs work but most buttons do something. Speed control is not hooked up yet. 2018-01-11 02:21:20 -06:00
Brendan Robert
a530a9741e Changed motherboard speed to be in percentage of 1mhz instead of in Hertz 2017-12-29 19:20:07 -06:00
Brendan Robert
77b82992df Added ability to toggle aspect correction for full-screen mode 2017-12-29 18:19:48 -06:00
Brendan Robert
152c09d868 Wipe memory pattern during cold boot -- fixes reboot issues 2017-12-29 13:58:12 -06:00
Brendan Robert
9cfe66d68b Added upgrade automation which imports saved games and replaces disk copy 2017-12-29 13:46:27 -06:00
Brendan Robert
4376bb5378 Tweaked bootup appearance 2017-12-29 11:10:27 -06:00
Brendan Robert
0ca9b29614 Better cold-boot behavior 2017-12-29 02:09:09 -06:00
Brendan Robert
0567ed94cf Explicitly force all-color for title screen 2017-12-29 02:01:14 -06:00
Brendan Robert
107a7b7ed9 Add hi-bit so that the color mask doesn't get set with funky values and make the title screen look weird. 2017-12-29 01:55:44 -06:00
Brendan Robert
76c97b4978 Removal of legacy "JaceApplication" and added bootup animation which bypasses the coldstart routine. 2017-12-29 01:50:53 -06:00
Brendan Robert
05e59a5454 Basic speedup hacks and B&W rendering for text 2017-12-28 18:48:35 -06:00
Brendan Robert
cfb90d27a1 Got the copy-on-start option to work. 2017-12-28 11:59:30 -06:00
Brendan Robert
7b7c41a47e Creating base lawless app and packaging script 2017-12-28 11:40:40 -06:00
Brendan Robert
1aa20e3f5b Adding a fork of Jace for building standlone versions of the game 2017-12-28 10:40:35 -06:00