Welcome, Guest. Please login or register.

Author Topic: Pure bit not set ????  (Read 3651 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline scannercfTopic starter

  • Newbie
  • *
  • Join Date: Oct 2003
  • Posts: 10
    • Show only replies by scannercf
Pure bit not set ????
« 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 !!!!
Only Amiga makes it possible  :-D
 

Offline chris

Re: Pure bit not set ????
« Reply #1 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
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline Thomas

Re: Pure bit not set ????
« Reply #2 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

Offline scannercfTopic starter

  • Newbie
  • *
  • Join Date: Oct 2003
  • Posts: 10
    • Show only replies by scannercf
Re: Pure bit not set ????
« Reply #3 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 !!!
Only Amiga makes it possible  :-D
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Pure bit not set ????
« Reply #4 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.
 

Offline lempkee

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 2860
    • Show only replies by lempkee
    • http://www.amigaguru.com
Re: Pure bit not set ????
« Reply #5 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.

Whats up with all the hate!