amiga.org
     
iconAll times are GMT -6. The time now is 01:12 PM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Software Issues and Discussion » WhichAmiga crashes!

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 04-08-2007, 07:09 AM   #1
Boot_WB
Defender of the Faith
Points: 10,894, Level: 69 Points: 10,894, Level: 69 Points: 10,894, Level: 69
Activity: 4% Activity: 4% Activity: 4%
 
Boot_WB's Avatar
 
Join Date: Feb 2005
Location: Kingston upon Hull, UK
Posts: 1,175
Default WhichAmiga crashes!

Whilst I wait for a legal copy of AOS4 I decided to finally install MOS on my Peg1, which has been on the back burner for a couple of months since moving house.

In going through my various backup CD's from previous installations I came across WhichAmiga - and decided to see what it would make of my Peg. Unfortunately it crashes without returning anything.

Piru, for shame! Surely the latest WhichAmiga should accurately report next gen Amigas (and next-gen amigas in all but name).

btw - on your Avatar you fail to mention that Finalnd is also the home of Moomins (by way of Tove Jansson)

Very happy with MOS so far on the Peg - easy to set up (with a bit of help through Google, and a bit of common sense), quick to boot, and that annoying "lag" on the right-click menus (which I found quite annoying on the MOSPUP version) - for example when showing all files in a directory - is much shorter.

I'm going to have to spend some time over the next few weeks transferring my original AOS (68k) software from floppy to CD (as I don't have a catweasel) to install various productivity stuff (for example - Wordsworth7).
__________________
www.hullchimneyservices.co.uk

