Welcome, Guest. Please login or register.

Author Topic: Assign Wedge utility  (Read 2961 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline arttu80Topic starter

Assign Wedge utility
« on: March 15, 2021, 07:31:10 PM »
Hello.

First I would like to know what this utility really is for.
Somehow I have it in my WBStartup directory, but I don't remember installing it (silly me). My setup is this: A4000/KS3.1.4 with 3.1.4.1 upgrade. The reason I ask, is that this utility crashes almost everytime I boot into WB. "Program Failed (error #8000000B)" whatever that is. Otherwise system seems pretty stable. I have X-Surf 100 with USB module in it, also FastATA card and BigRam 256Mb card. I run one 16Gb Cf card in it at the moment.

I tried to briefly google about this utility, but didn't find any useful answer for what it is for, so please enlighten me. Can I try other similar utility in place of this? I understand that this is some kind of directory path assigning tool, am I right? If so, how it is managed?
 

Offline Pat the Cat

Re: Assign Wedge utility
« Reply #1 on: March 15, 2021, 08:02:55 PM »
https://aminet.net/package/util/wb/AssignWedge

It handles volume requests supposedly and lets you ASSIIGN them to directories. I am not so sure about how it handles image MOUNTs.

Handy but not indispensable.

EDIT: I had a quick nose in the source code, it makes an unconditional jump to an absolute address early in the code. I don't know if that's all that's wrong with it, could be,
« Last Edit: March 15, 2021, 08:20:11 PM by Pat the Cat »
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline TribbleSmasher

Re: Assign Wedge utility
« Reply #2 on: March 15, 2021, 08:10:10 PM »
It is a very handy tool.

Normally, when a program wants to access a specific drive or disk, it will simply try and the OS looks for it. If it is not found, you get a simple request "please insert Foo: in any drive".

This is mostly useless regarding to hard drives etc.

Say you have Deluxepaint5 on your hdd and you double click on an old picture from a floppy disk that refers to Dpaint3:dpaint the system will request the dpaint3: disk.
Assignwedge changes the request to allow an assign of this dpaint3: to e.g. your Work:gfx/deluxepaint5/ folder for this session.
That picture therefore gets opened with dpaint5.
« Last Edit: March 15, 2021, 08:11:39 PM by TribbleSmasher »
 

Offline NinjaCyborg

Re: Assign Wedge utility
« Reply #3 on: March 15, 2021, 08:21:00 PM »
It's a wonderful annoyance killer that is a built in feature on OS4.
 

Offline TribbleSmasher

Re: Assign Wedge utility
« Reply #4 on: March 15, 2021, 08:31:38 PM »
Hm, it might be included with 3.1.4.1, can't remember. Maybe thats why its crashing. Or it is patched in by MCP or similar.
 

Offline Gulliver

Re: Assign Wedge utility
« Reply #5 on: March 16, 2021, 12:54:05 AM »
Hm, it might be included with 3.1.4.1, can't remember. Maybe thats why its crashing. Or it is patched in by MCP or similar.

It is NOT included in AmigaOS 3.1.4(.1).
 

Offline arttu80Topic starter

Re: Assign Wedge utility
« Reply #6 on: March 16, 2021, 05:49:26 AM »
O.k. thank you for information on this. So it's such a "clever" program it doesn't need any setup or configuration files, wow.. But still I wonder why this want to crash on me. Is it supposed to be in WBStartup dir?

Or it is patched in by MCP or similar.

And what does that mean? What is MCP?
 

Offline kolla

Re: Assign Wedge utility
« Reply #7 on: March 16, 2021, 09:27:34 AM »
It will be included in 3.2, but in a more "clean" way than it currently is.

Yes, WBStartup is correct place for it.

8000000B suggests something tries to use an FPU that isn't there. Are you sure that AssignWedge is what causes the crashes?
Exactly _when_ does it crash? On bootup?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Assign Wedge utility
« Reply #8 on: March 16, 2021, 09:36:04 AM »
It handles volume requests supposedly and lets you ASSIGN them to directories.

Yes, or mount if there exists a mountlist entry for the volume/dosdriver asked, or deny once, or deny "forever".

Quote
I am not so sure about how it handles image MOUNTs.

It doesn't, directly.
You have to use some diskimage.device and above mentioned mountlist entries (DEVS:MountList, DEVS:DOSDrivers/#? or SYS:Storage/DOSDrivers/#?)

Quote
EDIT: I had a quick nose in the source code, it makes an unconditional jump to an absolute address early in the code. I don't know if that's all that's wrong with it, could be,



That is just the hack&patch nature of this program, it jumps to that address because that is where it can "wedge" itself in and interfer the "insert blabla" requestors (and it's not really an absolute address is it...)
« Last Edit: March 16, 2021, 09:52:55 AM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline arttu80Topic starter

Re: Assign Wedge utility
« Reply #9 on: March 16, 2021, 03:19:04 PM »
8000000B suggests something tries to use an FPU that isn't there. Are you sure that AssignWedge is what causes the crashes?
Exactly _when_ does it crash? On bootup?

Yes right after I enter wb screen, some seconds later this error message requester pops up (It says Assign Wedge Program failed, blah blah). If I press suspend button I can continue using machine normally. Oddly, sometimes it doesn't crash (quite rarely). FPU is there, because its full 040/25MHz, original to this machine.

Actually as I made several reboots of machine it didn't crash even once, so I must say that this problem occures only on cold boot.

So to make a conclusion, can this be related to 68040.library?
« Last Edit: March 16, 2021, 03:54:09 PM by arttu80 »
 

Offline Pat the Cat

Re: Assign Wedge utility
« Reply #10 on: March 16, 2021, 04:20:24 PM »
Can I try other similar utility in place of this? I understand that this is some kind of directory path assigning tool, am I right? If so, how it is managed?

Best candidate for an alternative would appear to be;-

https://aminet.net/package/util/boot/AssignManager

No guarantees it will work with 3.1.4. But it's fairly new, and does let you point and click to change assigns made on boot (it doesn't intercept "insert volume" messages as far as I can tell).
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline kolla

Re: Assign Wedge utility
« Reply #11 on: March 16, 2021, 11:38:16 PM »
FPU is there, because its full 040/25MHz, original to this machine.

So to make a conclusion, can this be related to 68040.library?

YES!!!

Seriously, without 68040.library, you can expect a lot 8000000B crashes from all kinds of programs that may or may not use the OS buildt in math libraries.

You should consider installing http://aminet.net/package/util/sys/Mu680x0Libs
« Last Edit: March 16, 2021, 11:41:13 PM by kolla »
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS