Commit Graph

452 Commits

Author SHA1 Message Date
Lucas Scharenbroich
e2e30dfcf4 Checkpoint for initial framing for compiled sprite support 2023-02-28 11:17:43 -06:00
Lucas Scharenbroich
981182592e Shadow based rendering working in demo-5 2023-02-27 15:30:56 -06:00
Lucas Scharenbroich
af6e022454 WIP for working through scanline algos 2023-02-23 19:24:09 -06:00
Lucas Scharenbroich
46a88b1d22 Sync old code 2023-02-23 19:23:03 -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
2af4dddb8e Fix common init functions 2023-01-02 20:44:40 -06:00
Lucas Scharenbroich
f8fe9e40cb Merge branch 'master' into scanline-offsets 2023-01-02 20:41:39 -06:00
Lucas Scharenbroich
48bf7145d8 Fix parameters to startup and tile init 2023-01-02 20:40:09 -06:00
Lucas Scharenbroich
50930af362 Re-add tile load 2023-01-02 20:39:40 -06:00
Lucas Scharenbroich
4b50fa8318 checkpoint 2023-01-02 11:04:26 -06:00
Lucas Scharenbroich
50b15a8276 Merge branch 'master' into scanline-offsets 2022-12-04 15:49:47 -06:00
Lucas Scharenbroich
ff542c9575 Update docs for GTELoadTileSet 2022-11-24 09:26:26 -06:00
Lucas Scharenbroich
b8a7641307 Add in all linked list operations 2022-09-08 21:51:00 -05:00
Lucas Scharenbroich
eaedee546e Remove dead / obsolete code 2022-09-02 20:38:10 -05:00
Lucas Scharenbroich
217a1176a9 Remove obsolete blitter routines 2022-09-02 20:37:26 -05:00
Lucas Scharenbroich
33da3d4a97 Final clean up 2022-08-27 19:51:31 -05:00
Lucas Scharenbroich
0b31e9ead2 Addtweaked files 2022-08-27 19:24:07 -05:00
Lucas Scharenbroich
6bb2c437e3 Add C header file 2022-08-27 19:23:17 -05:00
Lucas Scharenbroich
95cf3d18bb Merge branch 'scanline-offsets' into chrisv 2022-08-27 15:55:14 -05:00
Lucas Scharenbroich
700a3124fd Fix demo-1 init 2022-08-27 15:53:48 -05:00
Lucas Scharenbroich
10729c59a9 Work on ChrisV C demo 2022-08-27 15:53:02 -05:00
Lucas Scharenbroich
1a7fe4bd1a Add ORCA/C output support to png2iigs tool 2022-08-27 14:06:35 -05:00
Lucas Scharenbroich
3fa0f94aaf Commit TF4 demo changes 2022-08-16 19:48:26 -05:00
Lucas Scharenbroich
bd1de7f83c Checkpoint 2022-08-16 19:47:19 -05: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
4815254d5f Fix typo 2022-08-04 15:25:17 -05:00
Lucas Scharenbroich
273cf2572c Add documentation on the GTEGetTileDataAddr function 2022-08-04 15:23:15 -05:00
Lucas Scharenbroich
093bc738f0 Merge branch 'master' into scanline-offsets 2022-08-01 22:21:52 -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
5883de1f71 Checkpoint 2022-08-01 21:46:00 -05:00
Lucas Scharenbroich
7a6c4e5ff4 Break up Ypos loop into pre/loop/post segment to optimize. Saved ~5,000 cycles/sec. When applied to the other routines will save a few thousand more cycles 2022-07-31 11:51:42 -05:00
Lucas Scharenbroich
4c21d6e217 Merge branch 'master' into scanline-offsets 2022-07-30 11:07:55 -05:00
Lucas Scharenbroich
bc5229b528 Add link to merlin32 1.1.10 2022-07-30 11:07:03 -05:00
Lucas Scharenbroich
0915f5e93b Add note about requiring newer version of merlin32 2022-07-30 11:05:49 -05:00
Lucas Scharenbroich
794bc1fc09 Start adding scanline variants 2022-07-30 11:04:13 -05:00
Lucas Scharenbroich
a33779ae28 Merge branch 'master' of https://github.com/lscharen/iigs-game-engine 2022-07-28 13:28:03 -05:00
Lucas Scharenbroich
7c32c89493 Merge branch 'streamline-apply-bg0' 2022-07-28 13:27:47 -05:00
Lucas Scharenbroich
456744027d Inline all functions that are only called once
Eliminates the JSR/RTS overhead for the copy functions.  Combined
with the other streamlining, we save around 60 - 70 cycles per
bank, or a total savings of around 10,000 cycles per seconds when
running at full screen.

This doesn't really change the FPS, but just gives some cycles
back to the main application logic.
2022-07-28 13:15:46 -05:00
Lucas Scharenbroich
f5cad6b4dc
Merge pull request #11 from lscharen/dependabot/bundler/docs/nokogiri-1.13.6
Bump nokogiri from 1.12.5 to 1.13.6 in /docs
2022-07-28 12:24:20 -05:00
Lucas Scharenbroich
b3beca91fd
Merge pull request #13 from lscharen/dependabot/bundler/docs/tzinfo-1.2.10
Bump tzinfo from 1.2.9 to 1.2.10 in /docs
2022-07-28 12:24:07 -05:00
Lucas Scharenbroich
babd4d06b4
Merge pull request #15 from dmalec/platform-neutral-paths
Switched back slash to forward slash in assembly so Merlin32 works on OSX as well as Windows
2022-07-28 12:20:40 -05:00
Lucas Scharenbroich
dedb657546 Remove redundent initialization 2022-07-28 12:18:54 -05:00
Lucas Scharenbroich
fa731f4b2d Streamline restore BG0; experiment with more aggressive inlining 2022-07-28 12:15:00 -05:00
Lucas Scharenbroich
0f920acd03 Eliminate redundent register loads 2022-07-28 11:57:14 -05:00
Lucas Scharenbroich
f5a27362a7 Remove ommented out code 2022-07-28 11:56:05 -05:00
Lucas Scharenbroich
e25b5b4d7f Correctly initialize the screen size 2022-07-27 23:42:26 -05:00
Dan Malec
9849c6bbb1 Switched back slash to forward slash in assembly so Merlin32 works on OSX as well as Windows 2022-07-27 17:56:27 -04:00
Lucas Scharenbroich
5a0e0e447e Change GTESetScreenMode to use bytes for the width 2022-07-26 00:21:22 -05:00
Lucas Scharenbroich
68b8ca5856 Remove a CLC from the inner dispatch. Saves 2 cycles per block per sprite at the cost of 2 cycles per sprite 2022-07-26 00:11:47 -05:00