Lucas Scharenbroich
027f9746ec
Checkpoint of work
2022-01-19 20:58:57 -06:00
Lucas Scharenbroich
140126afd8
Optimize odd-aligned case in the blitter
...
The SEP/REP pairs that are used to move in and out
of 8-bit mode to do the single-byte pushed on the left
and right edges of the screen can also be used to clear
the necessary carry and overflow flags.
2021-11-22 16:13:29 -06:00
Lucas Scharenbroich
4c31a0d056
Reorg of exception handling code in the core blitter
...
* Moved V-flag handling outside of the 32-byte exception handler
* Switched relative branches to JMP to save a cycle per word
* Updated macros to create a full code snippet instead of assuming
certain values exist in the exception handler buffer
2021-11-19 10:24:09 -06:00
Lucas Scharenbroich
4338b64338
First cut at a non-trivial overlay. Pallettes and tile indexes still to be fixed
2021-10-11 14:09:38 -05:00
Lucas Scharenbroich
d5421afdbd
Fix off-by-one issue in tile IDs and make the entry point consistent in the code field generator
2021-10-07 18:33:06 -05:00
Lucas Scharenbroich
87ded17e20
Initial Tiled tile animation export support
...
* Tiled tile animations read from TSX files
* Hooks for initialization generated by the tiled export tool
* Animated tiles implements with dynamic tiles backed by 2KB of direct
page space in Bank 00
* Animation resolution limited to 1/60th incremenents
TODO
* Fix crasher in the _DoScriptSequ timer callback
* Fix single-line of garbage on the top line of the dynamic tiles
2021-10-06 07:10:09 -05:00
Lucas Scharenbroich
69c6104742
Small initialization and jsr/jsl updates
2021-08-26 16:12:08 -05:00
Lucas Scharenbroich
652729081e
Stub in more tile rendering functions; does not crash but renders incorrectly
2021-08-13 11:38:06 -05:00
Lucas Scharenbroich
1936a0898c
Sync up
2021-07-29 05:35:09 -05:00
Lucas Scharenbroich
4b390fef20
Fix extra push in mixed rendering
2021-07-17 20:38:07 -05:00
Lucas Scharenbroich
bdf885dafd
First implementation of BG0/BG1 mixed exception handling
2021-07-16 23:09:08 -05:00
Lucas Scharenbroich
f2d82f810d
Very simple asset pipeline to transform PNG impage into raw binary files to load in the engine
2021-07-16 13:09:16 -05:00
Lucas Scharenbroich
62233d4abc
Remove dead code and fix right edge of BG1 rendering
2021-07-16 08:38:14 -05:00
Lucas Scharenbroich
abfcde54c2
Initial addition of BG1 support
2021-07-16 00:34:58 -05:00
Lucas Scharenbroich
63bfe5e8e7
Resolve horizontal scrolling issue with PEA code
2021-07-15 21:00:35 -05:00
Lucas Scharenbroich
b6fadedfc7
WIP of fixing horizontal scrolling
2021-07-15 13:53:53 -05:00
Lucas Scharenbroich
50f5da5608
WIP on BG0X positioning; fix tile horizonal calculation
2021-07-15 11:01:42 -05:00
Lucas Scharenbroich
e4d480d2be
Fix addressing issue in font routine and data-overwrite bug; Render no longer crashes!
2021-07-10 17:15:35 -05:00
Lucas Scharenbroich
469e8bb74a
Add all minimal function in place; not onto debugging
2021-07-09 15:38:32 -05:00
Lucas Scharenbroich
5d713caf5c
More parts of the render pipeline in place
2021-07-09 14:18:49 -05:00
Lucas Scharenbroich
7ee1ddb604
Fix cimpilation errors
2021-07-08 08:17:38 -05:00
Lucas Scharenbroich
8ec31631eb
Split up source code a bit more; work toward completing render pipeline
2021-07-08 07:46:35 -05:00
Lucas Scharenbroich
d1557437c5
Init tile sizes; fix merlin bug and fix bad jump table values
2021-03-24 06:37:48 -05:00
Lucas Scharenbroich
04f202c9f8
Allow dynamic user selection of playfield size
2021-03-21 23:44:33 -05:00
Lucas Scharenbroich
50a3f27a9a
Reorg files; focus on S16 artifact
2021-03-21 21:59:54 -05:00