CPCWiki forum

General Category => News & Events => Topic started by: norecess on 04:15, 18 July 11

Title: QuickCMD v2.0
Post by: norecess on 04:15, 18 July 11
Hi guys,


Just few words to let you know QuickCMD v2.0 is now available !


http://www.norecess.net/quickcmd.html (http://www.norecess.net/quickcmd.html)


This version is a complete rewrite. It's now a real ROM (executed from there, not copied to RAM like in previous version), does not auto-launch at startup (CTRL+TAB to launch now), features low-level file handling (allowing operations like undelete, set read-only attribute..), DIR command can now list hidden files, there is ROM management, CRTC detection, it's faster, has a small memory footprint (I guess 6 bytes in RAM is OK for everybody !)..


To all the ones that were disappointed with V1.0, I listened you and learnt. Please give a try to this V2.0.


Also added, a PDF documentation covering all the features of the software.


Regards,
Arnaud


PS. I know there is already a thread about v1.0 but it's deprecated now..
Title: Re: QuickCMD v2.0
Post by: Sykobee (Briggsy) on 10:12, 18 July 11
Excellent work!
Title: Re: QuickCMD v2.0
Post by: redbox on 11:18, 18 July 11
Very nice, and really great to see you implementing the changes suggested by the community  :)
Title: Re: QuickCMD v2.0
Post by: CPCIak on 16:43, 18 July 11
Could you ask Bryce to integrate QuickCMD into MegaFlash ROM, please. Thanks
Title: Re: QuickCMD v2.0
Post by: TFM on 17:52, 18 July 11
Quote from: CPCIak on 16:43, 18 July 11
Could you ask Bryce to integrate QuickCMD into MegaFlash ROM, please. Thanks

You can do this by yourself, using the ROManager. Just load and install the ROM.
Title: Re: QuickCMD v2.0
Post by: TFM on 17:54, 18 July 11
Back to Q...

My first error report...

- If you type A, there is no disc in A. Then you press C for Cancle, the system crashes.

- If you switch to another drive (not a or b) with a letter like C (Dobbertin RAM disc f.e.) or higher, the system freezes.

I only had a quick look. Q 2.0 was installed at ROM position 1.
Title: Re: QuickCMD v2.0
Post by: norecess on 18:15, 18 July 11
cool ! an error report !  :D


Quote If you type A, there is no disc in A..

Do you mean that if you type A: with no disc inserted, QCMD will crash ? (this is possible)



QuoteThen you press C for Cancle, the system crashes.

C for what ? Do you mean C then TAB (autocomplete) ?

[/size]
QuoteIf you switch to another drive (not a or b) with a letter like C (Dobbertin RAM disc f.e.) or higher, the system freezes.

Only A: or B: is authorized. How can you switch to drive 3 ("C") under Amsdos ?
Title: Re: QuickCMD v2.0
Post by: TFM on 21:25, 18 July 11
Quote from: norecess on 18:15, 18 July 11
cool ! an error report !  :D

Hey, this evolves in something really good! But we all need help in beta-testing ;-)

Quote from: norecess on 18:15, 18 July 11
Do you mean that if you type A: with no disc inserted, QCMD will crash ? (this is possible)

Yes.


Quote from: norecess on 18:15, 18 July 11
C for what ? Do you mean C then TAB (autocomplete) ?

If the RDOS ROM is installed it provides (if exp ram is connected) a 444 KB RAM disc, that can be used like A and B, but it's letter is C. So !C is like !A or !B.

However, the letter H also freezes the system. Maybe I have the wrong ROMs connected?
 
Quote from: norecess on 18:15, 18 July 11
Only A: or B: is authorized. How can you switch to drive 3 ("C") under Amsdos ?

Using the RDOS ROM which provides an RAM-disc named C. (It's the RDOS from Dobbertin).


Good luck! I like the Q program :-) Hope you keep on going working on it.
Title: Re: QuickCMD v2.0
Post by: Gryzor on 09:35, 19 July 11
Oooh fantastic!

Question: can I copy your page to the wiki?
Title: Re: QuickCMD v2.0
Post by: norecess on 12:05, 19 July 11

QuoteQuestion: can I copy your page to the wiki?


Sure. This is a mature release. I expect releasing a new version for bug-fixings but basically, features won't change soon.


@TFM
This is going hard to me to add support for your device, if I don't have the hardware to test against it. Is there a way to simulate it under an emulator ?

Title: Re: QuickCMD v2.0
Post by: Gryzor on 13:53, 19 July 11
...aaaand done (http://cpcwiki.eu/index.php/QuickCMD)! :)
Title: Re: QuickCMD v2.0
Post by: norecess on 14:10, 19 July 11
Wow, this is cool.  :)
Title: Re: QuickCMD v2.0
Post by: Gryzor on 14:18, 19 July 11
Quote from: norecess on 14:10, 19 July 11
Wow, this is cool.  :)

Yeah, you write the program and I get the glory :D
Title: Re: QuickCMD v2.0
Post by: Bryce on 14:22, 19 July 11
Nicely done Gryzor norecess , but couldn't you find a more colourful screenshot as the black on grey one? :)

Bryce.
Title: Re: QuickCMD v2.0
Post by: Gryzor on 14:28, 19 July 11
:p


Here's something more stylised for you.
Title: Re: QuickCMD v2.0
Post by: Bryce on 14:41, 19 July 11
That's just blurred, you marketeer :D

Bryce.
Title: Re: QuickCMD v2.0
Post by: Gryzor on 14:43, 19 July 11
No, it's also colorised with a fine retro feel to it. You like it. Stare at it. I know you want it.
Title: Re: QuickCMD v2.0
Post by: Bryce on 14:50, 19 July 11
Oooooo, shiny, I want to buy one...  :P

That kind of effect?

Bryce.
Title: Re: QuickCMD v2.0
Post by: Gryzor on 14:54, 19 July 11
...is how it works. And I'll drop a free thingamajig (TM) in, too! Amazing offer!
Title: Re: QuickCMD v2.0
Post by: Bryce on 15:02, 19 July 11
Returning to the actual subject. I'll install CMD 2.0 on the MegaFlash tonight and see how it goes. Can it work in any position or does it need to be below ROM 7?

Bryce.
Title: Re: QuickCMD v2.0
Post by: norecess on 15:16, 19 July 11
BTW, excepted the initial reception ("cool, I'm going to test tonight") how many of you tried QuickCMD for real ? I really look forward to see if it works for you as expected.


ps. I will fix the "no disc in drive crash" this week
Title: Re: QuickCMD v2.0
Post by: redbox on 15:19, 19 July 11
Quote from: norecess on 15:16, 19 July 11
BTW, excepted the initial reception ("cool, I'm going to test tonight") how many of you tried QuickCMD for real ? I really look forward to see if it works for you as expected.


Been using it today (in an emulator admittedly!) and loving it  :)
Title: Re: QuickCMD v2.0
Post by: TFM on 15:56, 19 July 11
Quote from: norecess on 12:05, 19 July 11
@TFM
This is going hard to me to add support for your device, if I don't have the hardware to test against it. Is there a way to simulate it under an emulator ?

Hi, it shouldn't be that tough. The Dobbertin RDOS is quite "nice" to the CPCs OS and keeps the standards up, so drive C should act as A or B. However you can use the RDOS with some emulators, not with all.. wait... Caprice works.

Ok, let me upload that ROM to... the CPC Wiki... wait... Done!

Take a look here:
http://www.cpcwiki.eu/index.php/RDOS (http://www.cpcwiki.eu/index.php/RDOS)

This ROM is really cool, you can use the XD-DOS |COPY command ot copy to the RAM disc and then back to disc. Great when working with one drive.

Well, this is not the original 8 KB ROM, this is the extended version with a lot of great commands. Just take a look at it :-)
Title: Re: QuickCMD v2.0
Post by: norecess on 16:29, 19 July 11
@TFM Actually, I wonder : what do you expect from me ?


QuickCMD can execute RSXs.
Does QCMD crashes when you type "C" (for |C) or "COPY" (for |COPY) ?


If you are expecting QCMD to display "C:" as a prompt then I'm afraid QCMD is a bad bet for you :( I really want to keep QCMD generic, cf. not make special dedicated code for a given RSX..
Title: Re: QuickCMD v2.0
Post by: TFM on 16:42, 19 July 11
No, no, the Q (four letters are just too much for me to type, but I like the letter Q) is great as is, I don't ask for any implementation. But if I enter "C" then it freezes.
Title: Re: QuickCMD v2.0
Post by: Bryce on 17:42, 19 July 11
Hi norecess,
     just to prove that I (and possibly others) have tested QCMD on real hardware. Here it is running on a 6128+ (French) on the MegaFlash (as can be seen below Monitor). Very nice of you to include the hfe file in the zip, that saved me the bother of converting it :) I will play around some more with it and will report back if I find anything.

Bryce.


Title: Re: QuickCMD v2.0
Post by: norecess on 18:11, 19 July 11
Awesome picture :)


QuoteCan it work in any position or does it need to be below ROM 7?
Yep, any position is OK (tested).
Title: Re: QuickCMD v2.0
Post by: norecess on 20:16, 19 July 11
PS. the disc missing stuff is fixed. Waiting for other bug reports.... (as I don't want to spam you with new releases everyday)
Title: Re: QuickCMD v2.0
Post by: Bryce on 20:22, 19 July 11
Glad you like the picture, I've messed about with it quite a bit now with no complaints so far :)

Bryce.
Title: Re: QuickCMD v2.0
Post by: norecess on 20:24, 19 July 11
Really cool, then.  :)
Title: Re: QuickCMD v2.0
Post by: norecess on 16:13, 20 July 11
Good news for RSX lovers!


in V2.0 only string-typed parameters are supported for optional parameters


in my current internal build (v2.1), if the parameter is an integer (cf. 1234) or an hexadecimal value (cf. &1234) then it will be sent as a integer parameter to the RSX !


i still have to implement the " " stuff, cf. if you want to send a string like 1234 you should do it like that "1234"
example: ERA "1234" to call RSX ERA that will delete a file called "1234."

Title: Re: QuickCMD v2.0
Post by: norecess on 21:00, 20 July 11
good news again ! I just finished implementing the quote stuff


so basically, it's now possible to do


ERA "FICHIER  .EXT"  (we use the " (quote) because there are spaces between FICHIER and .EXT)
DAMS &4000 (will launch DAMS with &4000 as parameter)
DAMS 16384 (same behavior)
ERA "16384"  (will try to delete a file called 16384)
REN "my file.txt" "my file 2.txt"  (will report an error, but you get the idea)

(of course old convention remains valid, cf. REN FICHIER.TXT FILE2.TXT)
(I'm glad to use C for high-level stuff :) would have been a nightmare to manage this 100% in asm ;))
Title: Re: QuickCMD v2.0
Post by: norecess on 18:21, 21 July 11
Another good news for QuickCMD  :P


Thanks to Executioner's technical support, I just fixed the bad reported file sizes for PARADOS 80's formatted discs.. see screenshot !


I think I will release QuickCMD v2.1 tonight, as I have to go in vacations for 3 weeks this week-end..
Powered by SMFPacks Menu Editor Mod