added fetching TI$ variable, does not fully work yet

This commit is contained in:
FeralChild64 committed 2020-07-18 23:09:07 +02:00
1 parent 080ea5dab5
commit cd44ba2358
10 files changed
+196 -36

No files matched your search

@@ -0,0 +1,26 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Helper routine to copy string descriptor, for LET command and TI$ variable support
//
#if CONFIG_MEMORY_MODEL_38K
helper_let_strdesccpy:
ldy #$00
lda (VARPNT), y
sta DSCPNT+0
iny
lda (VARPNT), y
sta DSCPNT+1
iny
lda (VARPNT), y
sta DSCPNT+2
rts
#endif