Skip to content

Commit 408dda6

Browse files
committed
Add ArchiveVar, Arc_Unarc
1 parent 12004c8 commit 408dda6

File tree

3 files changed

+47
-3
lines changed

3 files changed

+47
-3
lines changed

content/syscalls/all/Arc_Unarc.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Arc_Unarc
3+
geekdocHidden: true
4+
params:
5+
address: $021448
6+
category: Variables
7+
name: Arc_Unarc
8+
---
9+
10+
Swaps a specified variable between RAM and Archive.
11+
12+
{{< hint type=note >}}
13+
Throws an OS error if any problem is encountered, including attempting to pass a variable which cannot be archived / unarchived.
14+
{{< /hint >}}
15+
16+
### Address: $021448
17+
18+
### Inputs:
19+
* OP1: Type and name of the variable to swap.
20+
21+
### Outputs:
22+
* Swaps variable between RAM and Archive.
23+
24+
### Destroys:
25+
* `af`, `bc`, `de`, `hl`
26+
* OP3

content/syscalls/all/ArchiveVar.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: ArchiveVar
3+
geekdocHidden: true
4+
params:
5+
address: $02144C
6+
category: Variables
7+
name: ArchiveVar
8+
---
9+
10+
Archives a specified variable. This is a subroutine of [Arc_Unarc](../Arc_Unarc).
11+
12+
### Address: $02144C
13+
14+
### Inputs:
15+
* Uses the outputs of [ChkFindSym](../ChkFindSym).
16+
17+
### Outputs:
18+
* Archives the variable.
19+
20+
### Destroys:
21+
* `af`, `bc`, `de`, `hl`

content/syscalls/to-do.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,8 +1214,6 @@ DelVarNoArc := 0021438h
12141214
SetAllPlots := 002143Ch
12151215
SetYeditHook := 0021440h
12161216
ClrYeditHook := 0021444h
1217-
Arc_Unarc := 0021448h
1218-
ArchiveVar := 002144Ch
12191217
UnarchiveVar := 0021450h
12201218
SetFontHook := 0021454h
12211219
ClrFontHook := 0021458h
@@ -1275,7 +1273,6 @@ HLMinus5 := 002152Ch
12751273
;_ret := 0021530h
12761274
:= 0021534h
12771275
:= 0021538h
1278-
Arc_Unarc_ := 002153Ch
12791276
RclExit := 0021540h
12801277
SetSilentLinkHook := 0021544h
12811278
ClrSilentLinkHook := 0021548h

0 commit comments

Comments
 (0)