Commit Graph

62 Commits

Author SHA1 Message Date
Lucas Scharenbroich
fa307e5542 Better support for user-defined tiles 2023-06-02 00:38:35 -05:00
Lucas Scharenbroich
aeb620fb7b Added sprite and background disable control bits 2023-05-28 07:49:37 -05:00
Lucas Scharenbroich
d3a7eecc6e Mostly working PPU integration with GTE rendering pipeline 2023-05-21 17:50:05 -05:00
Lucas Scharenbroich
64f7106143 Fix absolute address issue in rom 2023-05-19 20:40:52 -05:00
Lucas Scharenbroich
cb13c2ae2d Secret sauce 2023-05-16 12:34:18 -05:00
Lucas Scharenbroich
4ee67fb8be Add hook for VBL callback 2023-05-09 10:16:58 -05:00
Lucas Scharenbroich
869d80af1e Comment cleanup and minro refactoring 2023-04-28 00:13:05 -05:00
Lucas Scharenbroich
e013ff03fd Fix off-by-one error in overlay 2023-04-26 08:47:56 -05:00
Lucas Scharenbroich
b449d983ee Checkpoint for WIP scanline render fix for overlays+sprites and user-defined tiles 2023-04-26 00:41:17 -05:00
Lucas Scharenbroich
dc5742dd11 Remove dead code from codebase 2023-03-14 09:23:01 -05:00
Lucas Scharenbroich
d31bd30649 Implement full per-scanline offset support for BG1 2023-03-11 03:41:12 -06:00
Lucas Scharenbroich
9021ee4506 WIP of BG1 scanline effects
A static BG1 is stable with BG0 offset values.  A seam in BG1
needs to be closed up by taking into account the BG1XOrigin value
when setting the :shift_value.

Also, several routines were hard-coded for the scanline case.  These
hanges need to be reverted and properly parametereized.
2023-03-10 15:50:42 -06:00
Lucas Scharenbroich
e3409f92fa Add per-scanline offset rendering. 2023-03-09 15:29:58 -06:00
Lucas Scharenbroich
5697737a93 Add workable overlay support to the scanline renderer 2023-03-06 14:39:23 -06:00
Lucas Scharenbroich
c14f3c7283 Functional compiled sprites in demo-5 2023-03-01 13:18:37 -06:00
Lucas Scharenbroich
981182592e Shadow based rendering working in demo-5 2023-02-27 15:30:56 -06:00
Lucas Scharenbroich
31ca627c14 Make sprite pre-calc rotines more specific and fix x,y argument ordering in AddSprite 2023-01-08 01:30:51 -06:00
Lucas Scharenbroich
4b50fa8318 checkpoint 2023-01-02 11:04:26 -06:00
Lucas Scharenbroich
3fce46872d Checkpoint; blitter failing 2022-08-14 07:45:58 -05:00
Lucas Scharenbroich
e378dc6e26 Checkpoint with TF4 demo framework 2022-08-11 14:14:25 -05:00
Lucas Scharenbroich
97fa45589b Allow GTEStartUp caller to specify whether tool is loaded as a system or user tool 2022-08-01 22:00:54 -05:00
Lucas Scharenbroich
d332783c85 Add additional parameter to AddSprite to avoid needing to call UpdateSprite immediately 2022-07-26 00:10:53 -05:00
Lucas Scharenbroich
18da2546bd Add horizontal scaling to the background rotation 2022-07-22 02:01:34 -05:00
Lucas Scharenbroich
6c531619f9 Merge branch 'fixup-rotations' into kfest-2022 2022-07-21 23:35:53 -05:00
Lucas Scharenbroich
23f3626293 Fix issues preventing BG1 per-line offsets from working 2022-07-16 16:42:41 -05:00
Lucas Scharenbroich
0ab7fa9d81 Two layer demos 2022-07-16 15:22:23 -05:00
Lucas Scharenbroich
4506f808c9 Restore BG1 rotation code 2022-07-12 21:03:30 -05:00
Lucas Scharenbroich
9856bad091 Fix dirty<->normal rendering transition 2022-07-07 14:46:37 -05:00
Lucas Scharenbroich
41539ae606 Update zelda demo to use tool interface 2022-07-06 08:53:50 -05:00
Lucas Scharenbroich
4e21680063 Add a full complement of firty tile rendering functions 2022-07-05 23:48:33 -05:00
Lucas Scharenbroich
d720f0ccac Add two additional functions 2022-06-27 17:15:27 -05:00
Lucas Scharenbroich
a7dad98d50 Additional tweaks to get old sprite demo working 2022-06-27 11:24:04 -05:00
Lucas Scharenbroich
145fd2afc4 Fix argument definitions 2022-06-26 23:42:21 -05:00
Lucas Scharenbroich
8aafd5812b Work to expose times via Toolset 2022-06-26 22:08:42 -05:00
Lucas Scharenbroich
c257d72060 Fix argument handling in SetPalette 2022-06-25 21:21:20 -05:00
Lucas Scharenbroich
78ee683ba8 Stub in a lot of the remaining functions 2022-06-25 11:17:50 -05:00
Lucas Scharenbroich
3292572261 Add TwoLayer rendering stubs 2022-06-22 15:29:09 -05:00
Lucas Scharenbroich
4c1dba0f68 Complete Dynamic Tile renderer 2022-06-21 23:13:28 -05:00
Lucas Scharenbroich
76a9710114 Add dynamic rendering functions 2022-06-21 15:28:58 -05:00
Lucas Scharenbroich
a91f39aab8 Remove dead code and implement Slow tile renderers in terms of the Fast once to avoid code bloat 2022-06-21 13:33:17 -05:00
Lucas Scharenbroich
4ea3033b5e Get minimal tiles and sprites rendering without a crash 2022-06-20 17:57:19 -05:00
Lucas Scharenbroich
1f9c9b3f5b Checkpoint of final tile proc reorg for generalize new infrastructure for different engine modes 2022-06-20 15:55:09 -05:00
Lucas Scharenbroich
83ec527b06 Make the test demo more sophisticated; multiple sprites 2022-06-01 22:24:45 -05:00
Lucas Scharenbroich
10d6dc5931 Fix crashing when trying to render sprite; sprite not visible but have end-to-end code execution 2022-05-31 09:14:25 -05:00
Lucas Scharenbroich
78d7dafe14 Another checkpoint; converging on the working implementation 2022-05-31 08:43:26 -05:00
Lucas Scharenbroich
7909113a97 Checkpoint 2022-05-26 19:36:40 -05:00
Lucas Scharenbroich
5577105be8 Complete unrolled loop for clearing sprites from the tile store 2022-05-23 15:18:34 -05:00
Lucas Scharenbroich
9da3616c1d Start working to bring sprites rendering back into the pipeline 2022-05-22 23:54:47 -05:00
Lucas Scharenbroich
fc48330061 Fix bug in tile rendering and tile sheet copying 2022-05-18 22:49:14 -05:00
Lucas Scharenbroich
755ac3fbfd Move most data storage to separate bank; fix many banking bugs 2022-05-18 21:00:06 -05:00