-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sections for calls, memory areas, and update includes
Co-Authored-By: RoccoLox Programs <roccoloxprograms2018@gmail.com>
- Loading branch information
1 parent
b00636c
commit 26ae0af
Showing
49 changed files
with
3,349 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
public/ | ||
testing/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: System call name | ||
geekdocHidden: true | ||
params: | ||
address: System call address | ||
category: System call category | ||
name: System call name | ||
--- | ||
|
||
Overview of what the system call does / is used for | ||
|
||
### Address: $000000 | ||
|
||
### Inputs: | ||
* Input 1: Description | ||
* Input 2: Description... | ||
|
||
### Outputs: | ||
* Output 1: Description | ||
* Output 2: Description... | ||
|
||
### Destroys: | ||
* Destroy 1 | ||
* Destroy 2... | ||
|
||
### Examples: <!-- If applicable --> | ||
Description of example: | ||
|
||
```asm | ||
; example code goes here | ||
; since it's an example, be sure to comment thoroughly | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: Memory area name | ||
geekdocHidden: true | ||
params: | ||
address: Memory address | ||
name: Memory area name | ||
--- | ||
|
||
Overview of what the memory area does / is used for | ||
|
||
### Address: $000000 | ||
|
||
### Size: Size of the area in bytes |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: Memory Areas | ||
weight: -20 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: All | ||
geekdocHidden: true | ||
weight: -20 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
--- | ||
title: errNo | ||
geekdocHidden: true | ||
params: | ||
address: $D008DF | ||
name: errNo | ||
--- | ||
|
||
Holds an error code for certain system error routines. These are taken from **ti84pceg.inc**, and you should note that some allow "Goto" by default while others do not. However, this behavior can be changed by modifying bit 7. To allow the "Goto" option for a system error, bit 7 of the error code should be set, and to prevent it, bit 7 should be reset. | ||
|
||
{{< expand "Error Codes" "..." >}} | ||
| Error | Default Code (Hex) | | ||
|-------------------|--------------------| | ||
| E_Mask (No error) | $7F | | ||
| E_Overflow | $81 | | ||
| E_DivBy0 | $82 | | ||
| E_SingularMat | $83 | | ||
| E_Domain | $84 | | ||
| E_Increment | $85 | | ||
| E_Break | $86 | | ||
| E_NonReal | $87 | | ||
| E_Syntax | $88 | | ||
| E_DataType | $89 | | ||
| E_Argument | $8A | | ||
| E_DimMismatch | $8B | | ||
| E_Dimension | $8C | | ||
| E_Undefined | $8D | | ||
| E_Memory | $8E | | ||
| E_Invalid | $8F | | ||
| E_IllegalNest | $90 | | ||
| E_Bound | $91 | | ||
| E_GraphRange | $92 | | ||
| E_Zoom | $93 | | ||
| E_Label | $14 | | ||
| E_Stat | $15 | | ||
| E_Solver | $96 | | ||
| E_Singularity | $97 | | ||
| E_SignChange | $98 | | ||
| E_Iterations | $99 | | ||
| E_BadGuess | $9A | | ||
| E_StatPlo | $1B | | ||
| E_TolTooSmall | $9C | | ||
| E_Reserved | $9D | | ||
| E_Mode | $9E | | ||
| E_LnkErr | $9F | | ||
| E_LnkMemErr | $A0 | | ||
| E_LnkTransErr | $A1 | | ||
| E_LnkDupErr | $A2 | | ||
| E_LnkMemFull | $A3 | | ||
| E_Unknown | $A4 | | ||
| E_Scale | $A5 | | ||
| E_IdNotFound | $26 | | ||
| E_NoMode | $A7 | | ||
| E_Validation | $28 | | ||
| E_Length | $A9 | | ||
| E_Application | $AA | | ||
| E_AppErr1 | $AB | | ||
| E_AppErr2 | $AC | | ||
| E_ExpiredApp | $2D | | ||
| E_BadAdd | $2E | | ||
| E_Archived | $AF | | ||
| E_Version | $30 | | ||
| E_ArchFull | $31 | | ||
| E_Variable | $B2 | | ||
| E_Duplicate | $B3 | | ||
| E_Date | $B4 | | ||
| E_UnknownCmd | $B5 | | ||
| E_OverLimit | $36 | | ||
| E_Disabled | $37 | | ||
| E_Xmit | $38 | | ||
| E_MemFull | $39 | | ||
{{< /expand >}} | ||
|
||
### Address: $D008DF | ||
|
||
### Size: 1 byte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
title: kbdScanCode | ||
geekdocHidden: true | ||
params: | ||
address: $D00587 | ||
name: kbdScanCode | ||
--- | ||
|
||
Contains a scan code from the last time the keyboard was scanned. A list of possible scan codes is below: | ||
|
||
{{< expand "Scan Codes" "..." >}} | ||
| Scan Code | Scan Code (Hex) | | ||
|------------|-----------------| | ||
| skDown | $01 | | ||
| skLeft | $02 | | ||
| skRight | $03 | | ||
| skUp | $04 | | ||
| skEnter | $09 | | ||
| skAdd | $0A | | ||
| skSub | $0B | | ||
| skMul | $0C | | ||
| skDiv | $0D | | ||
| skPower | $0E | | ||
| skClear | $0F | | ||
| skChs | $11 | | ||
| sk3 | $12 | | ||
| sk6 | $13 | | ||
| sk9 | $14 | | ||
| skRParen | $15 | | ||
| skTan | $16 | | ||
| skVars | $17 | | ||
| skDecPnt | $19 | | ||
| sk2 | $1A | | ||
| sk5 | $1B | | ||
| sk8 | $1C | | ||
| skLParen | $1D | | ||
| skCos | $1E | | ||
| skPrgm | $1F | | ||
| skStat | $20 | | ||
| sk0 | $21 | | ||
| sk1 | $22 | | ||
| sk4 | $23 | | ||
| sk7 | $24 | | ||
| skComma | $25 | | ||
| skSin | $26 | | ||
| skMatrix | $27 | | ||
| skGraphvar | $28 | | ||
| skStore | $2A | | ||
| skLn | $2B | | ||
| skLog | $2C | | ||
| skSquare | $2D | | ||
| skRecip | $2E | | ||
| skMath | $2F | | ||
| skAlpha | $30 | | ||
| skGraph | $31 | | ||
| skTrace | $32 | | ||
| skZoom | $33 | | ||
| skWindow | $34 | | ||
| skYequ | $35 | | ||
| sk2nd | $36 | | ||
| skMode | $37 | | ||
| skDel | $38 | | ||
{{< /expand >}} | ||
|
||
### Address: $D00587 | ||
|
||
### Size: 1 byte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: By Address | ||
weight: -20 | ||
--- | ||
|
||
A list of notable memory areas, sorted by hexadecimal address. | ||
|
||
{{% list-by-address "memory/all" %}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: By Name | ||
weight: -20 | ||
--- | ||
|
||
A list of notable memory areas, sorted alphabetically by name. | ||
|
||
{{< toc >}} | ||
|
||
{{% list-by-name "memory/all" %}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Contributing | ||
|
||
## Format | ||
|
||
The format memory areas is as follows: | ||
|
||
````Markdown | ||
--- | ||
title: Memory area name | ||
geekdocHidden: true | ||
params: | ||
address: Memory address | ||
name: Memory area name | ||
--- | ||
|
||
Overview of what the memory area does / is used for | ||
|
||
### Address: $000000 | ||
|
||
### Size: Size of the area in bytes | ||
```` | ||
|
||
An alternative method is to use the command `hugo new "memory/all/<name>.md" --kind memory` | ||
|
||
Each area should have its own file, named after the area. These files go in the **content/memory/all/** directory. | ||
|
||
It is also recommended to take a look at some the already existing documentation to get a feel for how things should be formatted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: System Calls | ||
weight: -20 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: BootOS | ||
geekdocHidden: true | ||
params: | ||
address: $020108 | ||
category: System | ||
name: BootOS | ||
--- | ||
|
||
As the name suggests, this call boots the OS. | ||
|
||
{{< hint type=caution >}} | ||
If this routine is called, it will not return. | ||
{{< /hint >}} | ||
|
||
### Address: $020108 | ||
|
||
### Inputs: | ||
* None. | ||
|
||
### Outputs: | ||
* Boots the OS. | ||
|
||
### Destroys: | ||
* All RAM is reset. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: CallFontHook | ||
geekdocHidden: true | ||
params: | ||
address: $020130 | ||
category: Hooks | ||
name: CallFontHook | ||
--- | ||
|
||
Checks if a valid font hook is currently installed. If so, that hook is called, otherwise, this routine returns. | ||
|
||
### Address: $020130 | ||
|
||
### Inputs: | ||
* None. | ||
|
||
### Outputs: | ||
* Calls the currently installed font hook if it exists. | ||
|
||
### Destroys: | ||
* If no font hook exists, this call does not destory anything. Otherwise it follows the behavior of the currently installed font hook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: CallLocalizeHook | ||
geekdocHidden: true | ||
params: | ||
address: $020134 | ||
category: Hooks | ||
name: CallLocalizeHook | ||
--- | ||
|
||
Checks if a valid localization hook is currently installed. If so, that hook is called, otherwise, this routine returns. | ||
|
||
### Address: $020134 | ||
|
||
### Inputs: | ||
* None. | ||
|
||
### Outputs: | ||
* Calls the currently installed localization hook if it exists. | ||
|
||
### Destroys: | ||
* If no localization hook exists, this call does not destory anything. Otherwise it follows the behavior of the currently installed localization hook. |
Oops, something went wrong.