Skip to content

Commit

Permalink
Fix / restructure some flag documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TIny-Hacker committed Sep 5, 2024
1 parent 8649b93 commit be921f0
Show file tree
Hide file tree
Showing 29 changed files with 148 additions and 98 deletions.
8 changes: 4 additions & 4 deletions content/memory/all/flags/ParsFlag.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ params:
name: ParsFlag
---

### Address: $D00086 (ti.flags + $06)

### Size: 1 byte

#### Bit 5 - listOpen:
Set by the parser when currently inside a `{...}` (list) block, then unset once outside.

Expand All @@ -14,7 +18,3 @@ Set by the parser when currently inside a `[[...]]` (matrix) block, then unset o

#### Bit 7 - matrixOpen2:
Set by the parser when currently inside a `[...]` (matrix) block, then unset once outside.

### Address: $D00086 (ti.flags + $06)

### Size: 1 byte
6 changes: 3 additions & 3 deletions content/memory/all/flags/ParsFlag2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ params:
name: ParsFlag2
---

#### Bit 0 - numOP1:
Set if the parser is returning a result in OP1, reset if no result. May be somewhat unreliable

### Address: $D00087 (ti.flags + $07)

### Size: 1 byte

#### Bit 0 - numOP1:
Set if the parser is returning a result in OP1, reset if no result. May be somewhat unreliable
6 changes: 4 additions & 2 deletions content/memory/all/flags/ansFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ params:
name: ansFlags
---

#### Bit 3 - AnsScroll:
Set if answer can scroll. It also appears this flag must be reset in order to move about the edit buffer.
Answer flags.

### Address: $D00081 (ti.flags + $01)

### Size: 1 byte

#### Bit 3 - AnsScroll:
Set if answer can scroll. It also appears this flag must be reset in order to move about the edit buffer.
10 changes: 6 additions & 4 deletions content/memory/all/flags/apdFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ params:
name: apdFlags
---

Automatic power-down flags.

### Address: $D00088 (ti.flags + $08)

### Size: 1 byte

#### Bit 2 - apdAble:
Set if APD is enabled.

Expand All @@ -14,7 +20,3 @@ Set if the APD clock is running.

#### Bit 4 - apdWarmStart:
Set if the calculator is turning on from APD or a power failure.

### Address: $D00088 (ti.flags + $08)

### Size: 1 byte
10 changes: 6 additions & 4 deletions content/memory/all/flags/appFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ params:
name: appFlags
---

Application flags.

### Address: $D0008D (ti.flags + $0D)

### Size: 1 byte

#### Bit 0 - appWantIntrpt:
Set to want on key interrupts.

Expand All @@ -29,7 +35,3 @@ Set for text cursor to cover entire word.

#### Bit 7 - appExit:
Set for application to handle exit key itself.

### Address: $D0008D (ti.flags + $0D)

### Size: 1 byte
10 changes: 6 additions & 4 deletions content/memory/all/flags/cmdFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ params:
name: cmdFlags
---

Command editor flags.

### Address: $D0008C (ti.flags + $0C)

### Size: 1 byte

#### Bit 5 - cmdVirgin:
Set if nothing has been typed in the CMD buffer.

#### Bit 6 - cmdExec:
Set if a command needs to be executed.

### Address: $D0008C (ti.flags + $0C)

### Size: 1 byte
10 changes: 6 additions & 4 deletions content/memory/all/flags/curFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ params:
name: curFlags
---

Cursor flags.

### Address: $D0008C (ti.flags + $0C)

### Size: 1 byte

#### Bit 2 - curAble:
Set if cursor flash is enabled.

Expand All @@ -14,7 +20,3 @@ Set if the cursor is currently showing.

#### Bit 4 - curLock:
Set if the cursor is locked off.

### Address: $D0008C (ti.flags + $0C)

### Size: 1 byte
6 changes: 3 additions & 3 deletions content/memory/all/flags/doneFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ params:
name: doneFlags
---

#### Bit 5 - donePrgm:
Set if "Done" should be displayed after the current program execution ends, reset otherwise.

### Address: $D00080 (ti.flags + $00)

### Size: 1 byte

#### Bit 5 - donePrgm:
Set if "Done" should be displayed after the current program execution ends, reset otherwise.
6 changes: 3 additions & 3 deletions content/memory/all/flags/editFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ params:
name: editFlags
---

#### Bit 2 - editOpen:
Set if an edit buffer is currently open, reset otherwise.

### Address: $D00081 (ti.flags + $01)

### Size: 1 byte

#### Bit 2 - editOpen:
Set if an edit buffer is currently open, reset otherwise.
6 changes: 4 additions & 2 deletions content/memory/all/flags/fmtEditFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ params:
name: fmtEditFlags
---

#### Bit 0 - fmtEdit:
Set for format number for editing.
Numeric editing flags.

### Address: $D0008C (ti.flags + $0C)

### Size: 1 byte

#### Bit 0 - fmtEdit:
Set for format number for editing.
10 changes: 6 additions & 4 deletions content/memory/all/flags/fmtFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ params:
name: fmtFlags
---

Numeric format flags.

### Address: $D0008A (ti.flags + $0A)

### Size: 1 byte

This section also has a related section at `$D0008B` (`ti.flags + $0B`) called `fmtOverride`, which is a copy of `fmtFlags` with conversion override.

#### Bit 0 - fmtExponent:
Expand All @@ -22,7 +28,3 @@ Set for rectangular graph mode.

#### Bit 7 - fmtPolar:
Set for polar graph mode.

### Address: $D0008A (ti.flags + $0A)

### Size: 1 byte
8 changes: 4 additions & 4 deletions content/memory/all/flags/graphFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ params:
name: graphFlags
---

