Changes

Jump to: navigation, search

AMSDOS

2,559 bytes added, 07:52, 1 May 2018
AMSDOS also adds 14 [[RSX]] commands to the [[Locomotive BASIC]] command set.
 
== BIOS Functions and Memory Map related to AMSDOS ==
 
* [[AMSDOS Header]]
* [[AMSDOS RSX Functions]]
* [[AMSDOS Hidden RSX Functions]]
* [[AMSDOS Memory Map]]
== AMSDOS command reference ==
moves the file EXAMPLE.BAS from USER 0 to USER 15 without changing its name.
¹: In fact, more user areas existedexist. Deleted files for example are in reality only moved to USER 229 (hexadecimal &E5). You can choose another user with a POKE into AMSDOS variables.
<br>== CAS TEST EOF ==
<br>* 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).
== BASDOS ==
'''BASDOS''' (BASIC Disc Operating System) is an a patched AMSDOS clone made in East Germany (GDR) for the [[KC Compact]].  The disc interface for the KC Compact contains the BASDOS rom, a NEC765 disc controller and 64KB RAM. Differences compared to AMSDOS:* There is a new block of code at &dc00-&df00 in the ROM which starts with a small jumpblock. This code implements the patches. Other parts of the ROM have been patched to call into this.* Disc motor handler is patched to support a Ramdisk if selected.* Ramdisk is chosen with drive 'C' or 'D' using |DRIVE only. The XDPB for the ramdisk is fixed and isn't auto detected. In addition data within the XDPB is used to identify Ramdisk 'formats'. 'Auto select' parameter is 1 for a ramdisk based format, which has a dual purpose of identifying it and preventing auto-detection and the filler byte has been repurposed to define the base ram page of the ramdisk. The ramdisk uses KC Compact RAM Expansion/Amstrad compatible RAM Expansions.* Read/write is patched to allow double sided discs so that BASDOS format can be used.* Drive 'A' or 'B' can be DATA, BASDOS format (704KB) or SYSTEM/VENDOR. IBM format is replaced by BASDOS format.* Drive 'C' accesses a 64KB RAM DISK. (1KB blocks, 64 blocks, 32 directory entries). Uses second bank with ram selections from c4.* Drive 'D' accesses a 192KB RAM DISK. (2KB blocks, 96 blocks, 128 directory entries). Uses second bank with ram selections from e8. Useful if you have a 256KB/512KB ram expansion.* the double sided [[MicroDOS]] disc format is only supported in Microdos and not in AMSDOS mode. There are no XDPB defined for it within the BASDOS ROM.* BASDOS can boot both [[MicroDOS]] and Amstrad CP/M using |CPM depending on the detected disc format. Read id is used to detect which is used. Both the sector ID (R) and sector size (N) from the read id results are used. A ram expansion is required for MicroDOS. Both BASDOS and MicroDOS should be useable on a CPC.
[[Category:Stub]] [[Category:Disc Operating_System]] &nbsp;
2,541
edits