Commit Graph

1429 Commits

Author SHA1 Message Date
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
Peter Ferrie
f33bd6e260 . 2019-01-12 18:45:29 -08:00
Peter Ferrie
046c09e9fc . 2019-01-10 10:49:31 -08:00
Peter Ferrie
75e93634cd allow launching 2019-01-10 09:42:50 -08:00
4am
689ed36499 scaffolding of Play routine 2019-01-08 15:01:45 -05:00
4am
76d49fda57 add persistent reset vector 2019-01-08 14:10:26 -05:00
4am
8ab5bc2614 remove debug code 2019-01-07 21:40:47 -05:00
Peter Ferrie
e5c7783344 really this time 2019-01-07 17:58:11 -08:00
Peter Ferrie
536c32134c cut to allow reset vector hook 2019-01-07 14:44:40 -08:00
4am
488a4f6794 only one dedicated POP action slideshow 2019-01-06 20:44:01 -05:00
4am
6288c15343 split up some slideshows, reorder attract modules, wipe zero page before running captive demos 2019-01-05 17:49:58 -05:00
4am
4ca9500301 pad PREFS.CONF to 512 bytes because reasons 2019-01-04 12:23:27 -05:00
4am
27f2a75b84 call SaveGlobalPreferences 2019-01-03 21:01:55 -05:00
4am
58bbde8836 split up action slideshows 2018-12-29 21:25:16 -05:00
4am
c5fe257894 some comments 2018-12-29 13:43:59 -05:00
4am
a29146a605 some comments 2018-12-29 13:38:18 -05:00
4am
f86cf267ba add action slideshows 2018-12-29 13:29:17 -05:00
4am
222e077932 reenable search mode and fonts data 2018-12-28 15:11:38 -05:00
4am
0036d0cf5d reload ATTRACT.CONF and reparse into gAttractModeStore, which is now at 0x6000 and is overwritten after loading the current attract mode module from disk and saving the name of the next attract mode module 2018-12-28 15:08:36 -05:00
4am
7bf2959dd7 move gFXStore and gDFXStore to 0x6000 2018-12-28 14:22:57 -05:00
4am
624ac3c6ef move gSlideshow store to 0x0800 in main memory 2018-12-28 11:54:09 -05:00
4am
302bcadcd4 disable search mode until we work out memory constraints 2018-12-28 11:33:50 -05:00
Peter Ferrie
7efc7a8230 really preserve Y 2018-12-25 18:51:26 -08:00
4am
0103e0443c add Ceiling Zero captive demo 2018-12-23 11:13:47 -05:00
Peter Ferrie
28eff77da0 restore any active LC bank 2018-12-19 14:53:24 -08:00
4am
68085d257c call NORMAL ROM routine before executing a captive demo [fixes Snake Byte] 2018-12-14 15:03:44 -05:00
Peter Ferrie
ef541b08d9 clear decimal, re-enable ints on reentry 2018-12-09 16:04:36 -08:00
Peter Ferrie
fe3493d2b3 preserve screen holes across demo 2018-11-26 11:43:39 -08:00
4am
db29def11f off-by-1 bug in okvs_get 2018-11-19 20:52:12 -05:00
Peter Ferrie
88d037b685 fix Championship Lode Runner 2018-11-19 13:51:45 -08:00
Peter Ferrie
f312a6d3ee support Sammy Lightfoot 2018-11-18 18:12:26 -08:00
Peter Ferrie
c582f49c70 allow empty value lines 2018-11-18 18:12:26 -08:00
Peter Ferrie
9b6a21e2ea allow override of write address 2018-11-17 15:50:13 -08:00
Peter Ferrie
3ca6a4bdbc support Jungle Hunt 2018-11-17 09:16:55 -08:00
4am
a130581c17 read NEXTATTRACT from prefs on startup 2018-11-17 09:54:55 -05:00
4am
dd36021ed4 read NEXTFX and NEXTDFX from prefs on startup, plus some comments 2018-11-17 09:43:20 -05:00
4am
8f183e6f6a more prefs work 2018-11-17 09:02:43 -05:00
4am
f8ab1fd606 don't run DHGR slideshow on 64K machine 2018-11-16 22:41:38 -05:00
Peter Ferrie
67d878f470 always return success, fixes Championship Lode Runner 2018-11-16 14:27:23 -08:00
Peter Ferrie
e3cc555d19 preserve zpage across calls 2018-11-12 11:19:09 -08:00
4am
22c1186465 update glue documentation 2018-11-12 10:06:15 -05:00
Peter Ferrie
a2e4f1f583 close any open files on re-enter 2018-11-11 18:13:27 -08:00
Peter Ferrie
d49cc0393c allow close to be called even if nothing open 2018-11-11 17:55:11 -08:00
Peter Ferrie
90736b1735 correct return address when crossing page 2018-11-11 17:51:06 -08:00
4am
7b8a545d3e add Pitfall II captive demo 2018-11-11 13:56:00 -05:00
4am
2b3a4e24ce fix remaining ParseKeyValueList calling parameters 2018-11-11 08:42:53 -05:00
Peter Ferrie
0eeb1f350d support GetAttributes command 2018-11-10 20:25:50 -08:00
4am
21d1721b38 . 2018-11-10 10:14:12 -05:00
4am
afcec48d1d add SaveSmallFile, untested, YOLO 2018-11-10 10:08:14 -05:00
4am
e2fff8a4ee . 2018-11-10 08:36:36 -05:00
4am
c406b2e2ec refactor 4cade.a into 4cade.init.a and ui.attract.mode.a, add DFX.CONF, add PREFS.CONF (not yet used) 2018-11-07 18:56:39 -05:00
4am
6145de0581 Merge branch 'master' of https://github.com/a2-4am/4cade 2018-11-06 21:18:20 -05:00
4am
8124144a45 add fx/dhgr.iris, ripple, star, radial1-5 2018-11-06 21:18:13 -05:00
Peter Ferrie
3684510a30 more efficient 2018-11-06 11:07:06 -08:00
Peter Ferrie
3d958303e9 sync, cache prefix 2018-11-05 22:16:35 -08:00
4am
6c2d1e1f5a refactor precomputed fx, add fx/ripple2 2018-11-04 11:09:37 -05:00
4am
d124019918 add fx/sunset, fx/radial2, fx/radial3, fx/radial4, fx/radial5 2018-11-04 10:18:30 -05:00
4am
05ac8136f3 add fx/fourspiral 2018-11-03 20:04:41 -04:00
4am
1ef1b5608f add fx/star 2018-11-03 15:24:23 -04:00
4am
22c3b2e38e add fx/ripple 2018-11-03 14:03:38 -04:00
4am
eefc1bb45b refactor iris around quadratic spiral 2018-11-03 11:39:07 -04:00
4am
05fd4fce1e . 2018-11-03 11:04:31 -04:00
4am
c5ee02aa5e add fx/split.ud.intro 2018-11-03 11:04:09 -04:00
4am
201b3f5d5a add fx/stagger.ud, stagger.ud.white, stagger.lr, stagger.lr.white, corner.cicle, sunrise, radial 2018-11-03 09:23:04 -04:00
4am
b43d91314e refactor fx/fx.hgr.diagonal to use half blocks 2018-11-01 22:48:39 -04:00
4am
d886b463d0 add fx/fx.hgr.halfblock.fizzle and halfblock.mosaic 2018-11-01 22:35:48 -04:00
4am
bfd7a8a488 add fx/fx.hgr.checkerboard 2018-11-01 21:31:14 -04:00
4am
0d1563b73b add fx/fx.hgr.diamond 2018-11-01 20:59:23 -04:00
4am
e0abf2e1ef add fx/fx.hgr.onesquare.a 2018-11-01 20:43:54 -04:00
4am
d646287137 add fx/fx.hgr.foursquare 2018-11-01 20:32:42 -04:00
4am
dc9a72de43 . 2018-11-01 20:06:32 -04:00
Peter Ferrie
73f8a2d635 sync latest, hook up seek, now Lode Runner can start
use of $1Fxx causes conflict, though
2018-10-31 22:48:35 -07:00
4am
27e9821b11 . 2018-10-31 22:45:48 -04:00
4am
0db950038c . 2018-10-31 22:41:49 -04:00
4am
66b33dfd2f . 2018-10-31 22:37:17 -04:00
4am
3d056af2ca add fx/fx.hgr.crystal 2018-10-31 22:25:59 -04:00
4am
cc76275366 add ProBoot bootloader 2018-10-31 11:13:03 -04:00
4am
c21dbf84b5 . 2018-10-31 10:39:54 -04:00
4am
7d004e7ea6 . 2018-10-31 10:38:09 -04:00
Peter Ferrie
f9365ef482 winmake, proboot, start on mini ProDOS, fix DHGR->HGR colour 2018-10-30 22:59:36 -07:00
4am
eafd31134e add fx/fx.hgr.2pass.lr 2018-10-30 21:28:14 -04:00
4am
797a519532 refactor fx/fx.hgr.interlock.lr 2018-10-30 21:17:35 -04:00
4am
d4093494a1 add fx/fx.hgr.block.mosaic 2018-10-30 19:26:20 -04:00
4am
c3a0f77270 add fx/fx.hgr.block.fizzle 2018-10-30 18:27:51 -04:00
4am
03f725bdde add fx/bar.dissolve 2018-10-29 21:27:11 -04:00
4am
6ed2e7b6f3 assemble transition effects to separate files and load them on demand 2018-10-29 19:23:43 -04:00
4am
ce60795f54 add fx.hgr.iris 2018-10-29 12:11:57 -04:00
4am
6f07549dd0 added fx.hgr.spiral 2018-10-29 07:21:47 -04:00
4am
8e72f1d54f add fx.hgr.diagonal.a 2018-10-28 22:59:51 -04:00
4am
83404fb528 add fx.interlockinghorizontal.a 2018-10-28 20:23:04 -04:00
4am
24694f10ad add fx.hgr.skipaline 2018-10-28 20:05:59 -04:00
4am
e337795062 . 2018-10-28 17:24:14 -04:00
4am
c937771198 captive demos work 2018-10-28 17:20:48 -04:00
4am
1998cdbc53 . 2018-10-28 14:05:54 -04:00
4am
ddc906d3ca DHGR slideshows work 2018-10-28 14:04:52 -04:00
4am
b855481e69 attract mode HGR slideshows work 2018-10-28 11:44:26 -04:00
4am
2136ab3a62 . 2018-10-27 18:47:27 -04:00
4am
7fa75e7269 Merge branch 'master' of https://github.com/a2-4am/4cade 2018-10-24 09:44:32 -04:00
4am
d1604de94b . 2018-10-24 09:44:30 -04:00
Peter Ferrie
b43447503f avoid false overflow report at top of memory 2018-10-23 17:50:30 -07:00
Peter Ferrie
365d7397b4 keep load address for later 2018-10-23 14:47:26 -07:00
4am
45901afa57 . 2018-10-23 15:44:06 -04:00
4am
abfa0261a9 . 2018-09-13 09:53:04 -04:00
4am
7e28ff5275 new ProRWTS2, add qkumba's subdirectory support in LoadFile 2018-08-31 18:04:00 -07:00
4am
ae064cdee6 games.conf parser works, okvs works, glue.prorwts2 works 2018-08-30 21:31:54 -07:00
4am
28f6ff99f2 initial port of OKVS and common macros to 6502 2018-08-30 16:30:58 -04:00
4am
6d7a8158f3 add 64K check 2018-08-30 13:07:21 -04:00
4am
7cc325e35b working 128K check, new covers 2018-08-29 15:27:30 -04:00
4am
b03ac885e4 joystick detection works 2018-08-27 15:39:08 -04:00
4am
d0609ba88d . 2018-08-26 15:33:32 -04:00
4am
d21e074f27 . 2018-08-23 16:02:48 -04:00
4am
9e024d24f8 . 2018-08-21 09:58:28 -04:00