Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: KatManDEW on February 27, 2009, 02:35:09 AM

Title: 68040 library?
Post by: KatManDEW on February 27, 2009, 02:35:09 AM
What's the skinny on the 68040.library, and variants that I've seen? What are they for?

I had to delete the 68040 library to get my A1200 to boot from HD with an Apollo 1240 accelerator. It's less compatable with WHDLoad games than my A2000 with GVP 040, and I use the 68040.library with it...
Title: Re: 68040 library?
Post by: mike- on February 27, 2009, 03:03:17 AM
http://phase5.a1k.org/
try the one in there.
Title: Re: 68040 library?
Post by: save2600 on February 27, 2009, 03:37:37 AM
Quote

KatManDEW wrote:

I had to delete the 68040 library to get my A1200 to boot from HD with an Apollo 1240 accelerator. It's less compatable with WHDLoad games than my A2000 with GVP 040, and I use the 68040.library with it...


I'm no expert by a long shot, but regarding WHDLoad games and an 040/060... has to do with the way memory is mapped? You need to edit WHDLoad's config file in your S directory. What kind of errors are you getting? If getting memory errors, delete the semicolon before the noautovec option and then save of course.

Re: the variants in libraries... like anything else computing wise, there are bugs and conflicts with various peripherals and set ups. Always best to install the latest drivers...
Title: Re: 68040 library?
Post by: KatManDEW on February 27, 2009, 03:55:39 AM
Quote

mike- wrote:
http://phase5.a1k.org/
try the one in there.


That didn't work. The archive contained these files.

68040.library (a small file)
68040new.library
68040old.library
68060.library

I copied those file as-is to my libs folder, and it wouldn't boot.

I deleted the small 68040.library and renamed 68040new.library to 68040library, and it wouldn't boot.

What am I doing wrong?
Title: Re: 68040 library?
Post by: Piru on February 27, 2009, 05:46:34 AM
@KatManDEW
Quote
What am I doing wrong?

These libs are for phase5 accelerators, I'm not so sure they work with Apollo ones.
Title: Re: 68040 library?
Post by: KatManDEW on February 27, 2009, 05:53:19 AM
Quote

Piru wrote:
And anyway, these libs are for phase5 accelerators, I'm not so sure they work with Apollo ones.


That's what I wondered... I found those (same?) 68040 files when researching the Apollo 68040, and found them on a combination Apollo 88040/86060 disk, but they also didn't work.

Seems to me that if I have a 68040, I should be using a 68040.library (like I am with the 040 in my A2000). But I've seen reference to the fact that the 68040.libray(s) are a ball game in and of themselves...
Title: Re: 68040 library?
Post by: DoogUK on February 27, 2009, 09:11:59 AM
With my apollo i replaced the 68040 library with the one from os3.9....it gave the apollo a substantial speed increase for some reason.
Title: Re: 68040 library?
Post by: Crumb on February 27, 2009, 10:08:59 AM
try out Thor's MMU library, MuRedox and Thor 68040 libraries.

http://aminet.net/package/util/libs/MMULib

Title: Re: 68040 library?
Post by: Crusher on February 27, 2009, 01:21:33 PM
Don“t you need a "dummy"-library with Apollo? But that maybe just for 3040/4040.
Title: Re: 68040 library?
Post by: CLS2086 on February 27, 2009, 09:38:58 PM
Like the FortyFusion, keep the original 040 commodore libs v37  :-)
Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 12:16:29 AM
I haven't tried Thor's MMU yet, but the OS 3.9 library didin't work. She locks up on boot.

I just got the 3.1 roms today and it doesn't work with them installed either.
Title: Re: 68040 library?
Post by: amigakit on February 28, 2009, 12:21:56 AM
Please see your Pmail.
Title: Re: 68040 library?
Post by: AmigaMance on February 28, 2009, 01:31:21 AM
Since nobody gave you an explaination of what this library is, i wiil give it a try:
 68040 and 68060 CPUs have some micro-instructions missing in relation to the older (68000-68030) CPUs. They are mainly floating point instructions, but there are a couple of CPU ones as well.
 This is where the 68040.library comes in. It emulates these missing instuctions and allows you to run code which was written for older CPUs. If your CPU encounters one of these instructions in a program that you try to run and the 68040.library is not initialized, it will cause a guru or a system lockup/crash, iirc.

 If you tried every available version of this library and you continue to experience crashes, try to update the Setpatch command and in case you have install CyberPatcher, try to remove it.
Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 01:50:06 AM
Thanks for the 68040.library description. That makes sense.

