Skip to content

Commit

Permalink
[BASLOAD] Fix BASLOAD DA$ bug (X16Community#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-b-jakobsson authored Jan 3, 2024
1 parent 33ace3a commit 80cabc8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 187 deletions.
2 changes: 1 addition & 1 deletion basload/.git-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8dd9cedf8dacb3a896aea31ec0516352ee901e69
4f90428c9dd1e10b718978c0c092953e01368f7e
11 changes: 10 additions & 1 deletion basload/symbol.inc
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ SYMBOLTYPE_CONTROL_CHAR = 4
lda #SYMBOLTYPE_TOKEN
jsr symbol_add

; Add reserved variables ST and TI to the symbol table
; Add reserved variables to the symbol table
lda #'s'
sta file_buf
lda #'t'
Expand All @@ -164,6 +164,15 @@ SYMBOLTYPE_CONTROL_CHAR = 4
lda #SYMBOLTYPE_RESERVED_VAR
jsr symbol_add
lda #'d'
sta file_buf
lda #'a'
sta file_buf+1
ldx #0
ldy #1
lda #SYMBOLTYPE_RESERVED_VAR
jsr symbol_add

rts

PRINT_TOKEN:
Expand Down
185 changes: 0 additions & 185 deletions basload/testing/testbench.py

This file was deleted.

0 comments on commit 80cabc8

Please sign in to comment.