Skip to content

Commit 12004c8

Browse files
Add ArcChk routine
Co-Authored-By: RoccoLox Programs <[email protected]>
1 parent c9dad4d commit 12004c8

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

content/memory/all/tempFreeArc.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: tempFreeArc
3+
geekdocHidden: true
4+
params:
5+
address: $D02655
6+
name: tempFreeArc
7+
---
8+
9+
Holds the number of free bytes of Archive remaining stored by [ArcChk](../../../syscalls/all/ArcChk).
10+
11+
### Address: $D02655
12+
13+
### Size: 3 bytes

content/syscalls/all/ArcChk.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: ArcChk
3+
geekdocHidden: true
4+
params:
5+
address: $022040
6+
category: System
7+
name: ArcChk
8+
---
9+
10+
Finds the amount of free archive space and stores it to [tempFreeArc](../../../memory/all/tempFreeArc).
11+
12+
### Address: $022040
13+
14+
### Inputs:
15+
* None
16+
17+
### Outputs:
18+
* [tempFreeArc](../../../memory/all/tempFreeArc): Contains 3 bytes with the number amount of free bytes of Archive remaining.
19+
20+
### Destroys:
21+
* `af`, `bc`, `de`, `hl`

content/syscalls/to-do.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,6 @@ DisableAPD := 0021134h
10231023
EnableAPD := 0021138h
10241024
Set2IY34 := 002113Ch
10251025
ForceCmd := 0021140h
1026-
AppSetup := 0021148h
10271026
:= 002114Ch
10281027
ReleaseSedit := 0021150h
10291028
InitSmallEditLine := 0021154h
@@ -1981,7 +1980,6 @@ os.MemChk := 0021FF0h
19811980
:= 0022034h
19821981
:= 0022038h
19831982
:= 002203Ch
1984-
ArcChk := 0022040h
19851983
LoadDEIndFlash := 0022044h
19861984
ChkInRamB := 0022048h
19871985
:= 002204Ch

0 commit comments

Comments
 (0)