From 4a2db30d213bcea4831282856f7fdb89610280ab Mon Sep 17 00:00:00 2001 From: "JASON-6700K\\jandersen" Date: Tue, 21 Jul 2020 12:42:54 -0400 Subject: [PATCH] Player Actually Plays a sample Animation --- asm/link.s | 2 +- asm/play.s | 94 +++++++++++++++--------- asm/shell.s | 203 ++++++++++++++++++++++++++++++++++++++++------------ 3 files changed, 218 insertions(+), 81 deletions(-) diff --git a/asm/link.s b/asm/link.s index 52080ab..a3adb07 100644 --- a/asm/link.s +++ b/asm/link.s @@ -15,7 +15,7 @@ sna start ; segment name *---------------------------------------------- asm play.s - ds 0 ; padding + ds 0 ; padding knd #$1100 ; kind ali None ; alignment lna play ; load name diff --git a/asm/play.s b/asm/play.s index aac1864..f03b1f4 100644 --- a/asm/play.s +++ b/asm/play.s @@ -44,55 +44,79 @@ ; rel dsk play.l +; +; Defines, for the list of allocated memory banks +; +banks_count equ $80 +banks_data equ $82 + + player ent org $0 mx %00 phb - sep #$30 - sta srcbank+2 ; self modify the code for mvn - sta read_opcode+3 ; data stream reader - sta dictionary_offset+3 ; opcode stream reader + sep #$20 ; preserve X + sta