Welcome, Guest. Please login or register.

Author Topic: Weird 040/060 Libs and speed  (Read 2079 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmiBoyTopic starter

Weird 040/060 Libs and speed
« on: November 23, 2003, 10:00:45 AM »
Hi all
First off I was really happy when I first got my Apollo 060 75MHz having upgraded from a 25MHz 040. When I first had it in my tower under OS3.1 it was great Doom and Breathless and Napalm where running at good speeds compared to the 040 but ever since I upgraded to OS3.9 Doom and Breathless are running slower than my 040! Dooms FPS counter shows I get about 3 FPS on average, more if Im looking towards walls.

This should not be happening! I fiddled around with my processor libs. The install disk installs a dummy 040 librray which then accesses either the proper 040 library or my 060LC.library

I got rid of the Dummy lib and the 060 lib to see what would happen. My computer booted amazingly fast and workbench opened draws fast aswell fastre than when I had the specific 060 library installed. But if I tried to luanch any programs it would crash and guru! even with the dummy 040 lib installed the computer was fast but programs even simple workbench pref programs would crash! When i reinstalled the 060 lib the computer would become stable but does not run at the speeds I think the 060 is capable of and im getting P****d of with it now.

Is there anyone out there who can help me? If so please reply to this post AND PM me

Thanks all
AmiBoy
Escom A1200, Power Tower, OS3.9 & BB2, HD-Floppy drive, Mediator PCI, Voodoo 3 3000 16MB, Soundblaster 4.1, TV Tuner Card, 10/100MBit Ethernet card, Apollo 68060 66MHz with 64MB, 9.5Gig HD and 52xCDRom

Also one spare unworking bare A1200
 

Offline Madgun68

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 706
    • Show only replies by Madgun68
    • http://home.comcast.net/~madgun1968
Re: Weird 040/060 Libs and speed
« Reply #1 on: November 23, 2003, 11:06:07 AM »
You need to have a dummy 68040 library. The 68060 does not have all the instructions the 68040 has.. If something accesses the real 68040 library (instead of the dummy library) you'd see what you saw.. Programs commiting suicide.

Have you tried a benchmark program to see what results you get?

I'm not sure if they'd work for you or not, but I suppose you could give the phase-5 libraries a try. (Maybe they'd work better? Dunno.. Maybe they wouldn't work at all.) I suppose I could email them to you if you want them and can't locate them elsewhere.

Does the 68060's cache get set correctly?
......
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: Weird 040/060 Libs and speed
« Reply #2 on: November 23, 2003, 11:10:45 AM »
Do I get that right, you got an 68LC60 ? The one without FPU ?

That could be where you problem lies:

SW detects 68040 (there is no 060 detection in AOS).
SW thinks "oh thats nice, lets use the FPU-version".
SW crawls through the FPU-emu in the LC.lib.
SW crashes when the LC.lib isn't installed.

Solution:
Get a proper 060, even if it only runs at 50MHz.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline amiga1260

Re: Weird 040/060 Libs and speed
« Reply #3 on: November 23, 2003, 11:29:17 AM »
Try to find a copy of OXypatcher and it will speed up your 060. An 060 are missing some instructions that an 040 has and an 040 are also missing some instructions of an 030/882 combination. Remove 040FPU specific programs and install the no FPU versions of them. There is an 060 patch for Breathless on Aminet and your game will work faster. Or play the real 3d shooter Quake.
 

Offline Madgun68

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 706
    • Show only replies by Madgun68
    • http://home.comcast.net/~madgun1968
Re: Weird 040/060 Libs and speed
« Reply #4 on: November 23, 2003, 12:24:17 PM »
I guess I was all wrong about what RC/LC meant. Shows you what good it is to have a FPU. Here's something I found on google for those that may not know:

{PC|XC|MC}68{EC|LC|}060{RC|FE}50
  ^            ^          ^
  |            |          |
  |            |          casing (RC = ceramic PGA, FE = plastic PLCC)
  |          model (EC = no FPU, no MMU,  LC = no FPU,  nothing = full version)
  release (PC = first revisions, XC = early versions, MC = later versions)

(clipped from a post by Michael van Elst. Unfortunately, the formatting didn't stay, but you can figure out what it all means. :-))
......
 

Offline lempkee

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 2860
    • Show only replies by lempkee
    • http://www.amigaguru.com
Re: Weird 040/060 Libs and speed
« Reply #5 on: November 23, 2003, 12:52:14 PM »
nah i recall this problem.

its the 3.9 ROM in devs from boing bags...

i advice you to use 3.9 bb2 and use blizkick for the rom updates..

good luck
Whats up with all the hate!
 

Offline Damion

Re: Weird 040/060 Libs and speed
« Reply #6 on: November 23, 2003, 12:56:58 PM »
Make sure the 68040 lib is really the dummy lib,
and not accidentaly the full library (it's file
size is very small in comparison, so should be
easy to detect) and of course that it's named
"68040.library".

A "full" 060 is best, but if it worked much
better before, I'm thinking there's a library
issue...The 'latest' setpatch from the second
3.9 "boingbag" (v44.38) eradicated the need
for a dummy 68040 library, and Thor's libraries
also have their own solution, but it seems
you may have to use a special lib for the
LC version...(?)

Anyhow, you could try Thor's libraries anyway:

http://www.aminet.net/util/sys/Mu680x0Libs.lha

Simply move any existing libraries out of your
libs drawer, and from the above package install:

680x0.library

and

68060.library

-edit- and also

mmu.library

Worth a shot I suppose...

 
 

Offline voxel

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 322
    • Show only replies by voxel
Re: Weird 040/060 Libs and speed
« Reply #7 on: November 23, 2003, 02:12:30 PM »
Well well well :-)

Since some times now (don't remeber how long ;-)  ), there is NO NEEDS for a dummy 68040.library anymore!

Setpatch WILL look what library is installed in LIBS: and then load the one it finds.

So you just have to install the library you need in LIBS: in your case I would recommand the 68060.library from the MMULib latest package (v43.6), AND the MMU.library itself (use the mmulib install script for that).

Don't forget to verify if the 68060 caches are on as without it the 060 will CRAWL :-)

Hope this help ;-)

Amigalement,
Jean-François, Amiga ONLY since 1985.
Amigalement,
Jean-François Bachelet, Amiga nuts since 1985.
-------------------------------------------------
Welcome to Happy Computing : Amiga! (© 2K4-2K8 voxel)