Lucas Scharenbroich
d9133a2170
Switch to using exported Tiled project assets
2021-08-14 20:58:37 -05:00
Lucas Scharenbroich
44ee61a3f3
Improve export of Tiled projects. Does level data and tileset export in one command now
2021-08-14 20:57:00 -05:00
Lucas Scharenbroich
191094e7e6
Update Tiled project to include a second layer, transparent color on tiles and better names
2021-08-14 20:56:19 -05:00
Lucas Scharenbroich
ce51563913
Fix small code issues and sync up tool output with code changes. Maps render again with solid tiles
2021-08-13 11:57:41 -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
90124b04bc
First draft of masked tile support
...
Need to have the called provide a copy of the base line address to the
masked drawing code and need to verify that the JTable entries are
ordered the same way as the byte offset so the same register can be used
to load the JMP addresses and patch in the LDA (DP),y instructions.
2021-08-13 10:05:28 -05:00
Lucas Scharenbroich
e3cb742626
Fix tile rendering
...
This is not quite correct yet. IT appears that two rows or columns are
drawn on the edges when only a single solumn or row is necessary. Also,
this code is based on the old GTE codebase, so the initial rectangle for
rendering tiles is width+1, height+1. This can be improved.
2021-08-10 07:59:14 -05:00
Lucas Scharenbroich
b9fced46cd
Debugging overlay to show variables on screen
2021-08-10 07:58:09 -05:00
Lucas Scharenbroich
97d05ee926
Fix wrong variable
2021-08-09 09:17:25 -05:00
Lucas Scharenbroich
d3b21a91b9
Fix full-screen tile refreshes; incremental tile drawing crashes
2021-08-09 06:08:09 -05:00
Lucas Scharenbroich
8d34da6c26
Add the old SMB keyboard read function to detect key-down instead of key-press
2021-08-07 21:22:37 -05:00
Lucas Scharenbroich
8d31720e1c
Add an extra column when coordinates are not tile-aligned
2021-08-07 21:21:28 -05:00
Lucas Scharenbroich
8ed851cb33
First pass at importing tilesets into GTE
2021-08-06 16:35:47 -05:00
Lucas Scharenbroich
b8d4ae780b
Fix crashing on horizontal tile map rendering; still some off-by-one errors
2021-08-06 15:57:03 -05:00
Lucas Scharenbroich
39639d54b5
Fix some small bugs with tile rendering; tiles display but crash after scrolling 8 bytes
2021-08-06 14:42:18 -05:00
Lucas Scharenbroich
d01791b440
Initialize more direct page variables and provide a flag to turn off sound
2021-08-06 14:41:23 -05:00
Lucas Scharenbroich
c6f6001e8f
Pull exported Tiled level data into the application; does not display anything yet
2021-08-05 21:19:43 -05:00
Lucas Scharenbroich
72ee2e7bc0
First version of Tiled Map import tool
2021-08-05 21:19:02 -05:00
Lucas Scharenbroich
d0e52fcc37
Rename PNG conversion tool
2021-08-05 20:26:18 -05:00
Lucas Scharenbroich
c6bc28e907
Some Tiled project files for testing
2021-08-05 20:24:42 -05:00
Lucas Scharenbroich
1d17b802ad
Add basic tilemap support back in
2021-08-05 08:20:38 -05:00
Lucas Scharenbroich
19070fa194
Reformat
2021-07-30 08:01:46 -05:00
Lucas Scharenbroich
56b5b69efa
Move rotation data to its own segment
2021-07-30 08:01:16 -05:00
Lucas Scharenbroich
1936a0898c
Sync up
2021-07-29 05:35:09 -05:00
Lucas Scharenbroich
65af5cbf26
Improve address generation
2021-07-27 16:28:18 -05:00
Lucas Scharenbroich
39e3fa9364
Fix an offset bug
2021-07-27 09:45:28 -05:00
Lucas Scharenbroich
87e46d95f5
Rotation!
2021-07-24 09:00:52 -05:00
Lucas Scharenbroich
cede4c69b4
Add timer infrastructure and two small examples
2021-07-20 12:42:21 -05:00
Lucas Scharenbroich
1fcd4589f7
Add horizontal BG1 offset support; frame lock demo to 60 fps
2021-07-20 00:02:20 -05:00
Lucas Scharenbroich
9cdba9a537
Add routine to do horizontal displacement of BG1
2021-07-19 22:52:42 -05:00
Lucas Scharenbroich
c5eb84ea37
Get the PEI Slammer working for exposing shadowed writes
2021-07-19 22:42:51 -05:00
Lucas Scharenbroich
d9e3ee14e8
Add small header to converted image data
2021-07-19 14:18:02 -05:00
Lucas Scharenbroich
9d33ff3000
Add file information metadata for cadius to use when adding assets to the disk image
2021-07-18 15:11:16 -05:00
Lucas Scharenbroich
760580d733
Tweak file loading functions
2021-07-18 08:59:19 -05:00
Lucas Scharenbroich
160a9afafb
Add proper handling of wraparound in vertical positioning
2021-07-17 21:00:46 -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
6fc772ce78
Sorted out BG1 edge artifacts
2021-07-16 17:05:29 -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
26e39e3bfd
Horizontal scrolling no longer crashes; still have incorrect edge rendering
2021-07-15 15:30:24 -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
be446589b0
Fix horizaontal ranges in actions
2021-07-14 15:23:49 -05:00
Lucas Scharenbroich
e14a8ec36f
Add a simple benchmark
2021-07-12 00:16:18 -05:00
Lucas Scharenbroich
e03859406e
Fix indexing issue with calculating a tile's top line
2021-07-10 20:46:32 -05:00
Lucas Scharenbroich
d1e59e81ac
Fix off-by-one error when rendering tiles
2021-07-10 20:43:55 -05:00
Lucas Scharenbroich
b5fa2d9266
Fix comment typos
2021-07-10 20:35:27 -05:00