I think the lack of one is causing me and unknown amount of problems. After I installed the 3.1 ROM's today, DOpus won't run anymore :-?

And I can't boot from a OS 3.9 Emergency Disk floppy modified to install 3.9 from a CF card - she just locks up...

Most WHDLoad games wouldn't work even with the 3.0 ROM's. My 1200 has been less compatable with WHDLoad than my A2000 with OS 3.9...
Title: Re: 68040 library?
Post by: Methuselas on February 28, 2009, 02:00:43 AM
Apollo Accelerators are pieces of sh!t. 'Nuff said.
Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 02:21:10 AM
Quote

Methuselas wrote:
Apollo Accelerators are pieces of sh!t. 'Nuff said.


That's bad news, for me anyway :boohoo:

Are they still a POS if upgraded to an 060?
Title: Re: 68040 library?
Post by: CSixx on February 28, 2009, 02:36:12 AM
They are hardly a POS.
I've had mine for years without issue. All my WHDLoad games work perfectly.

For WHDLoad, i do have to add the "nocache" tooltype to the game icon before they work.

Does your Amiga boot without a 68040.library at all?


Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 02:56:06 AM
Quote

CSixx wrote:
They are hardly a POS.
I've had mine for years without issue. All my WHDLoad games work perfectly.

For WHDLoad, i do have to add the "nocache" tooltype to the game icon before they work.

Does your Amiga boot without a 68040.library at all?


Yea, it boots without a 68040 library. But I've tried several versions of the 68040 library, and it hangs when booting with all of them.

I've got a real clean installation of OS 3.1 because I just got the A1200 recently.

Are you using the stock Commodore 68040 library?

I'll try the nocache option, but I think I may be wasting my time because I seem to have a weird situation by not being able to use a 68040.library.
Title: Re: 68040 library?
Post by: CSixx on February 28, 2009, 03:08:11 AM
I don't have any 68040.library at all.
I tried the Commodore 68040.library from the 3.9 disk and my Amiga refuses to boot also, which must have been why I didn't have one installed.

However, I don't have any apparent side effects from not having it. Sysinfo reports a speed of 17613, all apps and WHDLoad games work.

I'll see if I can round up a working library tho.
Title: Re: 68040 library?
Post by: Damion on February 28, 2009, 05:24:01 AM
Quote

Methuselas wrote:
Apollo Accelerators are pieces of sh!t. 'Nuff said.


Says someone who obviously never owned one.

@KatManDew

Are you *sure* you're using the correct (larger size) library? Have you tried Thor's? (Those work beautiful on every accelerator I own, btw.) Phase5 libraries also work fine here, but mine is an '060 card.

Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 06:28:55 AM
Quote

-D- wrote:
Quote

Methuselas wrote:
Apollo Accelerators are pieces of sh!t. 'Nuff said.


Says someone who obviously never owned one.

@KatManDew

Are you *sure* you're using the correct (larger size) library? Have you tried Thor's? (Those work beautiful on every accelerator I own, btw.) Phase5 libraries also work fine here, but mine is an '060 card.



I tried Thor's 68040.library only, without intalling the whole package. No go. I tried the Phase5 libraries. I tried every 68040 library I can find. No go.

Something weird is going on because ever since I installed the 3.1 ROM's today, Directory Opus wouldn't run. I've installed the Apollo 1240 and the 3.1 ROM's since I installed OS 3.1 and Opus, so I blew away the hard drive and started from scratch. DOpus still wouldn't run. Somewhere along the way I booted with the CPU cache disabled, and DOpus runs with the CPU caches disabled. I didn't have to do that to run DOpus with the 3.0 ROM's.

