diff --git a/hex.asm b/hex.asm index f243a93..e0373e8 100644 --- a/hex.asm +++ b/hex.asm @@ -1,5 +1,4 @@ #importonce -#import "mem_map.asm" .filenamespace Hex * = * "Hex Routines" @@ -25,7 +24,7 @@ byteToHex: pha //save byte lsr pha //save msn txa //lsn - jsr binhex1 //generate ascii lsn + jsr binhex1 //generate ascii lsn tax //save pla //get msn & fall thru // @@ -37,3 +36,4 @@ binhex1: cmp #$0a binhex2: eor #%00110000 //finalize nybble rts //done +#import "mem_map.asm" diff --git a/keyb2.asm b/keyb2.asm index 563cd75..ff54aa3 100644 --- a/keyb2.asm +++ b/keyb2.asm @@ -1,7 +1,6 @@ // Advanced Version of Keyb Input routine #importonce .filenamespace Keyboard2 -#import "mem_map.asm" #import "memory.asm" .const CIA1_KeybWrite = $DC00 @@ -10,6 +9,7 @@ .const cSYS_DelayValue = 32 .const cKeybW_Row1 = $FE +//------------------------------------------------------------------------------------ init: { lda #64 sta MemMap.KEYB2.SYS_Lstx @@ -90,6 +90,7 @@ KeyMap4: cloneStart: +//------------------------------------------------------------------------------------ .pseudopc $1000 { ReadKeyb: lda #