more work towards Mega65 native mode, added NSYS command

This commit is contained in:
FeralChild64 committed 2020-08-08 17:24:09 +02:00
1 parent ffdc67d5ca
commit 83cdf37c0d
23 files changed
+266 -21

No files matched your search

+25
View File
@@ -98,6 +98,18 @@ tokenise_line_loop:
jsr tk_search
bcc tokenise_line_keyword_02 // branch if keyword identified
#endif
#if ROM_LAYOUT_M65
lda #<packed_freq_keywords_03
sta FRESPC+0
lda #>packed_freq_keywords_03
sta FRESPC+1
jsr tk_search
bcc tokenise_line_keyword_03 // branch if keyword identified
#endif
// Shorten packed keyword candidate and try again
@@ -173,6 +185,19 @@ tokenise_line_char:
// Support for extended keyword lists
#if ROM_LAYOUT_M65
tokenise_line_keyword_03:
// Store the token list index
lda #$03
skip_2_bytes_trash_nvz
// FALLTROUGH
#endif
#if !HAS_SMALL_BASIC
tokenise_line_keyword_02: