Commit Graph

182 Commits

Author SHA1 Message Date
Lucas Scharenbroich
60d566e78c Create APU simulator for debugging 2023-06-16 01:05:31 -05:00
Lucas Scharenbroich
361c7dae56 Tweak conversion from APU value to DOC register value 2023-06-12 11:09:21 -05:00
Lucas Scharenbroich
1035af010d First sounds from emulated APU 2023-06-11 12:00:52 -05:00
Lucas Scharenbroich
4f2c2aac0b Wired all APU access to emulation layer. No sound yet :( 2023-06-10 21:05:11 -05:00
Lucas Scharenbroich
ef581ab97b Fix rendering bug that cause flicker when two sprites shared a block row 2023-06-07 23:42:48 -05:00
Lucas Scharenbroich
b45d2e27bf Fix bad color in overworld table 2023-06-06 14:31:07 -05:00
Lucas Scharenbroich
c2b37fdb71 Fix water world palette table 2023-06-06 10:57:23 -05:00
Lucas Scharenbroich
a2a0d3af9d Refine palette handling 2023-06-06 08:01:40 -05:00
Lucas Scharenbroich
d36e221080 Fix bowser flame init 2023-06-05 17:46:23 -05:00
Lucas Scharenbroich
552f32f917 Add more swizzle tables 2023-06-03 09:07:49 -05:00
Lucas Scharenbroich
5acd964917 Update palette based on AreaType 2023-06-02 21:55:55 -05:00
Lucas Scharenbroich
91454c9481 Move sprite blitter totally into app code 2023-06-02 15:56:13 -05:00
Lucas Scharenbroich
377ac1f788 Fix bad PPU attribute calculation 2023-06-02 08:16:00 -05:00
Lucas Scharenbroich
2c1b7567ec Fix comment typos 2023-06-02 08:15:43 -05:00
Lucas Scharenbroich
459bc645be Swizzle support 2023-06-02 00:37:14 -05:00
Lucas Scharenbroich
0715efa684 Check the background disable bit when rendering 2023-05-28 07:54:55 -05:00
Lucas Scharenbroich
cc36fcc0f8 Refix abs addr in rom 2023-05-27 08:23:18 -05:00
Lucas Scharenbroich
9560591642 Fix a few more abs addr locations 2023-05-26 12:42:15 -05:00
Lucas Scharenbroich
5e157072fa Adjust x-coordinate sprite cutoff 2023-05-26 12:41:49 -05:00
Lucas Scharenbroich
f8cd5c5a6c Fix typo in bowser setup 2023-05-26 08:04:07 -05:00
Lucas Scharenbroich
22f43a42de Add collision fixes 2023-05-25 08:03:20 -05:00
Lucas Scharenbroich
584f3b5ce5 Fix coin blocks 2023-05-24 20:59:12 -05:00
Lucas Scharenbroich
361e814fd0 Fixed title screen. Verified all of World 1 renders correctly 2023-05-24 14:44:15 -05:00
Lucas Scharenbroich
aa684ef58c Fresh rom2 that does not have the RenderArea bug 2023-05-24 14:31:49 -05:00
Lucas Scharenbroich
6c5bf4e494 Fix lakitu spawn bug and vine setup issue 2023-05-24 10:50:17 -05:00
Lucas Scharenbroich
56b66033a7 Add support for sprite priority 2023-05-22 13:55:56 -05:00
Lucas Scharenbroich
d402d60a4e Filter out more sprites and PPU nametable changes 2023-05-22 11:15:45 -05:00
Lucas Scharenbroich
166274c6c2 Move input read into VBL handler for better responsiveness 2023-05-22 00:36:47 -05:00
Lucas Scharenbroich
61cf1d49c8 Fix bmi/bpl branch bug 2023-05-22 00:05:51 -05:00
Lucas Scharenbroich
b0ed4f9692 Fix some bugs introduced by the abs indexed addressing mode changes 2023-05-21 23:37:36 -05:00
Lucas Scharenbroich
cc3ee6be0f Add larger PPU buffer 2023-05-21 23:36:52 -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
310c3487ca Support the sprite palette select bits in OAM 2023-05-17 12:59:07 -05:00
Lucas Scharenbroich
25c82cc44b Initial palette work; fix memory init bug 2023-05-16 22:38:54 -05:00
Lucas Scharenbroich
cb13c2ae2d Secret sauce 2023-05-16 12:34:18 -05:00
Lucas Scharenbroich
3eba3fa8e6 Secret stuff 2023-05-04 17:30:22 -05:00
Lucas Scharenbroich
e013ff03fd Fix off-by-one error in overlay 2023-04-26 08:47:56 -05:00
Lucas Scharenbroich
e6ab9a22e1 Quick change to make sure sprites work on top of scanline offset mode 2023-03-12 15:40:22 -05:00
Lucas Scharenbroich
7aec32ced5 Update demo to leverage BG1 scanline support 2023-03-11 03:42:23 -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
5cfefc350c Improve per-scanline demo 2023-03-09 16:17:55 -06:00
Lucas Scharenbroich
e3409f92fa Add per-scanline offset rendering. 2023-03-09 15:29:58 -06:00
Lucas Scharenbroich
9fba232df0 Minor cleanups 2023-03-09 00:27:03 -06:00
Lucas Scharenbroich
39163ea786 Expose the ability to select which rendering order to use for sprites 2023-03-09 00:23:12 -06:00
Lucas Scharenbroich
c533d846d7 Be more cautious when manipulaitng the sorted list 2023-03-08 20:09:57 -06:00
Lucas Scharenbroich
4bfdeae6aa Update some demos to match new behaviors 2023-03-06 14:39:38 -06:00
Lucas Scharenbroich
dd9ced08f1 Transition to fixed snippets 2023-03-02 23:24:03 -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