17 Commits

Author SHA1 Message Date
npease 7a73a7c73c Upload 2018-09-15 19:28:34 -04:00
npease 08e45cad7b Merge pull request #2 from jcgter777/patch-1
Fixed spelling
2018-08-23 10:28:43 -04:00
npease 2ad180fc17 Update developers.md 2018-08-15 19:19:07 -04:00
jcgter777 :P 12901a1c09 Fixed spelling 2018-07-02 14:45:22 -04:00
npease c2b7d9686b Update developers.md 2018-06-23 11:14:27 -04:00
npease 0cbd6b3b51 Update developers.md 2018-06-22 16:57:27 -04:00
npease 4615201025 Update developers.md 2018-06-22 16:56:17 -04:00
npease 1e724d9926 Add data 2018-06-22 16:53:12 -04:00
npease 4dbd1d5632 Update developers.md 2018-06-22 16:17:02 -04:00
npease 492d1cc744 Update README.md 2018-06-22 16:12:57 -04:00
npease 94014cb358 Update README.md 2018-06-22 16:09:20 -04:00
LAX18 4a1a5e9d00 Delete Unneeded files 2018-06-22 16:02:42 -04:00
npease d4f808c0de Update developers.md 2018-06-15 17:05:21 -04:00
npease ae406dff8d Update developers.md 2018-06-15 16:54:37 -04:00
npease 2b640dc806 Create developers.md 2018-06-15 16:42:35 -04:00
npease 7dc4824245 Update README.md 2018-06-15 16:39:19 -04:00
npease 0508701f0b Set theme jekyll-theme-cayman 2018-06-15 16:36:26 -04:00
16 changed files with 161 additions and 8 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+10 -2
View File
@@ -1,2 +1,10 @@
# NOS
A alternative shell for the TI84+CE
## Welcome to NOS online!!!
This is the website for all NOS releated stuff.
There will eventually be more stuff here, but for now, it is just releases and developers information.
## Developers Information
Currently, there is not alot of documentation for developers. However, what little there is can be found [here](https://lax18.github.io/NOS/developers)
## NOS News
I have released beta 0.5 and 0.5.1 in the [releases section](https://github.com/LAX18/NOS/releases)
+1
View File
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
-6
View File
@@ -1,6 +0,0 @@
@ECHO OFF
ECHO NOS Developers Custom Installer
ECHO Starting Builder...
ice NOS.8xp
ECHO Success!!!
Pause
+88
View File
@@ -0,0 +1,88 @@
## Developers Information
This page has information relating to developers and what they can and cannot use.
### Contents:
System Variables
Modules
Built-In Calls and Labels
## System Variables
NOS has a decent amount of system varibles and labels that cannot be overwritten. Below is a list of them and their location (what subprogram they are in) and whether or not they can be overwritten.
### NOSSPRIT
No Variables
### NOSHEAD
No Variables
### NOSSRH
FILES - This has the program names and the data. This is in the format of a 17 byte set as seen below: - DO NOT OVERWRITE -
0-7 - Program Name
8 - Zero Byte (help with reading program name)
9 - Archive Status
10, 11 - Saved for future features
12 - Icon Status (:DCS Header)
13 - Size
16 - ASM or BASIC
I, F, X, D, P - Temporary Varibles, you can overwrite these after
TBPRGMS - Total BASIC Programs - DO NOT OVERWRITE -
TAPRGMS - Total ASM Programs - DO NOT OVERWRITE -
BASIC - List of BASIC programs, follows above syntax (see FILES)
ASM - List of ASM programs, follows above syntax (see FILES)
TPRGMS - Total Program Count - DO NOT OVERWRITE -
OFFSET - Offset for Copy() - Okay to Overwrite -
SIZE - Size of first program, this may be overwritten after the program is switched
ARC - Archive status of the first program, this may be overwritten after the program is switched
### NOSGUI
No variables
### NOSCTRL
G - getKey variable, overwrite at your own risk
prgmTEMP - Temporary program for running ASM and BASIC programs
prgmASM - ASM program data for running
SLOT - Selected Program Slot, overwrite at your own risk
### NOSSET
SET, G - Temporary value, may be overwritten after run
L5 - Color / Settings Data, formated as below:
L5(0) - Primary Background
L5(3) - Banner Background
L5(6) - Primary Text
L5(9) - Secondary Text
LOC - Location of cursor on menu
### NOSPROG
No Variables
### NOSSUB
B, ICONX, ICONY, ICONCHAR, ICONCOLOR, SET, STATUS, POS - Temporary Varibles, may be overwritten
COLORS - Has the conversions for OS to ICE colors, DO NOT OVERWRITE
DISTRO - Current Distro name, can be set
VERSION - Current NOS build version, can be set
## Modules
The current (v.0.5.1) module list and uses is below:
NOSSPRIT - Houses Sprite Data
NOSHEAD - Houses Starting Values
NOSSRH - Searches for, and arranges, programs into one list
NOSGUI - Holds the GUI parts that update on every next program call along with Icon display code, user customisable
NOSCTRL - Has all of the shell's controls, includes changing programs
NOSSET - Has all of the shells settings
NOSPROG - Hold built-in subprograms
NOSSUB - Has subprograms for shell, including Icon display, GUI setup, and data setup
## Built-In Calls and Labels
Here are the Calls and Labels that you can use:
### Calls:
TOOLBAR - This has the toolbar for pinned programs,
GUISTART - Sets up the base for the GUI, i.e no data, just background
ICONDISPLAY - Displays DCS header icon (if applicable)
DATASETUP - Has the setup for the originla values of the varibles
### Labels:
TOP - Top of the program
SEARCH - Before the Search module, in prgmNOS
GUI - Before the GUI module, in prgmNOS
SETTINGS - Before the Settings module, in prgmNOS
+62
View File
@@ -0,0 +1,62 @@
.nolist
#include "ti84plusce.inc"
.list
.org userMem
.db $EF,$7B
hook_addr = appBackupScreen
start:
ld hl, hook_start
ld de, hook_addr
push de
ld bc, hook_end-hook_start
ldir
pop hl
ld a, 1
call _SetGetKeyHook
ret
hook_start:
.db $83
bit editOpen, (iy+editFlags)
ret z
cp kWindow ;if y= wasn't pressed, check if we should uninstall hook
jr nz, disableHook
ld hl, hook_addr + varname - hook_start
call _Mov9toOP1
call _ChkFindSym
jr c, disableHook ;if prgm doesn't exist
ld hl,$0055
ld (saveSScreen),hl
ld (OP1+1),hl
ld hl,saveSScreen+4
ex de,hl
ld c,(hl)
inc hl
ld b,(hl)
inc hl
ld (saveSScreen+2),bc
ldir
ld a,5
ld (OP1),a
call _ChkFindSym
jr c,$+5
call _DelVarArc
ld a,5
ld hl,saveSScreen
call _ExecuteNewPrgm
ld a, 0
ret
disableHook:
cp kGraph
ret nz
call _ClrRawKeyHook
; ld a, 0 ;pressing Graph continues to the graph screen
ret
varname:
.db ProgObj, "NOS", 0, 0
hook_end:
BIN
View File
Binary file not shown.