Page 1 of 1

DOS Assign command and dismount switch with AOSFE

PostPosted: Fri May 19, 2017 6:42 pm
by gdridi
Hello,


I remark that with AmigaOS Final Edition the dismount switch of the AmigaDOS Assign command give the message :
" ARABCON: not found " after I,
mount arabcon: from mountlist

My "DOS" device is on the list at the bottom given by assign alone, but,
There's no more way to dismount it !
It was nice to dismount a/my (DOS) device when developing.

Is the switch dismount have a replacement?

Is my device lacking a DOS node "object" to be dismounted with release Final Edition ?

Is there a new "dismount" DOS packet to respond?

Thanks,
DGILLES

Re: DOS Assign command and dismount switch with AOSFE

PostPosted: Fri May 19, 2017 10:05 pm
by xenic
gdridi wrote:Is the switch dismount have a replacement?

Is my device lacking a DOS node "object" to be dismounted with release Final Edition ?

Is there a new "dismount" DOS packet to respond?

There is a SYS:C/Dismount command and there is a new packet to respond to. I did some work on a filesystem device but don't know how a console should handle the new packet. You can check dos.dospackets.doc in SDK:Documentation/AutoDocs. I don't know much else.

Re: DOS Assign command and dismount switch with AOSFE

PostPosted: Sat May 20, 2017 12:33 pm
by broadblues
Testing here:

assign DISMOUNT RAM:

dismonts RAM: with no problem.

assign DISMOUNT CON:

says CON: not found

C:DISMOUNT CON: works however.

Not sure if assign not dismounting handlers rather than devices is a intended behaviour or not.

Re: DOS Assign command and dismount switch with AOSFE

PostPosted: Sat May 20, 2017 5:07 pm
by xenic
broadblues wrote:assign DISMOUNT RAM:

dismonts RAM: with no problem.

And C:Dismount produces this:

C:Dismount ram:
DISMOUNT: packet request type unknown

After reading the autodocs for the ACTION_DIE & ACTION_SHUTDOWN packets and the DismountDevice() function, I get the impression that ram: may not be completely updated to OS4 AmigaDOS standards. I could be wrong and if Colin is reading this maybe he can explain.

Re: DOS Assign command and dismount switch with AOSFE

PostPosted: Sun May 21, 2017 3:10 am
by broadblues
It might just simply ignore those commands as removing RAM: renders you system somewhat chaotic....

Re: DOS Assign command and dismount switch with AOSFE

PostPosted: Sun May 21, 2017 4:28 am
by colinw
xenic wrote:
broadblues wrote:assign DISMOUNT RAM:

dismounts RAM: with no problem.

And C:Dismount produces this:

C:Dismount ram:
DISMOUNT: packet request type unknown

After reading the autodocs for the ACTION_DIE & ACTION_SHUTDOWN packets and the DismountDevice() function, I get the impression that ram: may not be completely updated to OS4 AmigaDOS standards. I could be wrong and if Colin is reading this maybe he can explain.


The dismounting ability of ram-handler is switchable, I use it as a test handler for devolopment, it's off by default.
If you want to play, then in a shell type; sys:Kickstart/ram-handler.kmod ?
(The RESET option puts it all back to defaults.)

And, the reason CON: is not consistent is a bug in the "Assign dismount" emulation, but only with the con-handler.
Besides, you should be using c:dismount anyway, i'll probably remove that awfull assign kludge for the V54 release.
I have no idea who thought it would be a good idea to bolt a device dismounting feature onto a command that
was primarily designed to handle assignments.

Re: DOS Assign command and dismount switch with AOSFE

PostPosted: Sun May 21, 2017 9:57 pm
by gdridi
Thank you xenic, I found this dismount command on C: and it works well (under AOSFE also) ;
Thank broadblues for testing ; it really helps me, on the way ;
Thank you Colin (or the Asgard from the serie? ) for your insight reflexion, thank you.
DGILLES