Changes

AMSDOS

459 bytes added, 13 October
* [[AMSDOS Hidden RSX Functions]]
* [[AMSDOS Memory Map]]
 
<br>
== AMSDOS command reference ==
You can choose another user with a POKE into AMSDOS variables. For example, '''poke &a701,&e5''' provides access to the deleted files or USER 229 (recycle bin). |Ren,"0:filename.typ","filename.typ" moves the deleted file filename.typ from USER 229 to USER 0. Another example, '''poke &a701,&a2''' provides access to USER 162.
 
<br>
 
== Intercepted Firmware Calls ==
 
Besides these external commands, AMSDOS facilities are implemented by intercepting these cassette firmware calls:
*CAS IN OPEN
*CAS IN CHAR
*CAS IN DIRECT
*CAS RETURN
*CAS TEST EOF
*CAS IN CLOSE
*CAS IN ABANDON
*CAS OUT OPEN
*CAS OUT CHAR
*CAS OUT DIRECT
*CAS OUT CLOSE
*CAS OUT ABANDON
*CAS OUT CATALOG
 
The remaining cassette firmware calls are not intercepted and remain unaffected.
 
<br>
== CAS TEST EOF ==
* If the opened file doesn't have a header then hard EOF is signaled at the end of the current record (Each record is 128 bytes). e.g. if reading a file without a header which is meant to be 2 bytes long, hard eof will not be signalled until byte 128.
* If the opened file does have a header then hard EOF is signaled at the end of the data defined by the header. (i.e. if there is a header and the file has length 2, hard EOF is signalled when reading the third byte).
 
<br>
== BASDOS ==
7,943
edits