Thanks, but i just found the Beige's floppy together with it's cable. So i'm ready to test.Also a ISO9660 CD ROM should be readable on Old World OF.
Like 25 mins. if you output to screen with a G4 433Mhz and the built-in Rage II video, but I have the issue that the debug ROM effects booting of OS X.Thanks, but i just found the Beige's floppy together with it's cable. So i'm ready to test.
Maybe i get better results, as in new world Macs the card works with this ROM. How long did you have to wait until the debugging stuff had finished?
Thanks!Like 25 mins. if you output to screen with a G4 433Mhz and the built-in Rage II video,...
devalias and find the alias to you cdrom drive.Question left is, how it is accessed from OF to load the file.
Card is flashed back to PC and can be selected in OFdevalias and find the alias to you cdrom drive.
Also you have to flash it back to PC.
0 > devalias
pci /pci@80000000
mac-io /pci/mac-io
kbd /pci/mac-io/via-cuda/adb/keyboard
mouse /pci/mac-io/via-cuda/adb/mouse
ttya /pci/mac-io/escc/ch-a
ttyb /pci/mac-io/escc/ch-b
scsi /pci/mac-io/mesh
scsi-int /pci/mac-io/mesh
ide0 /pci/mac-io/ide@20000
ide /pci/mac-io/ide@20000
ata-int /pci/mac-io/ide@20000
ide1 /pci/mac-io/ide@21000
enet /pci/mac-io/bmac
swim /pci/mac-io/swim3
fd /pci/mac-io/swim3
You have IDE CD or SCSI? I have both in mine, but it shipped with SCSI.Card is flashed back to PC and can be selected in OF
devalias shows...
Code:0 > devalias pci /pci@80000000 mac-io /pci/mac-io kbd /pci/mac-io/via-cuda/adb/keyboard mouse /pci/mac-io/via-cuda/adb/mouse ttya /pci/mac-io/escc/ch-a ttyb /pci/mac-io/escc/ch-b scsi /pci/mac-io/mesh scsi-int /pci/mac-io/mesh ide0 /pci/mac-io/ide@20000 ide /pci/mac-io/ide@20000 ata-int /pci/mac-io/ide@20000 ide1 /pci/mac-io/ide@21000 enet /pci/mac-io/bmac swim /pci/mac-io/swim3 fd /pci/mac-io/swim3
A CD, ISO 9660, containing only the test-ROMs, named "test1.rom", "test2.rom"... is inserted. So CD must be one of the ides or ata-int. But which one?
it's ide. But i have scsi available, if this works better.You have IDE CD or SCSI? I have both in mine, but it shipped with SCSI.
Just need to check if it has the open word.it's ide. But i have scsi available, if this works better.
dev scsi-int/@3 \\ this assumes the SCSI ID of the CDROM is 3
words
dir scsi-int/@3:1,\
OR
dev scsi/@3
words
dir scsi/@3:1,\
OR OR
dir scsi/@3:,\
dev ide1/@0
dir ide1/@0:1,\
dir ide1/@0:,\
Yes, it hs the open word. As well as load, write, read.Just need to check if it has the open word.
0 > dev ide1/@0 ok
0 > dir ide1/@0:1,\ mac-files: bad node # unable to open the DIR device
Sometimes it takes a few tries, blame Apple for buggy OF!Yes, it hs the open word. As well as load, write, read.
But when i try dir, i get this:
Code:0 > dev ide1/@0 ok 0 > dir ide1/@0:1,\ mac-files: bad node # unable to open the DIR device
dir ide1/@0:,\
0 > dir ide0/@0:1,\
. 00000010 000021 000002048 000 000
.. 00000010 000021 000002048 000 000
TEST2.ROM 00000000 000025 000065536 000 000 AA
TEST3.ROM 00000000 000057 000065536 000 000 AA
TEST4.ROM 00000000 000089 000065536 000 000 AA
TEST5.ROM 00000000 000121 000065536 000 000 AA
ok
Ah, success!
Code:0 > dir ide0/@0:1,\ . 00000010 000021 000002048 000 000 .. 00000010 000021 000002048 000 000 TEST2.ROM 00000000 000025 000065536 000 000 AA TEST3.ROM 00000000 000057 000065536 000 000 AA TEST4.ROM 00000000 000089 000065536 000 000 AA TEST5.ROM 00000000 000121 000065536 000 000 AA ok
dev pci/@x \ where X is device slot for the 6200
load ide0/@0:1,\TEST2.ROM \ you may need to do this more than once if you have to
words \ should see open and close
" pci/@x" select-dev \ This won't work without the open word
4d encode-int " subsysem-id" property \ nessesary if it os other than 0x4d
load-base 1 byte load
wait........
0 > load ide0/@0:1,\test5.rom load-size=ffc0 adler32=91bd8356 loader: unrecognized client program format
You need to clip the PCI Header, everything to 0x40 with a hex editor....but, if i try to load, i get this:
Code:0 > load ide0/@0:1,\test5.rom load-size=ffc0 adler32=91bd8356 loader: unrecognized client program format
Even without the uneccessary stuff (load-size=ffc0 adler32=91bd8356) i get the "loader: unrecognized client program format"-error
0 > load ide0/@0:1,\TEST5.ROM
loader: evaluating FCode[ NV43
here:ff8588b0
ABORTvendor-id missing
ok
0 > words
close open
ok
0 > " pci/@e" select-dev r_3 @00007010.l = 82000000
w_3 @00007010.l = ffffffff
r_3 @00007010.l = ff000000
w_3 @00007010.l = 82000000
r_3 @00007014.l = 90000008
w_3 @00007014.l = ffffffff
r_3 @00007014.l = f0000008
w_3 @00007014.l = 90000008
r_3 @00007018.l = 81000000
w_3 @00007018.l = ffffffff
r_3 @00007018.l = ff000000
w_3 @00007018.l = 81000000
r_3 @00007030.l = 80820000
w_3 @00007030.l = ffffffff
r_3 @00007030.l = fffe0001
w_3 @00007030.l = 80820000
r_3 @00007004.w = 4
w_3 @00007004.w = 6
w_0 @00000004.l = 1000000
ok
0 > 4d encode-int " subsysem-id" property ok
0 > load-base 1 byte load byte, unknown word
ok
So here is, how far i got now:
Code:0 > load ide0/@0:1,\TEST5.ROM loader: evaluating FCode[ NV43 here:ff8588b0 ABORTvendor-id missing ok 0 > words close open ok 0 > " pci/@e" select-dev r_3 @00007010.l = 82000000 w_3 @00007010.l = ffffffff r_3 @00007010.l = ff000000 w_3 @00007010.l = 82000000 r_3 @00007014.l = 90000008 w_3 @00007014.l = ffffffff r_3 @00007014.l = f0000008 w_3 @00007014.l = 90000008 r_3 @00007018.l = 81000000 w_3 @00007018.l = ffffffff r_3 @00007018.l = ff000000 w_3 @00007018.l = 81000000 r_3 @00007030.l = 80820000 w_3 @00007030.l = ffffffff r_3 @00007030.l = fffe0001 w_3 @00007030.l = 80820000 r_3 @00007004.w = 4 w_3 @00007004.w = 6 w_0 @00000004.l = 1000000 ok 0 > 4d encode-int " subsysem-id" property ok 0 > load-base 1 byte load byte, unknown word ok
load-base 1 byte-load
dev / ls
dev pci/@e \ NVDA,Parent
.properties words
dev @0 \ if this doesn't show NVDA,Display-A then skip the rest
.properties words
" pci/@e/@0" open-dev u.
10 0 do i i 28 * 0 28 d# 480 fill-rectangle loop \ show color bars
show-modes \ show all the modes and the current mode
10 set-mode \ change the mode to a different mode that is supported by your display
10 0 do i i 28 * 0 28 d# 480 fill-rectangle loop \ show color bars again
unselect-dev \ This should be all that is needed
device-end \ but we do this to be sure
0 to my-self \ and we do this too, just to be sure
0 > dev pci/@e ok
0 > load ide0/@0:1,\TEST5.ROM
loader: evaluating FCode[ NV43
here:ff85886e
ABORTvendor-id missing
ok
0 > words
close open
ok
0 > " pci/@e" select-dev r_3 @00007010.l = 82000000
w_3 @00007010.l = ffffffff
r_3 @00007010.l = ff000000
w_3 @00007010.l = 82000000
r_3 @00007014.l = 90000008
w_3 @00007014.l = ffffffff
r_3 @00007014.l = f0000008
w_3 @00007014.l = 90000008
r_3 @00007018.l = 81000000
w_3 @00007018.l = ffffffff
r_3 @00007018.l = ff000000
w_3 @00007018.l = 81000000
r_3 @00007030.l = 80820000
w_3 @00007030.l = ffffffff
r_3 @00007030.l = fffe0001
w_3 @00007030.l = 80820000
r_3 @00007004.w = 4
w_3 @00007004.w = 6
w_0 @00000004.l = 1000000
ok
0 > 4d encode-int " subsystem-id" property ok
0 > load-base 1 byte-load ok
0 >
This might work, it mentions working on PowerPC's also.No, USB floppy won't work, has to be the Super Drive Floppy.
Did you capture the log?Despite OF being very buggy in my Beige, and despite me not having a fully working ROM for my card, Joe's V5 debug rom did complete to the end after some great amount of time.
" pci/@d/@1" open-dev u.
That turned the display connected on, but things hung there in OF.
If you capture the log, you can see places where it reads the straps.I don't want to sidetrack the work with the known working PNY cards, but at least I was able to get some sort of display out of my EVGA card with the Beige G3 Rev. 1 ROM.
@joevt here is some documentation on the nvstrap/pstraps:
PSTRAPS: straps readout and override — envytools git documentation
envytools.readthedocs.io
Screen scrolling is slow - maybe serial port is faster? Do scca:57600 for input-device and output-device.Like 25 mins. if you output to screen with a G4 433Mhz and the built-in Rage II video, but I have the issue that the debug ROM effects booting of OS X.
That's less far than you got before. It says vendor-id missing. fcode requires certain properties exist before it will work.So here is, how far i got now:
Code:0 > load ide0/@0:1,\TEST5.ROM loader: evaluating FCode[ NV43 here:ff8588b0 ABORTvendor-id missing ok
pwd .properties
I made the attached version of lspci for Open Firmware. Copy the paste version intoor the lspci command needs to be modified to probe the addresses...
dev pci
then use lspci
. It gets the config space bytes and probes the BARs. Paste the result into a text file. Use the script in the worksheet to decode the result (uses lspci from pciutils)Yes, that's a trap. If i don't cut the PCI-header off up to the beginning of the fCode, it doesn't even start to load: "unrecognized client program format". And if i cut the header off (sure, where the vendor-ID is located) it aborts because "the vendor-ID is missing".That's less far than you got before. It says vendor-id missing.
vendor-id is a property that Mac firmware inits before calling fcode. Check .properties like I asked, before you run the fcode. I don't think the fcode looks at the rom image.Yes, that's a trap. If i don't cut the PCI-header off up to the beginning of the fCode, it doesn't even start to load: "unrecognized client program format". And if i cut the header off (sure, where the vendor-ID is located) it aborts because "the vendor-ID is missing".
So if this "evaluation" cannot be bypassed, this is the next problem.