From 50930af3624d89282b87fdd229cf3838c8e0a576 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroich Date: Mon, 2 Jan 2023 20:39:40 -0600 Subject: [PATCH 1/2] Re-add tile load --- demos/kfest-2022/demo-1/App.Main.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/demos/kfest-2022/demo-1/App.Main.s b/demos/kfest-2022/demo-1/App.Main.s index d4d740f..6ad1f60 100644 --- a/demos/kfest-2022/demo-1/App.Main.s +++ b/demos/kfest-2022/demo-1/App.Main.s @@ -58,11 +58,11 @@ appTmp0 equ 28 ; Load a tileset -; pea 0 -; pea 256 -; pea #^tiledata -; pea #tiledata -; _GTELoadTileSet + pea 0 + pea 256 + pea #^tiledata + pea #tiledata + _GTELoadTileSet pea $0000 pea #^TileSetPalette From 48bf7145d87169e3a8b76784091453ba2e2aa4f5 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroich Date: Mon, 2 Jan 2023 20:40:09 -0600 Subject: [PATCH 2/2] Fix parameters to startup and tile init --- demos/kfest-2022/demo-5/App.Main.s | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/demos/kfest-2022/demo-5/App.Main.s b/demos/kfest-2022/demo-5/App.Main.s index 2a68015..30db407 100644 --- a/demos/kfest-2022/demo-5/App.Main.s +++ b/demos/kfest-2022/demo-5/App.Main.s @@ -59,8 +59,9 @@ SpriteCount equ 50 _MTStartUp ; GTE requires the miscellaneous toolset to be running - lda #0 ; Engine in Fast Mode + lda #ENGINE_MODE_USER_TOOL ; Engine in Fast Mode jsr GTEStartUp ; Load and install the GTE User Tool + jsr SoundStartUp jsr StartMusic @@ -81,6 +82,8 @@ SpriteCount equ 50 ; Load a tileset + pea #0 + pea #512 pea #^tiledata pea #tiledata _GTELoadTileSet