added routine to free string memory

This commit is contained in:
FeralChild64 committed 2020-07-03 16:47:23 +02:00
1 parent 2c86c577bc
commit aa101f79c6
4 files changed
+80 -9

No files matched your search

+3 -3
View File
@@ -6,13 +6,13 @@
// Helper routines for 'varstr_alloc'
//
varstr_FRETOP_down: // .A - bytes to lower FRETOP, uses memmove__tmp
varstr_FRETOP_down_A: // .A - bytes to lower FRETOP, uses DSCPNT+2
sta memmove__tmp
sta DSCPNT+2
sec
lda FRETOP+0
sbc memmove__tmp
sbc DSCPNT+2
sta FRETOP+0
bcs !+
dec FRETOP+1