I wonder because we have a EEPROM size that would accommodate both PC and Mac images if we could stitch a PC ROM and an FCODE ROM into one and it may bypass this check if we put the PC image as the first image,
@joevt?
Are we talking about the 6200? The fcode is 64K and the rom is 64K even though it appears as 128K in the expansion rom base register (check the markings on the rom chip). If there was enough space, then I can stitch the Mac and PC roms together. I am thinking about working on a compression method for the fcode rom.
Joe's debug ROM v5 for the PNY card goes to abort very early when I try and load it from file and the 6200 ROM Maker ROM only adds the Open and Close .words then seems to go to abort too.
Here are the PC and Mac ROMS for the EVGA 512MB PCI card:
Do you have both PNY and EGA 6200 cards?
Code:
0 > dev pci1/@2 ok
0 > load hd:5,\ppc\jvt5.rom load-size=ffc0 adler32=91bd8356
ok
0 > .properties
...
subsystem-id 0000b402
...
ok
0 > words
close open ok
0 > " pci1/@2" open-dev to my-self r_3 @00061010.l = 92000000
...
ok
0 > 800000 1 byte-load [ NV43
here:ffa04668
get subsystem-id
val93f=b402
r_3 @00061014.l = e0000008
r_3 @00061010.l = 92000000
w_3 @00061010.l = ffffffff
r_3 @00061010.l = ff000000
w_3 @00061010.l = 92000000
r_3 @00061014.l = e0000008
w_3 @00061014.l = ffffffff
r_3 @00061014.l = e0000008
w_3 @00061014.l = e0000008
r_3 @00061018.l = 91000000
w_3 @00061018.l = ffffffff
r_3 @00061018.l = ff000000
w_3 @00061018.l = 91000000
r_3 @00061030.l = 90000000
w_3 @00061030.l = ffffffff
r_3 @00061030.l = fffe0001
w_3 @00061030.l = 90000000
r_3 @00061004.w = 6
w_3 @00061004.w = 6
w_0 @00000004.l = 1000000
r_0 @00000000.l = a100a104
r_0 @00101000.l = 8f9ec523
ABORT:dd7#2
ok
0 >
You're using a New World Mac so it should work. Does it work with the original fcode? Or is this a PC card that you haven't tried in a Mac before?
ABORT:dd7#2
seems to be related to the subsystem-id/model check.
Note that in
#192 that
get subsystem-id
sets
val93f
as
4d
but you have
b402
. So before you
byte-load
the fcode, change the subsystem-id property.
4d encode-int " subsystem-id" property
Also, do a
lspci
to see what the subsystem-id appears as in the pci config registers.
Yes, i remember.
So the way to go would be reflashing the card again. And assuming these are the matching commands...
Code:
Escape character is '^]'.
ok
0 > dev pci1/@2 ok
0 > load hd:5,\ppc\jvt5.rom load-size=ffc0 adler32=91bd8356
ok
0 > 800000 1 byte-load [ NV43
here:ff9e14a8
ok
where "@2" is where the card sits and "\ppc\jvt5.rom" is the path to the ROM from top level of the disk and "load-size=ffc0" is the size. Has adler32 to calculated or is it anywhere in the file?
And when all that is done, i can again try to execute the commands from
#191?
Beige G3 can't load files from HFS+ disks, can it? Unless from floppy disk?
The load command is
load hd:5,\ppc\jvt5.rom
. Remember that Open Firmware often replies on the same line you made the command from which means the rest of that line is the response. It may be useful to edit these logs so that responses from Open Firmware commands are on a separate line.
Path to PCI would be the easiest to find, if only the card appears at all. But with the PC ROM it should. Not so easy, at least i haven't done it yet would be the access to the HD. Is that number the same that also appears with "diskutil list" from the terminal or can it be found anywhere in the device tree?
I made a command to list partitions on my Power Mac 8600
First you need to define some things (unless you have Open Firmware 2.4 or Open Firmware 4)
Code:
unselect-dev
struct
/w field >pmsig
/w field >pmsigpad
/l field >pmmapblkcnt
/l field >pmpypartstart
/l field >pmpartblkcnt
20 field >pmpartname
20 field >pmparttype
/l field >pmlgdatastart
/l field >pmdatacnt
/l field >pmpartstatus
/l field >pmlgbootstart
/l field >pmbootsize
/l field >pmbootload
/l field >pmbootload2
/l field >pmbootentry
/l field >pmbootentry2
/l field >pmbootcksum
10 field >pmprocessor
drop
504d constant pmsig
Then you need to open the disk:
" pci1/@F/@2/sd@0" 2dup find-device open-dev to my-self
In this case, @0 is the primary drive of an ATA connected disk.
Then you add the commands (see attached file for full listing):
Code:
: mytype
...
: list-partitions
...
Then execute
list-partitions