From 9808616203c7ce9dc56023fc40192f889d6093e2 Mon Sep 17 00:00:00 2001 From: august Date: Wed, 21 Feb 2024 23:38:33 -0500 Subject: [PATCH] asm cleanup --- src/george.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/george.asm b/src/george.asm index ab77147..af42caf 100644 --- a/src/george.asm +++ b/src/george.asm @@ -74,7 +74,6 @@ cleardisplay: bne cleardisplay rts -; TODO: get this to work, (also i think emu-side i need better tooling), rn it just draws a heart to $6000, so i think the addition isn't working or something draw: ; draw a character at (20, 30) lda #63 push @@ -126,7 +125,7 @@ get_char_address: ; gets vram address for a character at (x, y), ; data stack is built up of 2-byte cells -; TODO: this is broken, the return address gets mangled somewhere in here, could be an emulator problem tho +; TODO: this is broken, jumping here does nothing to the stack and skips several instructions, could be an emulator problem tho push_lit: ; this bad boy lets you inline a literal (low byte first) right after `jsr push_lit` and put it on the stack, once again, on this channel we love garth wilson push2 phx