Commit Graph

284 Commits

Author SHA1 Message Date
Vince Weaver
2dbb97a7ab tfv: work on graphics a bit 2018-06-20 15:16:33 -04:00
Vince Weaver
f4558d8c24 tfv: update game data 2018-06-19 23:54:34 -04:00
Vince Weaver
6756a8d506 tfv: update some bounding boxes 2018-06-19 00:08:50 -04:00
Vince Weaver
1396779bd2 tfv: add support for sub-levels 2018-06-18 17:02:13 -04:00
Vince Weaver
5059b4a805 tfv: collision detect on worldmap works (mostly) 2018-06-18 15:03:02 -04:00
Vince Weaver
f7092abe2c tfv: more making the worldmap display generic 2018-06-18 12:48:41 -04:00
Vince Weaver
ba13283425 tfv: make min y value on map configurable 2018-06-18 11:59:47 -04:00
Vince Weaver
81fa8dc184 tfv: update game engine 2018-06-18 11:58:36 -04:00
Vince Weaver
0e0344fd0e tfv: making engine generic 2018-06-15 00:08:15 -04:00
Vince Weaver
d23cdf4271 tfv: work on having a unified worldmap definition 2018-06-13 00:32:46 -04:00
Vince Weaver
8304a6abfe tfv: datastructures 2018-06-12 00:44:34 -04:00
Vince Weaver
24bd994b01 gr-sim: tfv: fix Makefile 2018-06-11 00:23:44 -04:00
Vince Weaver
fa2c44d997 missing Makefile. Really need to set up proper .gitignore 2018-06-10 23:11:59 -04:00
Vince Weaver
d2e46d9b49 gr-sim: split things into separate subdirs 2018-06-10 13:04:30 -04:00
Vince Weaver
62391aa514 chiptune_player: implemented stepwise lz4
better, but still not acceptable
2018-02-25 01:08:14 -05:00
Vince Weaver
b6e4b5ac8c chiptune_ update krw decode
lz4 is taking 0.6s!
2018-02-23 01:03:18 -05:00
Vince Weaver
f3b7a21ce2 chiptune: update krw decoder 2018-02-23 00:16:43 -05:00
Vince Weaver
ae638b8a37 asm_routines: lz4 decode: update with official qkumba fix 2018-02-21 16:01:08 -05:00
Vince Weaver
0850eb63c1 chiptune: found bug in lz4 code 2018-02-20 23:18:28 -05:00
Vince Weaver
0cb0911151 chiptune: more debugging of lz4 code 2018-02-20 01:15:15 -05:00
Vince Weaver
e0946b1bdf chiptune: lz4 decode
doesn't work :(

