home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Vectronix 2
/
VECTRONIX2.iso
/
FILES_03
/
C_JS_108.ZIP
/
DOCS
/
JAGOS.TXT
< prev
next >
Wrap
Text File
|
1996-02-19
|
3KB
|
102 lines
---------------------------------------------------------------------
- Callable functions in the Jaguar Operating System (JagOS) -
- ╜ Roine Stenberg '95 -
- Last update 960211 for V. 1.08 -
---------------------------------------------------------------------
All .W and .L are sent with the most significant byte FIRST.
If the return is an ascii string, it is sent from left to right.
Any Return values are processed by Jaguar Server, not by the user
program.
---------------------------------------------------------------------
2. Recive data from computer.
Ver: 1.00
Send:
.W $0002 * Function number
.L $5000 * Destination adress in Jaguar
.L $1000 * Lenght in bytes
.B datastream * Datadump
Return:
NONE
---------------------------------------------------------------------
3. Recive data from computer AND run program.
Ver: 1.01
Send:
.W $0003 * Function number
.L $5000 * Destination adress in Jaguar
.L $1000 * Lenght in bytes
.L $5000 * Start adress in Jaguar
.B datastream * Datadump
Return:
NONE
NOTE: If 'JAGL' is specified instead of 'JAGR', then the function
number is LONG instead of Word.
---------------------------------------------------------------------
5. Reset Jaguar.
Ver: 1.00
Send:
.W $0005 * Function number
Return:
NONE
---------------------------------------------------------------------
7. Run program.
Ver: 1.00
Send:
.W $0007 * Function number
.L $5000 * Start adress.
Return:
NONE
---------------------------------------------------------------------
9. Clear Jaguar memory.
Ver: 1.04
Send:
.W $0009 * Function number
.L $5000 * Start adress to Clear.
* $0 = Clear ALL memory from $4000 - $1FFFFF
.L $6000 * End adress to Clear.
Return:
.W Ascii 'CO' * Memory cleared.
---------------------------------------------------------------------
10. Tell computer to POLL for commands when .JAG program is uploaded.
Ver: 1.08
Send:
.W $000A * Function number
Return:
NONE
---------------------------------------------------------------------
12. Load and run users computer prg when *.JAG program is uploaded.
Ver: 1.08
Send:
.W $000C * Function number.
.B "USER.PRG",0 * Program to load and run and ,0 to mark end.
EVEN * Make sure next dc.w is _not_ odd.
Return:
NONE
---------------------------------------------------------------------
65535. STOP function.
Ver: 1.04
Send:
.W $FFFF * Function number to stop further functions.
Return:
NONE
---------------------------------------------------------------------