Hi Raylynn,

here are the addresses that you should look at for NuBus Cards:
0xf1000000 - 0xff000000

0xf1000000 - 0xf1ffffff is for NuBus Slot 1 (doesn't exist as far as I know) and
0xff000000- 0xffffffff is for Slot F (doesn't exist as well).

Valid Slots are 9 - E as far as I know.

My PB 1400 internal ethernet card uses slot E address space (internal video cards do as well).
It's registers addresses are mapped starting at 0xfe600000.
They are repeated until address 0xfe7fffff.
At the very end of the address space is the NuBus ROM.
The rest of slot E address space has values of 0 or 0001 (from 0xfe400000 - 0xfe5fffff). I think in slot address space you should increase the address values you are looking at by 0x00100000. But that's just guessed .

Comm-Slot cards are mapped in the address space of the onboard I/O devices (at least the comm-slot SONIC cards are).
That is 0x50f00000 - 0x50ffffff.
In the kernel sources in the file arch/ppc/platforms/nbpmac_node.h you can find the addresses for many of the onboard devices (on my PB 1400 I found 2 more devices) for the PDM PowerBook and Performa machines. So if you find registers at other places they are probably the ones you are searching for. If there aren't any registers at an address you enter you will get an error message.
You should then increase the address value in steps of 0x1000.
The additional device registers I found are at 0x50f80000 (PBX memory controller) and 0x50f96000 (a really interesting one that MacOS uses when accessing the floppy drive). At address 0x50f36000 there are registers that seem to always be zero so I don't know what device they belong to.

I know nothing about the addresses PDS cards use - you could browse the source of the different macintosh ethernet drivers in the kernel tree.

You also need to know the interrupt the device is using. In the files nbpmac_pfm.c (Performa) nbpmac_amic.c (PDM) and nbpmac_m2.c (PowerBook) in arch/ppc/platforms you should be able to find out the interrupt number that are used for each slot. For comm-slot and PDS cards I don't know what interrupts they use (SONIC uses the interrupt of slot 9).

In MacsBug you enter addresses without "0x" in front of the values.
Some registers are not accessible with the display page (dp) command.
You can use "db" for byte (8 bit) access, "dw" for word (16 bit) access and "dl" for long word (32 bit) access.

I hope that will help you to find the addresses of the cards you don't know. You might as well use MacsBug to see what addresses a MacOS driver accesses to but that's a bit more complicated.

You can also disassemble the MacOS driver (with MacsBug but better with ResEdit). MacOS drivers are in the DRVR resource of either the System file or the driver's system extension.


Tobias

Am 04.05.2006 um 17:02 schrieb audilover:

----- Original Message Follows -----
From: Tobias Netzel <[EMAIL PROTECTED]>
To: nubus-pmac-users@lists.sourceforge.net
Subject: Re: [Nubus-pmac-users] Tobias' latest kernel...
Date: Thu, 4 May 2006 07:42:39 +0200

Hi Raylynn,

the TREX driver is deactivated for now on the PB 500.
You would have to find out the I/O and memory addresses of
the PCMCIA   expansion module (using MacsBug for exapmle).

Drat!  I guess I'll have to learn how to use MacsBug.  I
also need to
find the address that the Farallon cards with SMC chipset
use.  I have
CommSlot, PDS and PowerBook 1400 cards from Farallon that
use the SMC
chipset and none of them have a NuBus ROM.  So the SMC
driver currently
doesn't find them.  I'd love to get the PowerBook 1400 card
working.

I just noticed you update to kernel version 2.4.32 also!  I
have
success with this kernel on the following so far in addition
to my
Newer Tech upgraded 6100:

PowerBook 1400cs w/ 216 Mhz NewerTech G3 w/512K L2 Cache -
Farallon
   Ethernet card with SMC chipset still not recognized.
PowerBook 1400c/133 - No problems
PowerBook 5300ce with Focus SMC chipset Ethernet - No
problems
PowerBook 5300cs - No problems.

Still need to test:

Duo 2300c
PPC upgraded PowerBook 540c w/ PCMCIA
PowerBook 1400cs w/ 250 Mhz NewerTech G3 w/1MB L2 Cache
PowerMac 7100 w/ 240 Mhz NewerTech G3
PowerMac 8100/100
Performa 6290



Am 04.05.2006 um 06:38 schrieb Raylynn Knight:

On Wed, 2006-05-03 at 14:31 -0400, Joseph E. Sacco,
Ph.D. wrote: >> Installed Tobias' latest kernel [2may06]
on an P6600 accelerated with   >> a
NewerTech MAXpowr G3 PD 240/160MHz. The new kernel
boots and runs   >> well.
In particular, the new kernel appears to have resolved
the boot-time >> memory contention problem that has
plagued accelerated NuBus MAC's.  I >> am able to upgrade
the RAM from 72MB to 262MB and still consistently >> boot
YDL-3.1. >>
I am pleased.


-Joseph

I've tried the kernel on my P6100 accelerated with a
210Mhz NewerTech MAXPower with similar results.  I'll be
upgrading my memory to 136MB shortly now that the
boot-time memory contention appears to be fixed. I'll be
testing on my PowerBook 1400 w/ NewerTech, PowerBook
1400/133, PowerBook 5300ce and Duo 2300 shortly.  I
should also be able to test   my
PowerBook 540 this weekend as I now have 40MB of RAM for
it and a 1.3GB hard disk.  It will be interesting to see
if the PCMCIA on this is supported.

Ray





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services,   security?
Get stuff done quickly with pre-integrated technology to
make your job   easier
Download IBM WebSphere Application Server v.1.0.1 based
on Apache   Geronimo
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net


https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security? Get stuff done quickly with
pre-integrated technology to make your job easier Download
IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo

http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nubus-pmac-users mailing list
Nubus-pmac-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users

Reply via email to