Commit Graph

461 Commits

Author SHA1 Message Date
Peter Ferrie
1a49667811 write-protect LC (fixes Firebird) 2019-09-22 20:30:23 -07:00
Peter Ferrie
74580aaf4c use documented IIGS detection, fixes FastChip issues 2019-09-22 11:04:48 -07:00
4am
2e8687da73 fix regression in okvs_iter 2019-09-21 23:00:05 -04:00
4am
d6358262cb refactor textrank to use more zero page 2019-09-21 22:46:08 -04:00
4am
340d728ff0 refactor SaveSmallFile 2019-09-21 22:29:20 -04:00
4am
87a707898c refactor GetGameDisplayName 2019-09-21 22:25:34 -04:00
4am
c31d91ea60 remove some self-modified values and use zero page instead 2019-09-21 22:18:33 -04:00
4am
241a870eec add okvs_get_current [needs docs] 2019-09-21 20:03:46 -04:00
4am
bf940d29d7 further refactoring in HGRActionCallback 2019-09-21 18:46:45 -04:00
4am
a2e8ae2332 refactor HGRActionCallback 2019-09-21 18:15:33 -04:00
4am
87362071c1 . 2019-09-21 18:11:52 -04:00
4am
cc7ea09ec9 refactoring 2019-09-21 18:04:38 -04:00
4am
d28a84a6f6 refactor DrawUI some more 2019-09-21 17:35:49 -04:00
4am
6f1895c1a7 refactor DrawUIOffscreen 2019-09-21 13:41:36 -04:00
4am
c11468f877 . 2019-09-21 13:01:31 -04:00
4am
ee045b8723 refactor UILine1 and UILine2 2019-09-21 12:59:56 -04:00
4am
00deb0f54b . 2019-09-20 23:55:52 -04:00
4am
30aa5a26c9 . 2019-09-20 23:43:44 -04:00
4am
b365b5d880 further simplify PlayGame code 2019-09-20 23:43:31 -04:00
4am
8e19fc9c5b refactor PlayGame 2019-09-20 23:26:32 -04:00
4am
10e3d05f07 move UILine1 to main memory since it's always rebuilt from scratch now 2019-09-20 22:27:41 -04:00
4am
84abc76fac . 2019-09-20 22:16:35 -04:00
4am
035aa3b07e . 2019-09-20 22:05:35 -04:00
4am
a6b368193e . 2019-09-20 20:37:40 -04:00
Peter Ferrie
699185d678 Merge branch 'master' of https://github.com/a2-4am/4cade 2019-09-20 16:53:55 -07:00
Peter Ferrie
8ebfeab1d4 fix label placement 2019-09-20 16:53:43 -07:00
4am
661e4b35fb refactor okvs_init 2019-09-20 19:46:46 -04:00
4am
6983328969 refactor okvs_len 2019-09-20 19:42:26 -04:00
4am
db5961b606 Merge branch 'master' of https://github.com/a2-4am/4cade 2019-09-20 19:27:21 -04:00
4am
634f8cd688 refactor okvs_nth 2019-09-20 19:27:16 -04:00
Peter Ferrie
a85748c8af shrink promote 2019-09-20 12:42:02 -07:00
4am
7448f196d7 add cheat for Free Fall 2019-09-20 14:08:03 -04:00
4am
a5120905e9 consolidate bank switching code where possible 2019-09-20 09:33:23 -04:00
4am
e7846b180a shorter 2019-09-19 11:38:14 -04:00
4am
d116b2f741
Merge pull request #53 from GregWildman/master
Fix case on directory name
2019-09-19 11:15:19 -04:00
4am
9afb5b4abb force redraw when toggling cheat mode in search mode with a game selected 2019-09-19 11:13:49 -04:00
4am
dbbba0ed74 Merge branch 'master' of https://github.com/a2-4am/4cade 2019-09-19 09:13:34 -04:00
4am
8d9e7d6bf7 add cheat for Eggs-It 2019-09-19 09:13:30 -04:00
Peter Ferrie
02d7d2be93 restore support for partitions 3-4 2019-09-18 20:49:24 -07:00
Peter Ferrie
c9d4110b98 add cheat for Canyon Climber 2019-09-18 20:48:35 -07:00
4am
ec76544280 add cheat for Defender 2019-09-18 18:41:44 -04:00
4am
57142f55f3 add cheat for Crossfire 2019-09-18 18:35:31 -04:00
4am
aafe2ce134 clear screen and both hi-res pages before launching 2019-09-18 14:04:41 -04:00
4am
9a0322e2ff Merge branch 'master' of https://github.com/a2-4am/4cade 2019-09-18 13:49:58 -04:00
Peter Ferrie
833d1e5570 fix slot message 2019-09-17 21:55:13 -07:00
4am
25ff4e5ccf add cheat for Brainteaser Blvd 2019-09-17 19:42:23 -04:00
4am
78d07f54fa add cheat for Bouncing Kamungas 2019-09-17 19:33:39 -04:00
4am
2b79176ff1 add cheat for Beer Run 2019-09-17 19:20:13 -04:00
Greg Wildman
4fc1ed61ec Fix case on directory name 2019-09-17 07:19:15 +02:00
4am
c1c171fe4b add cheat for Buzzard Bait 2019-09-16 22:39:45 -04:00
4am
df60527805 add cheat for Crime Wave 2019-09-16 22:30:46 -04:00
4am
12e139453c add cheat for Cyclod 2019-09-16 22:23:03 -04:00
4am
a2f4be5a25 add cheat for Cubit 2019-09-16 22:15:37 -04:00
4am
e17a748f4d add cheat for Pest Patrol 2019-09-16 22:02:03 -04:00
4am
72569e7bcf add cheat for Hard Hat Mack 2019-09-16 21:45:12 -04:00
4am
a945df7618 add cheat for Centipede 2019-09-16 19:13:14 -04:00
4am
c1f782678b add cheat for Ceiling Zero 2019-09-16 19:06:59 -04:00
4am
a0366b329a add cheat for Apple Panic 2019-09-16 18:56:27 -04:00
4am
40b81ade03 add cheat for Apple Cider Spider 2019-09-16 18:49:55 -04:00
Peter Ferrie
0ddb62637c Drol cheat all levels, improve some others 2019-09-16 14:12:21 -07:00
4am
de7a06f2cd Ctrl-C in search or browse mode to toggle cheats, persist in prefs file, honor pref on startup 2019-09-16 13:36:48 -04:00
4am
bab7c81481 . 2019-09-16 12:57:53 -04:00
4am
2e15edc9fa minor wording change 2019-09-16 12:56:35 -04:00
4am
59e36eb280 update memory map 2019-09-16 12:38:23 -04:00
4am
24c3f390c5 Merge branch 'master' of https://github.com/a2-4am/4cade 2019-09-16 12:36:15 -04:00
4am
03a90947de prefs refactor 2019-09-16 12:36:10 -04:00
Peter Ferrie
7a0dae85dd add some cheats 2019-09-15 20:28:55 -07:00
Peter Ferrie
bb335602cc add some cheats 2019-09-15 19:10:09 -07:00
4am
54af055953 fix cheat lookups 2019-09-15 21:35:34 -04:00
4am
986244b88b recopy reset vector code to during Reenter, because some games and demos clobber it 2019-09-15 21:00:38 -04:00
4am
4b66697758 add cheats subsystem (parsing of games.conf, UI, loading appropriate prelaunch file) 2019-09-15 17:55:16 -04:00
4am
d31311d4e7 add prelaunch subsystem 2019-09-14 22:57:52 -04:00
4am
a37c82b6b3 add bolt character and update some font documentation 2019-09-14 17:57:41 -04:00
4am
21bedda5a1 2.0 release 2019-09-14 12:30:09 -04:00
Peter Ferrie
e3d6c3f9c8 add cheats 2019-09-13 22:30:01 -07:00
4am
4f8e60f972 . 2019-09-11 09:18:31 -04:00
4am
ec5ca71a6a . 2019-09-11 09:14:14 -04:00
Peter Ferrie
11fb880be9 more in LC RAM2 2019-09-10 21:26:00 -07:00
Peter Ferrie
010397e395 less chatty 2019-09-10 14:33:43 -07:00
4am
b8a97a264d . 2019-09-10 14:53:43 -04:00
4am
93eeae13af move LoadFile internals to LC RAM 2 2019-09-10 14:52:00 -04:00
4am
74b221e899 . 2019-09-10 14:24:46 -04:00
4am
5c0dc3e1cf Merge branch 'master' of https://github.com/a2-4am/4cade 2019-09-10 14:22:09 -04:00
4am
912d4d892a move font drawing routines to LC RAM 2 2019-09-10 14:21:23 -04:00
Peter Ferrie
8818dc395e update LC RAM2 memory-map 2019-09-10 11:01:55 -07:00
4am
27ec2ebd4e back up less of the stack 2019-09-10 13:50:36 -04:00
Peter Ferrie
3a50ceceb8 more in LC RAM2 2019-09-10 09:51:04 -07:00
4am
8a96d53217 . 2019-09-10 09:50:08 -04:00
4am
a88f70f150 refactor GetStoreAddress 2019-09-10 09:37:19 -04:00
4am
003b6ad6f0 refactor incptr 2019-09-10 09:20:32 -04:00
4am
6e29c4d355 refactor okvs_append so it's O(1) instead of O(N), which makes ParseGamesList O(N) instead of O(N^2), which makes program startup noticeably faster 2019-09-10 01:46:21 -04:00
4am
b543481b9f refactor okvs_iter 2019-09-10 00:54:52 -04:00
4am
c99fb31739 . 2019-09-10 00:42:31 -04:00
4am
d233ad6074 move DrawPage to ui.font with other drawing routines 2019-09-10 00:32:30 -04:00
4am
7ab4dd136e shave 3 bytes 2019-09-10 00:24:54 -04:00
4am
bc79a08074 shave literally 1 byte 2019-09-10 00:22:28 -04:00
4am
308fdea6d0 shave some bytes, add some comments 2019-09-10 00:19:07 -04:00
4am
f40c8ebae6 refactor some HGR macros, make ResetInputTimeout internal to WaitForKeyFor30Seconds and clear the keyboard strobe explicitly before and/or after 2019-09-10 00:04:16 -04:00
4am
e370dbfa93 allow right arrow to progress slideshow immediately 2019-09-09 23:04:17 -04:00
4am
282fbd9806 pass in load address if we know it 2019-09-09 22:58:16 -04:00
4am
904ae802ec . 2019-09-09 22:48:54 -04:00
4am
2482660400 . 2019-09-09 22:45:18 -04:00
4am
74eda4454b Merge branch 'master' of https://github.com/a2-4am/4cade 2019-09-09 22:42:31 -04:00
4am
b0cf49b86f refactor LoadFile and LoadDHRFile 2019-09-09 22:38:17 -04:00
Peter Ferrie
68fab1ddc2 make LC2 management a bit easier 2019-09-09 18:40:59 -07:00
Peter Ferrie
859efc70f0 move some things to LC bank 2 2019-09-09 14:28:13 -07:00
4am
1d7e3bd1b9 refactor SetPath slightly 2019-09-09 14:11:49 -04:00
4am
3ca889a18c add Out Of This World, fix crash in GR action slideshows, fix missing games in DHGR action slideshows, more game ordering fixes 2019-09-08 14:50:50 -04:00
4am
f150dc0673 shave some bytes 2019-09-07 14:15:53 -04:00
Peter Ferrie
60dd9908c4 enforce minimum file size on write 2019-09-06 18:10:22 -07:00
4am
10b7f6c920 2.0 beta-1 2019-09-06 19:33:14 -04:00
4am
2c1900def8 update memory map documentation 2019-09-06 18:55:24 -04:00
Peter Ferrie
18417fc0cf move pseudo-ProDOS to LC RAM bank 2 2019-09-06 15:12:17 -07:00
4am
99b1de5380 shave some bytes 2019-09-06 15:21:38 -04:00
Peter Ferrie
fa6a014c77 fix DHGR on SCSI and DGR everywhere 2019-09-05 17:59:34 -07:00
Peter Ferrie
156ef569c9 restrict partition
also remove 65C02 BC's Quest, fix error display and documentation
2019-09-05 17:15:02 -07:00
4am
f1bbb4c08b Make spacebar work in browse mode also 2019-09-02 21:57:40 -04:00
4am
4144e8c116 add loading screen with version information and autodetected system configuration 2019-08-27 13:55:54 -04:00
Peter Ferrie
f26cb4becf include ProDOS memory map, fixes Indiana Jones 2019-08-20 20:13:17 -07:00
4am
a772e0340e press Space for mini-attract mode since ][+ doesn't have TAB
fixes https://github.com/a2-4am/4cade/issues/5
2019-07-29 12:20:54 -04:00
4am
9c6d8cada3 set alternate display mode on IIgs
fixes https://github.com/a2-4am/4cade/issues/4
2019-07-29 12:00:59 -04:00
4am
44a32229a1 set and unset softswitches so we properly detect VidHD in slot 3 without messing up 128K games 2019-07-20 21:51:55 -05:00
4am
e32c386ad6 . 2019-07-19 19:50:01 -05:00
Peter Ferrie
a056b85cf9 enable Renegade 2019-07-19 17:39:48 -07:00
4am
e453a52256 add GR attract mode and action screenshots for lo-res games 2019-07-15 11:42:05 -04:00
4am
7c2174cfca add GR fizzle 2019-07-15 11:21:24 -04:00
Peter Ferrie
fefe49d462 add GR fizzle 2019-07-14 09:57:04 -07:00
4am
3a19f4b901 add credits page 2019-07-10 13:37:59 -04:00
Peter Ferrie
5c106b7c29 fix slot alignment 2019-07-09 13:42:37 -07:00
4am
260c590559 add Axis Assassin, fix DHGR action slideshows 2019-07-08 22:55:22 -04:00
4am
e488b87d80 hide games in attract mode that can't be played due to memory or joystick requirements 2019-07-08 15:03:25 -04:00
4am
c0dd16a27c initial instructions in input buffer, add play label once game is selected 2019-07-08 14:10:11 -04:00
Peter Ferrie
ebd442c223 fix the mess 2019-07-04 19:03:14 -07:00
4am
1d23da8f7d . 2019-07-04 16:32:30 -04:00
4am
2d141e20c8 input buffer of length N should never match a game name of length < N 2019-07-04 16:31:28 -04:00
4am
c8e9d9ab9d off-by-1 bugs, and missing exit condition, in the dots loop 2019-07-04 16:23:29 -04:00
Peter Ferrie
7c9b56a023 allow full match 2019-07-04 12:31:19 -07:00
4am
3fdc6256a3 fix keyboard handling across search and browse modes 2019-07-03 22:27:46 -04:00
4am
a37dd59b4f Browse Mode 2019-07-03 18:31:50 -04:00
Peter Ferrie
045fe1cfef prevent interrupts during disk access 2019-07-03 15:21:49 -07:00
4am
ae78424218 . 2019-06-30 15:21:10 -04:00
4am
5822a2b078 . 2019-06-30 15:18:51 -04:00
4am
e01d66b46d . 2019-06-30 15:10:09 -04:00
4am
79a6ecd479 fix DHGR mode on IIgs 2019-06-30 13:59:06 -04:00
Peter Ferrie
e16143191f fix cartoons 2019-06-28 18:53:20 -07:00
4am
a2e269ab3b Spare Change cartoons 2019-06-28 20:59:46 -04:00
4am
884c853698 . 2019-06-27 23:50:25 -04:00
4am
46f73aaf54 set IIgs border color 2019-06-27 23:42:01 -04:00
Peter Ferrie
66a8ed99f6 fix end-case false match 2019-06-27 13:33:21 -07:00
Peter Ferrie
0135887519 first match wins 2019-06-27 13:15:48 -07:00
Peter Ferrie
1785bf0dfb align writes in Promote, fix Championship Lode Runner 2019-06-27 13:04:45 -07:00
4am
ff699d9bd1 some minor refactoring in search mode 2019-06-27 11:37:23 -04:00
4am
531abf6076 named constants 2019-06-27 10:55:07 -04:00
4am
52f55fb682 set LC RAM bank after Reenter, fix MachineStatus confusion 2019-06-27 09:51:17 -04:00
4am
23844487b8 mini attract mode 2019-06-26 22:51:34 -04:00
4am
6da3cba47a refactoring and comments 2019-06-25 22:44:39 -04:00
4am
f01b99e36b . 2019-06-24 19:20:00 -04:00
4am
8c66a43e59 add title screen separate from cover picture 2019-06-24 19:03:59 -04:00
4am
4b3e8ae50a DHGR transitions including fizzle, clear-to-white variations 2019-06-24 14:54:49 -04:00
4am
f76262c07a re-add DHGR fizzle as module 2019-06-24 14:00:44 -04:00
4am
74f6cebac4 move parse.games to init, update dates, other comments 2019-06-23 22:32:18 -04:00
4am
5bb7d559f9 move timeout zero page to resolve conflict with ProRWTS 2019-06-23 14:40:07 -04:00
4am
81162b1784 fix timeout to attract mode 2019-06-23 14:26:43 -04:00
4am
971e7a6606 backup and restore stack, refactor Reenter 2019-06-23 14:24:09 -04:00
4am
9f20c1042a enable correct RAM bank on demo reentry 2019-06-22 16:16:16 -04:00
4am
08ca4a940a self-running demo fixes, per-game attract mode configuration files WIP 2019-06-22 15:50:24 -04:00
Peter Ferrie
86466aa93c fix prefix handling 2019-06-21 16:47:05 -07:00
4am
44dc3c9e8a faster initialization for cover fade 2019-06-21 13:43:20 -04:00
4am
8979c6307f cover fade on esc 2019-06-21 13:17:57 -04:00
4am
ca18b488ea Merge branch 'master' of https://github.com/a2-4am/4cade 2019-06-21 13:10:35 -04:00
4am
bba3d755e2 cover fade animation 2019-06-21 13:10:29 -04:00
Peter Ferrie
c074faaf63 fill all LC vectors 2019-06-21 09:43:43 -07:00
4am
d660ef4da6 blank and switch to HGR1 before switching from search to attract mode 2019-06-20 14:35:18 -04:00
4am
2ae86337c5 launch from search mode 2019-06-20 14:18:23 -04:00
Peter Ferrie
c9f40539a7 restore buffer ordering 2019-06-20 11:16:26 -07:00
4am
9c65662193 Esc switches between major modes, add input timeout to search mode too 2019-06-20 13:56:31 -04:00
4am
94f9499ea0 update visible game count 2019-06-19 23:05:48 -04:00
4am
b0c585dc13 toggle both pages in search mode, update match highlighting even if screenshot doesn't change, support Esc to clear 2019-06-19 22:13:49 -04:00
4am
4803b46472 move font data to D600 in RAM bank 2 to free up space for program data 2019-06-19 21:50:48 -04:00
Peter Ferrie
fe48ae825a restore init order 2019-06-19 18:36:49 -07:00
Peter Ferrie
04968b7c49 move ProRWTS to LC2 2019-06-19 18:11:25 -07:00
Peter Ferrie
1966d4a893 store to $D000 2019-06-18 21:49:38 -07:00
4am
c9a00d6bef change LoadFile API 2019-06-18 22:40:17 -04:00
Peter Ferrie
98ed226562 move buffers 2019-06-18 17:55:44 -07:00
4am
7be18b8ce1 WIP search mode 2019-06-18 17:07:14 -04:00
4am
03de1b2a1a Merge branch 'master' of https://github.com/a2-4am/4cade 2019-06-18 16:54:18 -04:00
4am
eaadce7b8a WIP search mode 2019-06-18 16:54:15 -04:00
Peter Ferrie
046b5dc804 ResetTextRank on backspace 2019-06-18 13:52:35 -07:00
4am
1c7d40de87 Merge branch 'master' of https://github.com/a2-4am/4cade 2019-06-18 14:56:12 -04:00
4am
cd689703a6 WIP search mode 2019-06-18 14:56:05 -04:00
Peter Ferrie
8a6a8c6864 LoadFileAt 2019-06-17 20:05:19 -07:00
4am
f079744ece add more games, rename directories 2019-02-08 20:48:07 -05:00
4am
11df6957bc fix LoadSHRTransition and document the underlying cause 2019-01-18 09:19:32 -05:00
4am
be5e3fc856 Merge branch 'master' of https://github.com/a2-4am/4cade 2019-01-17 22:09:42 -05:00
4am
b5b1c0f384 Robotron fixes, split SHR slideshows 2019-01-17 22:09:36 -05:00
Peter Ferrie
329f867fd6 fix Tetrisk 128k 2019-01-16 13:12:57 -08:00
Peter Ferrie
9d104061f4 fix Tetris 48kb 2019-01-15 21:55:40 -08:00
4am
1552275076 refactor 2019-01-14 19:06:58 -05:00
4am
a347d5a32b Merge branch 'master' of https://github.com/a2-4am/4cade 2019-01-13 18:58:22 -05:00
4am
418c5e0245 working SHR slideshows 2019-01-13 18:55:40 -05:00