Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246
Changes - CPCWiki

Changes

AMSDOS RSX Functions

37 bytes added, 23:57, 16 December 2010

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /mnt/cpcwiki-httpdocs/includes/diff/DairikiDiff.php on line 434
RSX - Below Resident System ExtensionsBelow (RSX ) commands can be used under BASIC (preceeded by a "|" character), and in machine code by obtaining the function address via KL_FIND_COMMAND, for details see: [[BIOS Kernel RSX Functions (Resident System Extensions)]]
== CPM, DIR, REN, ERA ==
ERA ;in: A=01h, [IX+0]=ptr to "filename"
REN ;in: A=02h, [IX+0]=ptr to "newname",[IX+2]=to "oldname"
CPM loads the boot sector from Drive A, Track 0, Side 0, Sector 41h to 0100h..02FFh, and starts it (entrypoint=0100h). DIR displays the directory (similar to CAT, but without alphabetically sorted names, and optionally allowing to specify a filename with "*" and "?" wildcards). ERA erase a file (or multiple files with wildcards). REN renames are a file.
== DISC/TAPE.IN/.OUT ==
== Note ==
* The above function vectors are usually at ROM7:C009h..C032h in AMSDOS, however, clones like VDOS, RODOS, ROMDOS, X-DDOS have the vectors arranged differently, so always use KL_FIND_COMMAND to obtain the function address.
 
[[Category:Programming]]
4,649
edits