problem seems to be in lz4 code
2018-02-20 00:01:15 -05:00
Vince Weaver
c20f290275 mockingboard: lz4d allow setting filename 2018-02-15 00:43:58 -05:00
Vince Weaver
2e7e4ed267 gr-sim: rename lz4d_verbose 2018-02-14 16:28:22 -05:00
Vince Weaver
4ee222daee gr-sim: got lz4 decode working 2018-02-14 15:30:57 -05:00
Vince Weaver
3b7529991e gr-sim: fix carry flag in SBC 2018-02-14 14:09:54 -05:00
Vince Weaver
ecc4a5bb1c gr-sim: add 6502 test harness 2018-02-14 13:57:58 -05:00
Vince Weaver
bf430d808a gr-sim: combine the 6502 emulation stuff 2018-02-14 13:10:01 -05:00
Vince Weaver
65bfb2ba45 gr-sim: working on l4d 2018-02-14 13:03:32 -05:00
Vince Weaver
b3601c9f78 gr-sim: split the 6502 emulation from the graphics emulation 2018-02-14 13:03:15 -05:00
Vince Weaver
4ae00f4e9d mockingboard: work on lz4 decoder 2018-02-14 00:41:23 -05:00
Vince Weaver
38e28f4169 mode7_demo: split out island vs checkerboard flying 2018-01-28 00:45:31 -05:00
Vince Weaver
3d2f707a9e mode7: update text demo 2018-01-24 12:31:05 -05:00
Vince Weaver
d8de617a06 mode7: add initial rasterbars code 2018-01-13 00:59:53 -05:00
Vince Weaver
c11bc0b1f8 mode7: trying to figure out differential rasterbar speed 2018-01-10 16:25:50 -05:00
Vince Weaver
c0145492ca mode7: update rasterbars 2018-01-10 00:38:50 -05:00
Vince Weaver
d506bff1a0 mode7: update text_demo 2018-01-09 00:42:15 -05:00
Vince Weaver
5889cca76b mode7: add text_demo 2018-01-08 16:03:51 -05:00
Vince Weaver
d26ba2c90b gr-sim: update to use fast_clear routines more similar to tfv 2018-01-08 14:01:19 -05:00
Vince Weaver
0233210271 mode7: some more demo work 2018-01-08 00:50:18 -05:00
Vince Weaver
6af4836f26 mode7: starfield works 2017-12-31 13:57:52 -05:00
Vince Weaver
ce4eafc474 mode7: 6502 matches C 2017-12-31 12:04:39 -05:00
Vince Weaver
d1a0ac9144 mode7: more starfield work 2017-12-30 00:43:39 -05:00
Vince Weaver
83090145de mode7: optimize fixed starfield a bit 2017-12-28 23:33:31 -05:00
Vince Weaver
3b53300ca2 mode7: update fixed-point starfield 2017-12-28 23:27:31 -05:00
Vince Weaver
96cd7ac131 mode7: more work on starfield 2017-12-28 13:17:16 -05:00
Vince Weaver
e3185239bc mode7: re-optimize rle compression
smaller now.  Still need to fix asm version
2017-12-15 15:25:26 -05:00
Vince Weaver
819b618b70 mode7: work on fade 2017-12-15 14:04:50 -05:00
Vince Weaver
e60974a9ef mode7: comment gr-sim rle unpack a bit better 2017-12-15 11:29:20 -05:00
Vince Weaver
20dfdcc36e mode7: more planning changes 2017-12-15 09:20:40 -05:00
Vince Weaver
58adfcfcd0 gr-sim: add starfield demo 2017-12-14 16:52:58 -05:00
Vince Weaver
af84003bcc tfv: update to v004 2017-12-01 16:02:21 -05:00
Vince Weaver
d86a962432 tfv: move lookup_map inline 2017-12-01 00:01:34 -05:00
Vince Weaver
e37caf6624 tfv: some more multiplaction result arranging 2017-11-30 01:02:45 -05:00
Vince Weaver
91706259a7 tfv: use the re-arranged multiply register results to optimize
cycle count actually gets worse, but that was due to a bug in
the cycle counting missing two of the add routines
2017-11-30 00:37:57 -05:00
Vince Weaver
d3a054b98b tfv: move spacez updates out of line 2017-11-30 00:13:23 -05:00
Vince Weaver
dc0827941e tfv: inner loop optimization 2017-11-29 23:17:32 -05:00
Vince Weaver
99343668a1 tfv: add more comments to the code 2017-11-29 12:53:29 -05:00
Vince Weaver
51befa0f01 tfv: inline the signed multiply 2017-11-29 01:04:07 -05:00
Vince Weaver
fa45d4bd72 tfv: forgot to update the signed multiply part of things 2017-11-29 00:49:01 -05:00
Vince Weaver
f6d358e025 tfv: update the multiply code 2017-11-29 00:38:41 -05:00
Vince Weaver
a7f4ec0bc0 tfv: optimize the multiply routine down some more 2017-11-29 00:38:06 -05:00
Vince Weaver
4d86457d96 tfv: more optimization, move SCREEN_X to register X 2017-11-26 21:58:58 -05:00
Vince Weaver
5cee1db0b1 tfv: add some self-modifying code 2017-11-26 20:51:24 -05:00
Vince Weaver
0f100138f1 tfv: some more minor speedups 2017-11-26 19:20:58 -05:00
Vince Weaver
1bb8491f68 tfv: make the speed handling more similar on the two versions 2017-11-26 18:27:58 -05:00
Vince Weaver
b72d12eea8 tfv: make help properly redraw sky when done 2017-11-26 17:59:27 -05:00
Vince Weaver
fa8553aeb9 tfv: remove excess copying into temp variables 2017-11-26 17:48:01 -05:00
Vince Weaver
b6335d4419 tfv: switch over to 40x40 mode
framerate is back to 4fps
2017-11-26 15:12:21 -05:00
Vince Weaver
03e7afe1ce tfv: remove old multiply code 2017-11-26 11:21:54 -05:00
Vince Weaver
024d38ce36 tfv: update with over_water optimization 2017-11-26 01:02:02 -05:00
Vince Weaver
3430394d99 tfv: optimize to not always draw sky 2017-11-26 00:10:58 -05:00
Vince Weaver
92e9d3a055 tfv: add cache for the color values 2017-11-25 23:27:55 -05:00
Vince Weaver
71fde333c9 tfv: optimize the multiply some more 2017-11-25 21:55:45 -05:00
Vince Weaver
7a7344f689 tfv: re-arrange the multiplies so we can use self-modifying feature 2017-11-25 01:57:05 -05:00
Vince Weaver
7b3127a3ea tfv: hook up the fast multiply code 2017-11-25 01:30:22 -05:00
Vince Weaver
c52ea7ceff tfv: get fast multiply working in C 2017-11-25 00:56:41 -05:00
Vince Weaver
783e26d369 tfv: update cycle counts 2017-11-24 14:40:50 -05:00
Vince Weaver
db5b86289a tfv: more cycle annotation 2017-11-24 00:17:43 -05:00
Vince Weaver
aff3b25264 tfv: more cycles annotations 2017-11-23 23:57:30 -05:00
Vince Weaver
91df570368 tfv: add more cycle annotations 2017-11-22 23:50:43 -05:00
Vince Weaver
be98d15390 tfv: some cycle counting 2017-11-22 01:02:29 -05:00
Vince Weaver
7c764fb0c1 tfv: use zero page for fixed point 2017-11-21 22:29:45 -05:00
Vince Weaver
d739b8f6db tfv: convert some variables 2017-11-21 21:11:17 -05:00
Vince Weaver
7535c5789d tfv: split up the flying code into component pieces 2017-11-21 21:04:38 -05:00
Vince Weaver
939cc6236b tfv: fix inventory 2017-11-18 23:17:26 -05:00
Vince Weaver
139c65f1ff tfv: get the forest working 2017-11-18 22:52:25 -05:00
Vince Weaver
1d3a25158f tfv: get ground scatter working 2017-11-18 21:18:01 -05:00
Vince Weaver
36695657c0 tfv: implement help screen 2017-11-18 15:17:28 -05:00
Vince Weaver
294d0da64c tfv: add print_both_pages() routine 2017-11-18 14:31:03 -05:00
Vince Weaver
26fbd6db55 tfv: animate the ship landing 2017-10-22 23:26:08 -04:00
Vince Weaver
7844a43608 tfv: add bird sprites 2017-10-21 23:48:21 -04:00
Vince Weaver
1cf33eeea9 tfv: flying more or less works 2017-10-09 15:36:25 -04:00
Vince Weaver
eb861dec8f tfv: update text printing code some more 2017-09-19 00:43:17 -04:00
Vince Weaver
df7b4fb5d7 tfv: start converting text generation 2017-09-19 00:26:38 -04:00
Vince Weaver
9941ebcae8 tfv: add fountain note 2017-09-14 16:00:55 -04:00
Vince Weaver
edf4ce1982 tfv: fix up the graphics a bit 2017-09-14 15:55:43 -04:00
Vince Weaver
e70e694af8 tfv: allow entering city map 2017-09-14 15:12:38 -04:00
Vince Weaver
777dd60d66 tfv: update battle to use pageflip 2017-09-13 17:10:44 -04:00
Vince Weaver
20c98f7416 tfv: fix worldmap drawing
some of it was broken by changes made when developing tfv_flying
2017-09-13 14:32:08 -04:00
Vince Weaver
f9bceb6768 tfv: move worldmap to page flipping 2017-09-12 23:24:44 -04:00
Vince Weaver
d71a601f4f tfv: more work on flying 2017-09-11 23:54:31 -04:00
Vince Weaver
39fe5e542a tfv: merge fixed point and plain 2017-09-11 23:11:47 -04:00
Vince Weaver
2d3f39dc34 tfv: another silly cut-and-paste typo
island doesn't disappear when we turn anymore
2017-09-11 16:15:13 -04:00
Vince Weaver
0486ef4bbd tfv: closer 2017-09-10 23:42:47 -04:00
Vince Weaver
20b070a413 tfv: multiply finally working 2017-09-07 01:32:31 -04:00
Vince Weaver
621f808531 tfv: wasted a lot of time trying to get signed 16x16 multiply working 2017-09-06 23:17:39 -04:00
Vince Weaver
efb63f57b7 tfv: first pass of 6502 fixed point 2017-09-02 00:23:38 -04:00
Vince Weaver
36bab516c6 tfv: more work on flying code 2017-08-27 00:11:53 -04:00
Vince Weaver
65b72664ac tfv: update flying code some more 2017-08-25 01:34:14 -04:00
Vince Weaver
373a289ca3 tfv: complete conversion to fixed point 2017-08-24 17:07:21 -04:00
Vince Weaver
762793f06d tfv: more fixed point conversion 2017-08-24 14:40:33 -04:00
Vince Weaver
c84ea111c9 tfv: add way of messing with horizon/scale 2017-08-24 14:13:43 -04:00
Vince Weaver
4e83e3be32 tfv: more fixed point changes
ship movement handled now
2017-08-24 14:01:16 -04:00
Vince Weaver
468b94f24e tfv: more work on fixed point conversion
struggling with speed a bit
2017-08-24 13:30:19 -04:00
Vince Weaver
3bbe719824 tfv: working on fixed point 2017-08-23 23:43:49 -04:00
Vince Weaver
ef64d2c4ba tfv: starting to convert floating point to lookup tables 2017-08-23 21:16:17 -04:00
Vince Weaver
57ec050aae tfv: add multi-page plot routine 2017-08-23 19:52:28 -04:00
Vince Weaver
5b9ad56cc1 tfv: have minmal flying going on in 6502 version 2017-08-23 15:41:37 -04:00
Vince Weaver
fe0ade564b tfv: add tfv_put_sprite_page() 2017-08-23 14:06:38 -04:00
Vince Weaver
86167a1245 tfv: start cleaning up flying code 2017-08-23 14:01:40 -04:00
Vince Weaver
d4fa7a1337 tfv: more work on the flying 2017-08-23 00:43:15 -04:00
Vince Weaver
aff55f6629 tfv: more tweaks to the flying code 2017-08-22 16:32:21 -04:00
Vince Weaver
53a159237d tfv: make mode7_demo a standalone program 2017-08-18 14:26:18 -04:00
Vince Weaver
9b67ba27b5 tfv: got mode7 flying going 2017-08-17 16:00:48 -04:00
Vince Weaver
15a8d0a983 tfv: got opener working again
(),Y and # again are nothing but trouble
2017-08-16 22:20:48 -04:00
Vince Weaver
6ff122f75c tfv: working on updating the opener for pageflipping
doesn't work
2017-08-16 18:59:08 -04:00
Vince Weaver
a494dc56e9 tfv: autogenerate background include for assembly language 2017-08-16 15:13:43 -04:00
Vince Weaver
10c27a3648 tfv: finish splitting up tfv.c 2017-08-16 14:46:45 -04:00
Vince Weaver
c04d93fa5b tfv: finally have code working as well as before page-flipping 2017-08-13 22:59:37 -04:00
Vince Weaver
65e3b2e60b tfv: autogenerate the backgrounds 2017-08-13 16:24:57 -04:00
Vince Weaver
207e081b84 tfv: more file split up 2017-08-13 15:38:49 -04:00
Vince Weaver
10672133ad tfv: get the opening screen working with page flipping 2017-08-13 15:17:03 -04:00
Vince Weaver
16a3e6d615 tfv: move backgrounds around 2017-08-12 20:52:18 -04:00
Vince Weaver
b39269aaf5 tfv: add screen clearing routines 2017-08-12 20:35:36 -04:00
Vince Weaver
37c0a98574 tfv: fix compile warnings 2017-08-12 20:16:45 -04:00
Vince Weaver
bc9937215f tfv: split up the files 2017-08-12 20:15:34 -04:00
Vince Weaver
13119609e1 tfv: add initial page flip support 2017-08-12 19:44:35 -04:00
Vince Weaver
9372096b5c tfv: first pass at collision detection 2017-08-11 01:21:00 -04:00
Vince Weaver
2c276a6d4e tfv: add desert 2017-08-11 00:23:18 -04:00
Vince Weaver
8eee92d73d tfv: update lightning damage 2017-08-07 21:21:54 -04:00
Vince Weaver
22f6ec2e2f tfv: update the world map area
all it needs is collision detection
2017-07-30 21:31:28 -04:00
Vince Weaver
efda3b3d7d tfv: improve shoreline drawing 2017-07-27 00:41:45 -04:00
Vince Weaver
4841c64ca7 tfv: update color of landing background 2017-07-26 23:54:39 -04:00
Vince Weaver
24441fc9bc tfv: update time display to have leading zeros 2017-07-25 22:15:30 -04:00
Vince Weaver
6f5361def8 tfv: keep track of steps/time 2017-07-25 22:13:11 -04:00
Vince Weaver
b11e1fc9cd tfv: more world map improvements 2017-07-25 00:42:50 -04:00
Vince Weaver
28b6e90343 tfv: add some more sprites 2017-07-24 00:38:21 -04:00
Vince Weaver
d9feadde1c tfv: info screen more or less works 2017-07-22 16:45:53 -04:00
Vince Weaver
024b5e9468 tfv: work on getting info screen working 2017-07-20 22:39:50 -04:00
Vince Weaver
06421090ff tfv: imrpove world map a bit 2017-07-20 14:06:13 -04:00