Me thinks a usable 68040 library might be in order...

The walls in my house are all covered with blood from me beating my head on them :-o
Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 07:00:55 AM
Check that - DOpus will not even run with the CPU cache disabled anymore.
Title: Re: 68040 library?
Post by: countzero on February 28, 2009, 07:50:16 AM
are you using a flash disk or normal HDD ?

does dopus run without the apollo ?
Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 03:32:13 PM
Quote

countzero wrote:
are you using a flash disk or normal HDD ?

does dopus run without the apollo ?


I'm using a normal 2.5 inch HDD.

DOpus ran fine with the Apollo until I installed the 3.1 ROM's yesterday.
Title: Re: 68040 library?
Post by: matthey on February 28, 2009, 03:59:24 PM
See if you have a motherboard jumper to raise the ROM speed. I remember some reports of 3.1 ROMs that were not as fast as old ones and caused problems.
Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 04:51:16 PM
Quote

matthey wrote:
See if you have a motherboard jumper to raise the ROM speed. I remember some reports of 3.1 ROMs that were not as fast as old ones and caused problems.


I just tried again, and got it to boot with one of the 68040 libraries from an APollo install disk that I got at Amiga Resource (there are two 68040 libs on that disk, both of which I tried before).

But DOpus still won't work.. I get the Suspend - Reboot message. error #8000000B
Title: Re: 68040 library?
Post by: Matt_H on February 28, 2009, 05:06:31 PM
Are you using a recent DOpus, as in 4.16 or 4.17? The older, commercial releases in the 4.11 neighborhood are somewhat crashy on high-end hardware.
Title: Re: 68040 library?
Post by: dannyp1 on February 28, 2009, 06:40:43 PM
Rather than Opus, I would suggest DM2.  It will do most of what Opus does, and seems to get along with anything I have ever thrown at it.
Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 06:52:47 PM
Quote

matthey wrote:
See if you have a motherboard jumper to raise the ROM speed. I remember some reports of 3.1 ROMs that were not as fast as old ones and caused problems.


I don't see a jumper on my motherboard.
Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 07:02:42 PM
Quote

Matt_H wrote:
Are you using a recent DOpus, as in 4.16 or 4.17? The older, commercial releases in the 4.11 neighborhood are somewhat crashy on high-end hardware.


It's version 4.16. It worked before I installed the 3.1 ROM's.

