more work on Mega65 native mode
This commit is contained in:
1 parent
b235db4cd0
commit
0b9cc2a9ec
16 files changed
+163
-142
No files matched your search
@@ -31,24 +31,26 @@ cmd_go_syntax_error:
|
||||
|
||||
// If in native mode - switch to C64 compatibilty
|
||||
|
||||
jsr M65_JISMODE65
|
||||
jsr M65_ISMODE65
|
||||
bne cmd_go_rts
|
||||
|
||||
jsr helper_ask_if_sure
|
||||
bcs cmd_go_rts
|
||||
jmp M65_JMODE64
|
||||
jsr M65_MODE64
|
||||
jmp do_clr
|
||||
!:
|
||||
cmp #65
|
||||
bne !+
|
||||
|
||||
// If in C64 compatibility mode - switch to native mode
|
||||
|
||||
jsr M65_JISMODE65
|
||||
jsr M65_ISMODE65
|
||||
beq cmd_go_rts
|
||||
|
||||
jsr helper_ask_if_sure
|
||||
bcs cmd_go_rts
|
||||
jmp M65_JMODE65
|
||||
jsr M65_MODE65
|
||||
jmp do_clr
|
||||
!:
|
||||
jmp do_ILLEGAL_QUANTITY_error
|
||||
|
||||
|
||||
@@ -22,6 +22,6 @@ helper_load_init_params_no_VERCKB:
|
||||
|
||||
// Set default device, set secondary address to 0
|
||||
|
||||
jsr select_device
|
||||
jsr SELDEV
|
||||
ldy #$00 // secondary address
|
||||
jmp JSETFLS
|
||||
Reference in new issue
Block a user