Major updates coming in next emulator release
Posted: Mon Aug 03, 2020 2:50 pm
I’m not posting this as an official update announcement as it’s not finished but wanted to whet your appetites. Also big shoutout to @Michael Steil and @Frank van den Hoef. Frank wrote the main driver which was way faster and more complete than the old one and Micheal extended its functionality. The next emulator release has major improvements to the DOS for the SD card filesystem. The main ones are:
A lot of progress has been made with the X16 DOS. It's almost feature complete, and almost has feature parity with CMD floppy and hard drives.
• Long filename support
• You can open files for reading (OPEN2,8,2,"FILE") or for writing (OPEN2,8,2,"FILE,P,W"), read and write data, have four of them open at the same time, etc. etc.
• Overwriting files is done with "@:".
• You can copy files (DOS"C:BACKUP=ORIGINAL"), concatenate files (DOS"C:ALL=FILE*"), all with wildcards.
• You can rename files (DOS"C:NEW=OLD").
• You can delete files (DOS"S:R*,Q*").
• You can lock/unlock files (DOS"L:R*" or DOS"F-L:R*"/DOS"F-U:R*").
• Like on CMD devices, create directories (DOS"MD:DIR), delete them (DOS"RD:DIR), change them (DOS"CD:DIR).
• You can use paths everywhere (DOS"C//BACKUP/:FILE.TXT=FILE.TXT", DOS"$//BACKUP/:A*")
• All commands and paths support drive/media numbers (DOS"$1:*"), but only 0 (current) and 1 (only supported partition) work.
• You can get partitioning info (DOS"GP"+CHR$(1)) like on CMD hard disks.
• You can even read/write DOS memory and execute code in a DOS context (M-R, M-W, M-E). Yeah, not that useful.
• All error messages on the status channel (just type "DOS") are consistent with 1541/1571/CMD drives, e.g. 01, FILES SCRATCHED,05,00 etc.
What's missing:
• Open file for appending (,P,A).
• Show/change disk name.
• mkfs (N)
• fsck (`V')
• timestamp support
What's missing that I'm not sure should be added:
• REL files
• block read/write API
Sent from my iPhone using Tapatalk