Commit Graph

421 Commits

Author SHA1 Message Date
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
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
2e578148d9 Fix documentation for AddSprite 2022-07-24 21:21:10 -05:00
Lucas Scharenbroich
eb8f21acdd Add additional npm script targets 2022-07-24 21:20:54 -05:00
Lucas Scharenbroich
58426043fc Fix path to tool when building at the top-level 2022-07-24 21:20:33 -05:00
Lucas Scharenbroich
d7be9f1be4 Add .gitignore files to all demo folders 2022-07-23 16:37:11 -05:00
Lucas Scharenbroich
358b25447d Add generated assets to make it easier to build from scratch 2022-07-23 16:34:07 -05:00
Lucas Scharenbroich
df80889499 Merge branch 'kfest-2022' 2022-07-23 16:32:30 -05:00
Lucas Scharenbroich
4c1d8343d8 Save package lock 2022-07-23 16:32:17 -05:00
Lucas Scharenbroich
919dcf7fd3 Fix bit numbers in the GTEReadControl docs 2022-07-23 12:33:29 -05:00
Lucas Scharenbroich
0c7a6364b7 Sync documentation with current KFest demo capabilities 2022-07-23 09:57:03 -05:00
Lucas Scharenbroich
4b9d4233b3 Add in new toolbox calls 2022-07-22 16:31:49 -05:00
Lucas Scharenbroich
b35c96c0fb Set better default scale 2022-07-22 16:02:00 -05:00
Lucas Scharenbroich
f446e44a39 Fix arcs to Render 2022-07-22 16:01:19 -05:00
Lucas Scharenbroich
acf0276ff5 Get vertical rotation scaling going 2022-07-22 16:00:41 -05:00
dependabot[bot]
353c164f6b
Bump tzinfo from 1.2.9 to 1.2.10 in /docs
Bumps [tzinfo](https://github.com/tzinfo/tzinfo) from 1.2.9 to 1.2.10.
- [Release notes](https://github.com/tzinfo/tzinfo/releases)
- [Changelog](https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md)
- [Commits](https://github.com/tzinfo/tzinfo/compare/v1.2.9...v1.2.10)

---
updated-dependencies:
- dependency-name: tzinfo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22 09:36:33 +00:00
Lucas Scharenbroich
18da2546bd Add horizontal scaling to the background rotation 2022-07-22 02:01:34 -05:00
Lucas Scharenbroich
f7eb80f2fe Final demo in place 2022-07-22 00:36:52 -05:00
Lucas Scharenbroich
6c531619f9 Merge branch 'fixup-rotations' into kfest-2022 2022-07-21 23:35:53 -05:00
Lucas Scharenbroich
8541164fe6 Fix typos 2022-07-21 23:29:13 -05:00
Lucas Scharenbroich
45a8fef47b Add packages to top-level 2022-07-21 22:57:03 -05:00
Lucas Scharenbroich
d09f8e3681 Update old demos to current APIs 2022-07-21 22:56:32 -05:00
Lucas Scharenbroich
8aa816037c Misc odds-and-ends 2022-07-21 22:54:28 -05:00
Lucas Scharenbroich
3063ab88f9 Fix sprite stamp rendering for 8x16 and 16x8 sprites 2022-07-21 22:51:25 -05:00
Lucas Scharenbroich
217b1a95f5 Demo 9 2022-07-21 20:29:55 -05:00
Lucas Scharenbroich
3b274c7a81 Demo 5 complete 2022-07-21 20:26:46 -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
14238166cd More demos 2022-07-13 15:07:02 -05:00
Lucas Scharenbroich
d2b91cfde6 Fix palette assignment issue 2022-07-13 09:27:56 -05:00
Lucas Scharenbroich
1b7c2c22b1 KFest Demos 2022-07-13 08:57:05 -05:00
Lucas Scharenbroich
4506f808c9 Restore BG1 rotation code 2022-07-12 21:03:30 -05:00