Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: scannercf on October 25, 2003, 01:17:37 AM

Title: Pure bit not set ????
Post by: scannercf on October 25, 2003, 01:17:37 AM
I have formatted the Supradisk of my A500, and now when I boot (after re-install the WB1.3) the OS displays "Pure bit not set" when the startup-sequence tries to execute a "resident" command

What is this and how to fix it ????

Thanks a lot !!!!
Title: Re: Pure bit not set ????
Post by: chris on October 25, 2003, 01:26:42 AM
You need to do (and excuse me if the command line isn't quite right here) a "protect +p ".  Replace with the filename of the command resident is trying to residentify.

The pure bit specifies that a program can be made resident.  There are special rules that residentable programs need to adhere to, which I would have to look up, but if this is a command in the standard startup-sequence, then just set the pure bit using protect as above, and everything should be ok.

Chris
Title: Re: Pure bit not set ????
Post by: Thomas on October 25, 2003, 10:13:17 AM

You should have copied your Workbench disks with the "clone" parameter, so all the protection bits were cloned.

copy df0:#? dh0: all clone

There is only one rule to make a program pure: it must be reentrant. That means the program must be cappable to run the same code on several tasks concurrently. This is because making the program resident means the program is loaded into memory once and on every call it is just run, without any repeated initialisation.

Bye,
Thomas
Title: Re: Pure bit not set ????
Post by: scannercf on October 25, 2003, 01:44:59 PM
I FOUND HOW TO FIX THE PROBLEM
But I don´t know what´s the problem !!!  :-?

The problem is originated when I transfer files between my PC and the Amiga using Aexplorer.

After re-formatting the disk, I restored all the original disk files from a backed-up version stored in my PC hard disk, I don´t know what´s the problem but it looks like the Aexplorer changes something in the file when translates the files from the Amiga to the PC when I backed up in the first time.
Also UAE gives me these error messages when I tried to "boot" from these files.

I fixed up copying a  WB13.ADF directly to DF0: and then I copied the system files from the diskette to hard disk.

STRANGE, UH??

Thank you everybody who tried to help !!!
Title: Re: Pure bit not set ????
Post by: Piru on October 25, 2003, 03:18:48 PM
Quote
But I don´t know what´s the problem !!!

The problem is originated when I transfer files between my PC and the Amiga using Aexplorer.

After re-formatting the disk, I restored all the original disk files from a backed-up version stored in my PC hard disk, I don´t know what´s the problem but it looks like the Aexplorer changes something in the file when translates the files from the Amiga to the PC when I backed up in the first time.
Also UAE gives me these error messages when I tried to "boot" from these files.

I fixed up copying a WB13.ADF directly to DF0: and then I copied the system files from the diskette to hard disk.

STRANGE, UH??

Well it's not strange. You said it yourself: "looks like the Aexplorer changes something in the file", that is: Amiga Explorer loses the P bit.
Title: Re: Pure bit not set ????
Post by: lempkee on October 25, 2003, 03:39:31 PM
typical lame pc #### , typical error in all ZIP archives from a pc also.

i always has to set RWED when i unzip a zip file.