From 9c24e67981a2e014aeda8dcf8201416ad1fb8259 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sat, 28 Oct 2023 01:51:10 -0400 Subject: [PATCH] second: finish hooking up disk2 not as smooth as one could hope --- demos/second/part18_3d/threed.s | 4 +++- demos/second/start2.s | 11 ++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/demos/second/part18_3d/threed.s b/demos/second/part18_3d/threed.s index 142b71d0..26615806 100644 --- a/demos/second/part18_3d/threed.s +++ b/demos/second/part18_3d/threed.s @@ -79,7 +79,9 @@ wait_for_irq: dec SCENE_COUNT bne scene_loop - jmp forever +; jmp forever + + rts .include "../wait_keypress.s" diff --git a/demos/second/start2.s b/demos/second/start2.s index 0b427cf9..d20003fe 100644 --- a/demos/second/start2.s +++ b/demos/second/start2.s @@ -120,9 +120,12 @@ load_loop: jsr copy_main_aux -; lda #1 ; THREED -; sta WHICH_LOAD -; jsr load_file + ;===================== + ; load THREED to $4000 + + lda #1 ; THREED + sta WHICH_LOAD + jsr load_file @@ -133,6 +136,8 @@ load_loop: cli ; start music + jsr $4000 + ;======================= ; run NUTS ;============================================