I can't find a version 4.17 on Aminet.
Title: Re: 68040 library?
Post by: Matt_H on February 28, 2009, 07:50:33 PM
You can get 4.17p21 here (http://dopus.free.fr/download.php), but 4.16 should be sufficiently stable. Strange. Make sure the supporting modules (DOpus.library, etc.) come from the same archive as the executable.

The 1200 doesn't have a ROM Speed jumper, so no worries there.

Check if SnoopDOS outputs anything interesting. Also try starting DOpus with no config file (rename the current one to something else for testing purposes)

I think someone else mentioned SetPatch. This (http://aminet.net/package/util/boot/SetPatch_43.6b) is what you should be using on 3.1 or below (3.5 and above have a newer version built in).
Title: Re: 68040 library?
Post by: matthey on February 28, 2009, 07:50:55 PM
Quote

KatManDEW wrote:
I don't see a jumper on my motherboard.


I believe you are correct. It looks like the 1200 doesn't have the ROM speed jumpers of the big box Amigas. I still think something more than software may be wrong. What size power supply do you have?
Title: Re: 68040 library?
Post by: Damion on February 28, 2009, 07:58:29 PM
Quote

matthey wrote:
Quote

 I still think something more than software may be wrong. What size power supply do you have?


I'm wondering the same here. If it's a C= manufactured A1200 and the caps are going south, it might intermittently freeze/crash/reboot with an accelerator connected. Mine also needs power at the floppy connector.

Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 08:26:46 PM
Many thanks for all the info!

Although I figured something was wrong because DOpus wouldn't run, I went for broke and installed OS 3.9, and lo and behold, DOpus runs after 3.9 was installed! It's beyond me...

I'm using the stoak A1200 power supply, and that could indeed be the problem. I'm also gonna take a look see with SnoopDOS.

But for right now I'm gonna take a break and clean up all the blood from where I've been beating my head against the wall the past few days :-D

Thanks again!
Title: Re: 68040 library?
Post by: matthey on February 28, 2009, 09:09:50 PM
Some programs may work sometimes and sometimes not. You probably need a larger power supply...

http://www.ianstedman.co.uk/Amiga/amiga_hacks/Amiga_Power_supplies/body_amiga_power_supplies.html
Title: Re: 68040 library?
Post by: KatManDEW on February 28, 2009, 11:15:32 PM
Since my Apollo 1240 won't fit in the stock A1200 case, I'm going to put it in a tower, so I will have a better PSU in the tower.

I'm guessing that installing OS 3.9 gave me a different version of setpatch, which allowed DOpus to run.
Title: Re: 68040 library?
Post by: Tension on March 01, 2009, 01:37:18 AM
Quote

Methuselas wrote:
Apollo Accelerators are pieces of sh!t. 'Nuff said.


What a load of {bleep}e
Title: Re: 68040 library?
Post by: KatManDEW on March 05, 2009, 03:05:08 AM
I formatted DH0 and installed OS 3.9 on a empty hard disk, and she booted just fine with the 68040.library installed by OS 3.9.
Title: Re: 68040 library?
Post by: stefcep2 on March 05, 2009, 04:23:49 AM
i had issues with an Apollo board 1240 like you, same errors.  Turns out i had the Happy New Year virus, which attaches itself to many C commands, including the 68040.library, and also many programs like DOpus and scala.  It makes the infected files a few kb bigger.  Eventually i had to reformat the hard drive and get system floppies from somewhere else because the ones I had were infected. I'd run VirusZ to make sure.
Title: Re: 68040 library?
Post by: KatManDEW on March 05, 2009, 04:54:16 AM
Quote

stefcep2 wrote:
i had issues with an Apollo board 1240 like you, same errors.  Turns out i had the Happy New Year virus, which attaches itself to many C commands, including the 68040.library, and also many programs like DOpus and scala.  It makes the infected files a few kb bigger.  Eventually i had to reformat the hard drive and get system floppies from somewhere else because the ones I had were infected. I'd run VirusZ to make sure.


That's interesting. Thanks for the tip.
Title: Re: 68040 library?
Post by: bfilipe on May 22, 2009, 06:07:39 PM
Hi,
I also have an Apollo 1240, the 40Mhz version with 64MB. As for stability I get mixed results, but that might be from the fact that I'm also using a FastATA MK2.
Boing2 and Remapollo can be problematic. I've stopped using remapollo in the last days because with boing 2, if I had to reboot my machine from OS3.9 I had either to switch it off or make several quick resets to clean the rom stored in ram, otherwise the machine would show a yellow screen on boot, and I would have no fast mem when loading the OS. The only way to avoid this and keep boing 2 with remapollo would be not to load the OS_Module2 (Exec 45.20).

There is no way you can run Dopus 4.16 with WB31, kickstart 3.1 for amiga 1200 (40.68) and a 68040 CPU! You can check it in Win UAE also, It will always crash! On, the other end in OS3.9 it works, as it does also on WB3.1/WB3.0/K3.0 so it must be a problem arising from kick3.1/wb3.1, not the apollo 1240 itself.

However, since I also own an Amiga 500 with kickstart 3.1 (40.63). I've extracted the rom Image and tryed it in winUAE. With this rom DOPUS works with a 68040 CPU in WB 3.1!

Whdload used to be more problematic. But if properly configured it will work most of the times (some times you also need to use NOCACHE).



Regards
Title: Re: 68040 library?
Post by: x303 on May 22, 2009, 07:50:10 PM
Quote from: KatManDEW;444437

I can't find a version 4.17 on Aminet.


You can find v4.17 here: http://dopus.free.fr/betas.php
Title: Re: 68040 library?
Post by: TjLaZer on May 24, 2009, 12:35:19 AM
PM me for some tools and libs for the Apollo 12xx accelerator.