### Address: $D00083 (ti.flags + $03)

### Size: 1 byte

#### Bit 0 - graphDraw:
Set if the graph is dirty, reset if valid.

#### Bit 2 - graphCursor:
Set if the cursor is currently being displayed on the graph, reset otherwise.

### Address: $D00083 (ti.flags + $03)

### Size: 1 byte
8 changes: 4 additions & 4 deletions content/memory/all/flags/grfDBFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ params:
name: grfDBFlags
---

### Address: $D00084 (ti.flags + $04)

### Size: 1 byte

#### Bit 0 - grfDot:
Set for dot, reset for line.

Expand All @@ -26,7 +30,3 @@ Set to not display an axis, reset if axis is displayed.

#### Bit 6 - grfLabel:
Set for axis labels, reset if axis labels are off.

### Address: $D00084 (ti.flags + $04)

### Size: 1 byte
10 changes: 6 additions & 4 deletions content/memory/all/flags/grfModeFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ params:
name: grfModeFlags
---

Graph mode settings.

### Address: $D00082 (ti.flags + $02)

### Size: 1 byte

#### Bit 4 - grfFuncM:
Set if graph is in function mode.

Expand All @@ -17,7 +23,3 @@ Set if graph is in parametric mode.

#### Bit 7 - grfRecurM:
Set for recursion graph.

### Address: $D00082 (ti.flags + $02)

### Size: 1 byte
10 changes: 6 additions & 4 deletions content/memory/all/flags/indicFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ params:
name: indicFlags
---

Indicator flags.

### Address: $D00092 (ti.flags + $12)

### Size: 1 byte

#### Bit 0 - indicRun:
Set if the run indicator is on, reset otherwise.

#### Bit 1 - indicInUse:
Set if the indicator save area is in use, reset if the area is free.

### Address: $D00092 (ti.flags + $12)

### Size: 1 byte
6 changes: 3 additions & 3 deletions content/memory/all/flags/ioDelFlag.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ params:
name: ioDelFlag
---

#### Bit 0 - inDelete:
Set if in a delete screen, reset otherwise.

### Address: $D00080 (ti.flags + $00)

### Size: 1 byte

#### Bit 0 - inDelete:
Set if in a delete screen, reset otherwise.
10 changes: 6 additions & 4 deletions content/memory/all/flags/kbdFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ params:
name: kbdFlags
---

Keyboard scan flags.

### Address: $D00080 (ti.flags + $00)

### Size: 1 byte

#### Bit 3 - kbdSCR:
Set if a keypress has been scanned and is ready for [`GetCSC`](../../../../syscalls/all/GetCSC) to return. This flag is then reset after [`GetCSC`](../../../../syscalls/all/GetCSC) is called.

#### Bit 4 - kbdKeyPress:
Set if a key has been pressed.

### Address: $D00080 (ti.flags + $00)

### Size: 1 byte
6 changes: 4 additions & 2 deletions content/memory/all/flags/monFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ params:
name: monFlags
---

#### Bit 4 - monAbandon:
Appears to be set if the calculator is about to turn off. It is also set to prohibit starting any long process in PutAway.
Monitor flags.

### Address: $D00081 (ti.flags + $01)

### Size: 1 byte

#### Bit 4 - monAbandon:
Appears to be set if the calculator is about to turn off. It is also set to prohibit starting any long process in PutAway.
8 changes: 4 additions & 4 deletions content/memory/all/flags/newDispF.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ params:
name: newDispF
---

### Address: $D00088 (ti.flags + $08)

### Size: 1 byte

#### Bit 0 - preClrForMode:
Inverses the first column in text. *- [LogicalJoe](https://github.com/logicaljoe)*

Expand All @@ -14,7 +18,3 @@ Set to allow programming tokens to be parsed in TI-BASIC programs.

#### Bit 1 - progExecuting:
Set if a TI-BASIC program is currently being run.

### Address: $D00088 (ti.flags + $08)

### Size: 1 byte
8 changes: 4 additions & 4 deletions content/memory/all/flags/numMode.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ params:
name: numMode
---

### Address: $D0008A (ti.flags + $0A)

### Size: 1 byte

#### Bit 5 - realMode:
Set for real number mode.

Expand All @@ -14,7 +18,3 @@ Set for rectangular graph mode.

#### Bit 7- polarMode:
Set for polar graph mode.

### Address: $D0008A (ti.flags + $0A)

### Size: 1 byte
8 changes: 4 additions & 4 deletions content/memory/all/flags/onFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ params:
name: onFlags
---

### Address: $D00089 (ti.flags + $09)

### Size: 1 byte

#### Bit 1 - parseInput:
Set to parse input when done.

Expand All @@ -14,7 +18,3 @@ Set if calculator is turned on.

#### Bit 4 - onInterrupt:
Set for on key interrupt request.

### Address: $D00089 (ti.flags + $09)

### Size: 1 byte
8 changes: 4 additions & 4 deletions content/memory/all/flags/plotFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ params:
name: plotFlags
---

### Address: $D00082 (ti.flags + $02)

### Size: 1 byte

#### Bit 1 - plotLoc:
Set for backup and display, reset for display only.

#### Bit 2 - plotDisp:
Set if plot is in display, reset if text is in display.

### Address: $D00082 (ti.flags + $02)

### Size: 1 byte
6 changes: 3 additions & 3 deletions content/memory/all/flags/promptFlags.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ params:
name: promptFlags
---

#### Bit 0 - promptEdit:
Set when editing in the prompt buffer.

### Address: $D00091 (ti.flags + $11)

### Size: 1 byte

#### Bit 0 - promptEdit:
Set when editing in the prompt buffer.
Loading

0 comments on commit be921f0

Please sign in to comment.