some preparations for string variables, added BASIC command COLD
This commit is contained in:
1 parent
34b56b1fd5
commit
164d090a43
21 files changed
+240
-42
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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.
|
||||
//
|
||||
|
||||
|
||||
|
||||
@@ -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.
|
||||
//
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user