News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_ZbyniuR

Guide about RSX from XD-DOS

Started by ZbyniuR, 05:56, 11 February 16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZbyniuR

As in subject I looking for any manual about RSX in XD-DOS, any help?
In STARS, TREK is better than WARS.

TFM

#1
You can use ROManager 2.14 to display all RSX of a ROM.[nb]including single letter RSX commands, which can't be used from BASIC.[/nb] You also can use the !HELP command of X-DDOS to display a list of ROMs or !HELP,nr to display (most) of the RSX of the ROM with number nr.

If you have questions about X-DDOS specific command I can help you. But there are docs in the wiki I assume.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

ZbyniuR

I know how to use |help command. Thanks :)

I want add more functions to my Starter program like format disc, and copy/edit files. So I looking for some useful RSX. I had problem how to use FORMAT and ATTRIBUT from X-DDOS. Funny ROM is everywhere but manual nowhere. But I already found, because those command are the same like in V-DOS. :)

In STARS, TREK is better than WARS.

TFM

#3
Yes, it's close to VDOS. To format you can use !FORMAT,x where x can be 1 or 2 [nb]Yes, 1 and 2. Not 0 and 1.  :) [/nb]for drive A or B iirc. And for !ATTRIBUT the paramters are "filename" and "attribute" where the latter one can be "R", "W", "S" iirc.

Interestingly you're right. Couldn't find X-DDOS doc in PDF on a quick search. Should be out there though.  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

ZbyniuR

Nope, |format,0 does't work. I found some interesting RSX for me:

RAMDISK.BIN
|TYPE,"name"   - pause by any key, no break possible
|FORMAT,"a","d"   -  format disk in drive A as DATA, no verify, no ask.
|COPY,"name","b"   - does'n work with 1 drive only, but you can use ramdysk in 6128 as |M drive, first |FORMAT,"m",63  and now copy to M and later from M to A. Max 63K capacity.

X-DDOS ROM
|TYPE,"name"   - pause by ESC, break double ESC
|FORMAT,1   - 1 mean |A, or 2 mean |B, and answer for 2 questions, (are you sure) and (what format), D is DATA
|COPY,"a:old-name","b:new-name" - does'n work with 1 drive only,
|ATTRIBUT,"name","r"   - r=read-only, w=read/write, s=system-hide, d=dir-visible

UTOPIA ROM
|TYPE,"name"   - pause by ESC, break by double ESC.   Basic files look less mess than in previous both
|FORMAT,"a","d"   -  format disk in drive A as DATA with verify,  but first ask are you sure?
|COPY,"a","b","name"  - copy "name" from A to B, working with 1 drive too with 21K bufor, but each file separately
|DISCCOPY,"a","b"     - copy whole disk by tracks, work with 1 drive only too, but only 8 tracks at once
|INFO[,"name"]        - show informations about file/s
|DEDIT,"a",0,&C1      - disc editor, work realy nice
|MEDIT,address[,bank]   - memory editor, equal fine.
And few others fine RSX. :)

I wonder what else popular ROM or .BIN have similar command for Disk. I prefer something light and short file.
Recently I found very short procedure without RSX for read/write sector and format track, but I have to analyze and test it. Actually rest what I need could be done in few lines of Basic. :)
In STARS, TREK is better than WARS.

Powered by SMFPacks Menu Editor Mod