monitor command set memory adapted

This commit is contained in:
FeralChild64 authored and FeralChild64 committed 2021-01-26 00:03:07 +01:00
1 parent 67fedc1e7f
commit e0549d1424
12 files changed
+59 -44

No files matched your search

+2 -2
View File
@@ -8,11 +8,11 @@ Mon_Memory:
lda #$00
sta Addr_Mode ; by default use C64-style addressing
jsr Get_Addr_To_LAC ; get 1st parameter (start address)
jsr Get_Val_To_LAC ; get 1st parameter (start address)
+beq Mon_Error
jsr LAC_To_LPC ; Long_PC = start address
jsr Get_Addr_To_LAC ; get 2nd parameter (end address)
jsr Get_Val_To_LAC ; get 2nd parameter (end address)
bne @calcdiff
lda #$10 ; by default display 16 rows