File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55#include once <free.asm>
66
7- __ARRAY_FREE :
7+ __ARRAYSTR_FREE :
88 PROC
99
1010 LOCAL __ARRAY_LOOP
@@ -15,7 +15,7 @@ __ARRAY_FREE:
1515
1616 ex de , hl
1717
18- __ARRAY_FREE_FAST : ; Fastcall entry: DE = Number of elements
18+ __ARRAYSTR_FREE_FAST : ; Fastcall entry: DE = Number of elements
1919 ld a , h
2020 or l
2121 ret z ; ret if NULL
@@ -46,14 +46,14 @@ __ARRAY_LOOP:
4646 ENDP
4747
4848
49- __ARRAY_FREE_MEM : ; like the above, buf also frees the array itself
49+ __ARRAYSTR_FREE_MEM : ; like the above, buf also frees the array itself
5050 ex de , hl
5151 pop hl ; (ret address)
5252 ex ( sp ) , hl ; Callee -> HL = Number of elements
5353 ex de , hl
5454
5555 push hl ; Saves array pointer for later
56- call __ARRAY_FREE_FAST
56+ call __ARRAYSTR_FREE_FAST
5757 pop hl ; recovers array block pointer
5858
5959 jp __MEM_FREE ; Frees it and returns from __MEM_FREE
You can’t perform that action at this time.
0 commit comments