commanderx16 / x16-demo

73 stars 29 forks source link

Layer demo working without electricity animation #106

Open jestin opened 4 years ago

jestin commented 4 years ago

This fixes the layer demo for rom versions >= r37 which include the changes in VERA 0.9. This is not a complete fix, but gets things running at about 90% what they were. This part that doesn't work is the animation of the electricity, which was previously working by shifting the tile base. Since the tile base now needs to be aligned to 2048 bytes instead of 4 bytes, this simple trick doesn't work as well. It still could, with a sparse enough population of the tiles, but there's probably a better option to be explored. In the meantime, this at least gets the demo running for those who want to dive into layers.