Mac Mini G4 (1.5GHz, 64MB VRam, 1GB Ram): MorphOS 3.1
Powerbook 5.6 (15", 1.67GHz, 128MB VRam, 1GB Ram): MorphOS 3.1, OSX 10.5.8

Windows-free since 2011!
Boot_WB is offline   Reply With Quote
Old 04-08-2007, 07:12 AM   #2
AMIGAZ
Defender of the Faith
Points: 12,642, Level: 73 Points: 12,642, Level: 73 Points: 12,642, Level: 73
Activity: 2% Activity: 2% Activity: 2%
 
AMIGAZ's Avatar
 
Join Date: Feb 2004
Location: Stockholm, Sweden
Posts: 1,940
Send a message via ICQ to AMIGAZ
Default Re: WhichAmiga crashes!

Have you tried Piru's latest beta version of whichamiga?

lol, didn't know that Mumin trollen (moomins) was known in UK also :-o
AMIGAZ is offline   Reply With Quote
Old 04-08-2007, 07:23 AM   #3
Boot_WB
Defender of the Faith
Points: 10,894, Level: 69 Points: 10,894, Level: 69 Points: 10,894, Level: 69
Activity: 4% Activity: 4% Activity: 4%
 
Boot_WB's Avatar
 
Join Date: Feb 2005
Location: Kingston upon Hull, UK
Posts: 1,175
Default Re: WhichAmiga crashes!

Quote:
AMIGAZ wrote:
Have you tried Piru's latest beta version of whichamiga?
Hmmm.. thought that was the version I had, obviously not.

Quote:
lol, didn't know that Mumin trollen (moomins) was known in UK also :-o
Yes, we had them on television when I was young (and had more hair :roll: ). I think they were a regular strip in one of the newspapers also.
Bought my partner the complete adventures (in book form) for Christmas just gone. Excellent artwork - expressive and atmospheric.

By the way, I'm installing a few bits on MOS - when offered a choice, which is the best cpu version to use for 68k apps (eg Ibrowse)?
__________________
www.hullchimneyservices.co.uk

Mac Mini G4 (1.5GHz, 64MB VRam, 1GB Ram): MorphOS 3.1
Powerbook 5.6 (15", 1.67GHz, 128MB VRam, 1GB Ram): MorphOS 3.1, OSX 10.5.8

Windows-free since 2011!
Boot_WB is offline   Reply With Quote
Old 04-08-2007, 07:28 AM   #4
Framiga
Energizer Bunny of Babble
Points: 16,709, Level: 82 Points: 16,709, Level: 82 Points: 16,709, Level: 82
Activity: 5% Activity: 5% Activity: 5%
 
Framiga's Avatar
 
Join Date: May 2003
Posts: 4,082
Default Re: WhichAmiga crashes!

after some twaeking, i suggest you to use the 020f one (for IB2.4).

Which btw, are the one chosen by the installer IIRC.
Framiga is offline   Reply With Quote
Old 04-08-2007, 07:30 AM   #5
itix
Defender of the Faith
Points: 11,740, Level: 71 Points: 11,740, Level: 71 Points: 11,740, Level: 71
Activity: 5% Activity: 5% Activity: 5%
 
itix's Avatar
 
Join Date: Oct 2002
Posts: 1,874
Default Re: WhichAmiga crashes!

I always install 060 version but generally just pick up FPU version. 020+FPU, 040 or 060.
__________________
Only MorphOS makes it possible \o_
itix is offline   Reply With Quote
Old 04-08-2007, 07:35 AM   #6
Framiga
Energizer Bunny of Babble
Points: 16,709, Level: 82 Points: 16,709, Level: 82 Points: 16,709, Level: 82
Activity: 5% Activity: 5% Activity: 5%
 
Framiga's Avatar
 
Join Date: May 2003
Posts: 4,082
Default Re: WhichAmiga crashes!

i always install 060 version me too (when/if available) but with IB2.4, i've got some problems with the 060 one.

Framiga is offline   Reply With Quote
Old 04-08-2007, 07:38 AM   #7
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default Re: WhichAmiga crashes!

I'm afraid WhichAmiga pokes and peeks way too much low level HW to ever run on Pegasos. ;-)

Piru is offline   Reply With Quote
Old 04-08-2007, 08:49 AM   #8
Boot_WB
Defender of the Faith
Points: 10,894, Level: 69 Points: 10,894, Level: 69 Points: 10,894, Level: 69
Activity: 4% Activity: 4% Activity: 4%
 
Boot_WB's Avatar
 
Join Date: Feb 2005
Location: Kingston upon Hull, UK
Posts: 1,175
Default Re: WhichAmiga crashes!

Wouldn't it be fairly easy to set up an initial loop which would identify - for example - the cpu.

Broadly something like:

If cpu>=G3
check whether peg1, peg2, a1-se, a1-xe, uA1
Else
Run the original whichamiga routines
Endif

It would be a nice update to the existing WhichAmiga.

Obviously it's a bit more complex than that, but shouldn't be too hard to identify between Peg 1/2, a1-XX, etc

Of course, if it's too much of a challenge.. :-P
__________________
www.hullchimneyservices.co.uk

Mac Mini G4 (1.5GHz, 64MB VRam, 1GB Ram): MorphOS 3.1
Powerbook 5.6 (15", 1.67GHz, 128MB VRam, 1GB Ram): MorphOS 3.1, OSX 10.5.8

Windows-free since 2011!
Boot_WB is offline   Reply With Quote
Old 04-08-2007, 09:34 AM   #9
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: WhichAmiga crashes!

@boot_wb

You make it sound so simple. In order to ascertain what the hardware is, you have to ask it. For CPUs, this often involves peeking supervisor level registers. Which in turn implies your code has to run on that family of CPU to start with. A 68K executable would have difficulty peeking the PVR of a PowerPC that happened to be emulating it at the time ;-) You'd at least need versions compiled for each base platform. A single-executable-fits-all might be possible if you made it a warpup style mixed binary and relied on the host OS to provide the requisite library emulation.

As for detecting the native hardware present in the classic, well you are probably looking at a whole host of illegal access problems on non-classic hardware.

I'm not saying it's impossible, just a lot more difficult than you seem to imply.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 04-08-2007, 09:40 AM   #10
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default Re: WhichAmiga crashes!

Fetching PVR is no problem. However, I will not add support for non-classic systems.
Piru is offline   Reply With Quote
Old 04-08-2007, 09:49 AM   #11
Boot_WB
Defender of the Faith
Points: 10,894, Level: 69 Points: 10,894, Level: 69 Points: 10,894, Level: 69
Activity: 4% Activity: 4% Activity: 4%
 
Boot_WB's Avatar
 
Join Date: Feb 2005
Location: Kingston upon Hull, UK
Posts: 1,175
Default Re: WhichAmiga crashes!

@Karlos

I have no doubt that you are not exaggerating the difficulty - however, rather than trying to be totally self-contained why not use a call to an external function - for example "version".
If version returns a particular kickstart version (eg 40.68) indicating a classic Amiga then whichamiga continues with its standard 68k classic-hardware-interrogation routines. If version returns, for example, kickstart 50.60 then whichamiga runs a set of routines interrogating the Peg hardware.

Not sure if kickstart is hardware dependent on MOS, or whether it is a file, but the analogy works - if not "version", then some other function - native to the OS - which returns a value useful in identifying the hardware.
__________________
www.hullchimneyservices.co.uk

Mac Mini G4 (1.5GHz, 64MB VRam, 1GB Ram): MorphOS 3.1
Powerbook 5.6 (15", 1.67GHz, 128MB VRam, 1GB Ram): MorphOS 3.1, OSX 10.5.8

Windows-free since 2011!
Boot_WB is offline   Reply With Quote
Old 04-08-2007, 09:50 AM   #12
Boot_WB
Defender of the Faith
Points: 10,894, Level: 69 Points: 10,894, Level: 69 Points: 10,894, Level: 69
Activity: 4% Activity: 4% Activity: 4%
 
Boot_WB's Avatar
 
Join Date: Feb 2005
Location: Kingston upon Hull, UK
Posts: 1,175
Default Re: WhichAmiga crashes!

@Piru

Fair enough :-)
__________________
www.hullchimneyservices.co.uk

Mac Mini G4 (1.5GHz, 64MB VRam, 1GB Ram): MorphOS 3.1
Powerbook 5.6 (15", 1.67GHz, 128MB VRam, 1GB Ram): MorphOS 3.1, OSX 10.5.8

Windows-free since 2011!
Boot_WB is offline   Reply With Quote
Old 04-08-2007, 10:19 AM   #13
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: WhichAmiga crashes!

Quote:
Piru wrote:
Fetching PVR is no problem. However, I will not add support for non-classic systems.
I assume you mean via ppc.library / powerpc.library for classics - if not, how does a 68K access that?
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 04-08-2007, 10:40 AM   #14
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default Re: WhichAmiga crashes!

Quote:
I assume you mean via ppc.library / powerpc.library for classics
For PUP it can use the query function in ppc.library.
For WOS it executes a small PPC routine with RunPPC. This routine in turn calls another routine in supervisor, which fetches the PVR.
Piru is offline   Reply With Quote
Old 04-08-2007, 10:50 AM   #15
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: WhichAmiga crashes!

Yes, but either way, it is the PPC fetching the PVR, not the 68K - which was my original point ;-)
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Reply

Bookmarks

Tags
crashes , whichamiga

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WhichAmiga freezing my A1200 dougal Amiga Software Issues and Discussion 6 06-17-2011 12:23 PM
WhichAmiga crashes (bis) arkpandora Amiga Software Issues and Discussion 4 10-20-2007 05:39 PM
Why does whichamiga say my ppc is 349mhz? pan1k Amiga Hardware Issues and discussion 19 02-07-2007 02:39 PM
WhichAmiga freezes my 3000 gdanko Amiga Software Issues and Discussion 3 11-04-2005 04:05 PM
Whichamiga crash srg86 Amiga Software Issues and Discussion 6 01-21-2005 02:08 PM