Use structs

git-svn-id: svn://svn.cc65.org/cc65/trunk@2707 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-12-03 10:15:33 +00:00
parent 92a001d3af
commit c15fd58d3b
15 changed files with 64 additions and 60 deletions

View File

@@ -6,7 +6,7 @@
; size_t __fastcall__ _heapmaxavail (void);
;
;
.importzp ptr1, ptr2
.export __heapmaxavail
@@ -42,7 +42,7 @@ __heapmaxavail:
; if (Size < F->size) {
ldy #freeblock_size
ldy #freeblock::size
lda ptr2
sub (ptr1),y
iny
@@ -52,7 +52,7 @@ __heapmaxavail:
; Size = F->size;
ldy #freeblock_size
ldy #freeblock::size
lda (ptr1),y
sta ptr2
iny