some preparations for string variables, added BASIC command COLD

This commit is contained in:
FeralChild64 committed 2020-07-02 17:24:34 +02:00
1 parent 34b56b1fd5
commit 164d090a43
21 files changed
+240 -42

No files matched your search

+3 -3
View File
@@ -9,13 +9,13 @@
shift_mem_adapt_pointers:
sty RESHO+4
sty memmove__tmp
// Adapt source pointer
sec
lda memmove__src+0
sbc RESHO+4
sbc memmove__tmp
sta memmove__src+0
bcs !+
dec memmove__src+1
@@ -24,7 +24,7 @@ shift_mem_adapt_pointers:
sec
lda memmove__dst+0
sbc RESHO+4
sbc memmove__tmp
sta memmove__dst+0
bcs !+
dec memmove__dst+1
+9
View File
@@ -0,0 +1,9 @@
//
// Aliases for memory locations for memory block copy routines
//
.label memmove__src = INDEX+2
.label memmove__dst = RESHO+0
.label memmove__size = RESHO+2
.label memmove__tmp = RESHO+4
+1 -1
View File
@@ -11,7 +11,7 @@
// - memmove__dst - pointer to the first byte of destination
// - memmove__size - number of bytes to copy
//
// All the input variables, .A, and .Y register, are destroyed. Also uses RESHO+4 variable.
// All the input variables, .A, and .Y register, are destroyed. Also uses memmove__tmp variable.
//
+1 -1
View File
@@ -11,7 +11,7 @@
// - memmove__dst - pointer to the last byte of destination
// - memmove__size - number of bytes to copy
//
// All the input variables, .A, and .Y register, are destroyed. Also uses RESHO+4 variable.
// All the input variables, .A, and .Y register, are destroyed. Also uses memmove__tmp variable.
//