reorganized extended BASIC tokens
This commit is contained in:
1 parent
f2b7abfdb9
commit
678c38a3e0
47 files changed
+235
-260
No files matched your search
@@ -92,26 +92,23 @@ tokenise_line_loop:
|
||||
jsr tk_search
|
||||
bcc tokenise_line_keyword_01 ; branch if keyword identified
|
||||
|
||||
!ifndef HAS_SMALL_BASIC {
|
||||
|
||||
lda #<packed_freq_keywords_02
|
||||
sta FRESPC+0
|
||||
lda #>packed_freq_keywords_02
|
||||
sta FRESPC+1
|
||||
|
||||
jsr tk_search
|
||||
bcc tokenise_line_keyword_02 ; branch if keyword identified
|
||||
}
|
||||
|
||||
!ifdef CONFIG_MB_M65 {
|
||||
|
||||
lda #<packed_freq_keywords_03
|
||||
lda #<packed_freq_keywords_04
|
||||
sta FRESPC+0
|
||||
lda #>packed_freq_keywords_03
|
||||
lda #>packed_freq_keywords_04
|
||||
sta FRESPC+1
|
||||
|
||||
jsr tk_search
|
||||
bcc tokenise_line_keyword_03 ; branch if keyword identified
|
||||
bcc tokenise_line_keyword_04 ; branch if keyword identified
|
||||
|
||||
lda #<packed_freq_keywords_06
|
||||
sta FRESPC+0
|
||||
lda #>packed_freq_keywords_06
|
||||
sta FRESPC+1
|
||||
|
||||
jsr tk_search
|
||||
bcc tokenise_line_keyword_06 ; branch if keyword identified
|
||||
}
|
||||
|
||||
; Shorten packed keyword candidate and try again
|
||||
@@ -189,23 +186,18 @@ tokenise_line_char:
|
||||
|
||||
!ifdef CONFIG_MB_M65 {
|
||||
|
||||
tokenise_line_keyword_03:
|
||||
tokenise_line_keyword_04:
|
||||
|
||||
; Store the token list index
|
||||
|
||||
lda #$03
|
||||
lda #$04
|
||||
+skip_2_bytes_trash_nvz
|
||||
|
||||
; FALLTROUGH
|
||||
}
|
||||
|
||||
!ifndef HAS_SMALL_BASIC {
|
||||
|
||||
tokenise_line_keyword_02:
|
||||
tokenise_line_keyword_06:
|
||||
|
||||
; Store the token list index
|
||||
|
||||
lda #$02
|
||||
lda #$06
|
||||
+skip_2_bytes_trash_nvz
|
||||
|
||||
; FALLTROUGH
|
||||
|
||||
Reference in new issue
Block a user