Calling all ROMs! Collecting DeclROM data

joevt

Well-known member
In order to flesh out device support in my DeclROM parser (ROM Fiend: A DeclROM, Extended DeclROM, and System ROM parser), I'm interested in testing and validating any and all DeclROMs you have!
Have you looked at dumping DeclROM data from Mac ROMs themselves?
#16
NuBus 68K and PowerPC Macs have lots of DeclData.
PCI Power Macs with Old World ROMs only have ≈300 bytes of DeclData.
I think Beige G3s don't have DeclData.
New World ROMs (firmware) don't have the 68K part that contains the DeclData but New World ROM files (in the System folder) do.

Code:
find "/Volumes/Work/Open Firmware and Name Registry/ROM PowerPC Mac" "/Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps" -name "DeclData" -exec ls -l {} \;
-rw-r--r--@ 1 joevt  staff  122694 Dec 24 16:51 /Volumes/Work/Open Firmware and Name Registry/ROM PowerPC Mac/Mac_ROMs/PowerPC/Old World/Power Macintosh 5200-5300-6200-6300/1995-04 - 63ABFD3F - Power Mac & Performa 5200,5300,6200,6300.ROM.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  300 Sep 28 01:39 /Volumes/Work/Open Firmware and Name Registry/ROM PowerPC Mac/ROM ANS 500/ROMs/@FFC00000 Entire ROM.rom.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  298 Mar 31  2024 /Volumes/Work/Open Firmware and Name Registry/ROM PowerPC Mac/ROM Bandai Pippin (Kinka 1.2)/ROMs/bandai pippin,19960628 - kinka 1.2,- 3e10e14c-72c40c1af23a.rom.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  304 Mar 31  2024 /Volumes/Work/Open Firmware and Name Registry/ROM PowerPC Mac/ROM Bandai Pippin (Kinka 1.3)/ROMs/bandai pippin,19960920 - kinka 1.3,- 3e6b3ee4-a52528e9ce8c.rom.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  234 Dec  6 21:45 /Volumes/Work/Open Firmware and Name Registry/ROM PowerPC Mac/ROM PM 6500 and TAM/ROMs/@FFC00000 Entire ROM.rom.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  302 Sep  7 17:52 /Volumes/Work/Open Firmware and Name Registry/ROM PowerPC Mac/ROM PM 8600/ROMs/@FFC00000 Entire ROM.rom.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  300 Nov  3 04:06 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1998-07-21 - Mac OS ROM (New World 1.1) Mac OS 8.1 (iMac, Rev A Bundle).rom.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  302 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1998-08-27 - Mac OS ROM (New World 1.1.2) Mac OS 8.5 (Retail CD), iMac Update 1.0.rom.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1998-09-19 - Mac OS ROM (New World 1.1.5) Mac OS 8.5 (iMac, Rev B Bundle).rom.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1998-12-03 - Mac OS ROM (New World 1.2) Power Macintosh G3 (Blue and White) Mac OS 8.5.1 Bundle, Macintosh Server G3 (Blue and White) Mac OS 8.5.1 Bundle.rom.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1999-01-22 - Mac OS ROM (New World 1.2.1) Mac OS 8.5.1 (Colors iMac 266 MHz Bundle), iMac Update 1.1.rom.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  300 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1999-04-05 - Mac OS ROM (New World 1.4) Mac OS 8.6 (Retail CD), Mac OS 8.6 (Colors iMac 333 MHz Bundle), Power Macintosh G3 (Blue and White) Mac OS 8.6 Bundle.rom.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  298 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1999-05-14 - Mac OS ROM (New World 1.6) Macintosh PowerBook G3 Series 8.6 Bundle, Mac OS ROM Update 1.0.rom.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  300 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1999-08-23 - Mac OS ROM (New World 1.7.1) Mac OS 8.6 bundled on Power Mac G4 (PCI).rom.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1999-08-28 - Mac OS ROM (New World 1.8.1) Mac OS 8.6 Power Mac G4 ROM 1.8.1 Update.rom.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1999-09-13 - Mac OS ROM (New World 2.3.1) Mac OS 8.6 bundled on iMac (Slot Loading), iBook.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:07 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1999-09-17 - Mac OS ROM (New World 2.5.1) Mac OS 8.6 bundled on Power Mac G4 (AGP).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1999-09-27 - Mac OS ROM (New World 3.0) Retail Mac OS 9.0 installed on Power Macintosh G3 (Blue and White), Retail Mac OS 9.0 installed on iMac, Mac OS 9.0 bundled on PowerBook G3 Bronze.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  302 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/1999-10-28 - Mac OS ROM (New World 3.1.1) Mac OS 9.0 bundled on iBook, Mac OS 9.0 bundled on Power Mac G4 (AGP Graphics):iMac (Slot-Loading).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-01-29 - Mac OS ROM (New World 3.5) Mac OS 9.0.2 bundled on Power Mac G4 (AGP) and iBook, Mac OS 9.0.2 installed on PowerBook (FireWire).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-02-17 - Mac OS ROM (New World 3.6) Mac OS 9.0.3 bundled with iMac (Slot Loading).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  302 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-03-15 - Mac OS ROM (New World 3.7) 9.0.4 Retail CD.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  300 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-05-22 - Mac OS ROM (New World 3.8) 9.0.4 Ethernet Update.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  298 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-06-18 - Mac OS ROM (New World 4.6.1) Mac OS 9.04 Mac OS 9.0.4 bundled on iMac (Summer 2000), Power Mac G4 (Summer 2000).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  302 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-06-28 - Mac OS ROM (New World 4.9.1) Mac OS 9.0.4 bundled on Power Mac G4 MP (Summer 2000) (CPU software 2.3), Power Mac G4 (Gigabit Ethernet).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  300 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-07-12 - Mac OS ROM (New World 5.2.1) Mac OS 9.0.4 installed on Power Mac G4 Cube (CPU software 2.4).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  300 Nov  3 04:08 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-08-14 - Mac OS ROM (New World 5.3.1) Mac OS 9.0.4 bundled on iBook (Summer 2000) (CPU software 2.5).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  300 Nov  3 04:09 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-08-25 - Mac OS ROM (New World 5.5.1) Mac OS 9.0.4 from International G4 Cube Install CD.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  302 Nov  3 04:09 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-11-03 - Mac OS ROM (New World 6.1) 9.1 Universal Update.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  302 Nov  3 04:09 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2000-12-01 - Mac OS ROM (New World 6.7.1) Mac OS 9.1 installed on Power Mac G4 (Digital Audio).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:09 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-02-07 - Mac OS ROM (New World 7.5.1) 9.1 iMac 2001.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  300 Nov  3 04:09 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-04-10 - Mac OS ROM (New World 7.8.1) bundled on iBook (Dual USB) (CPU Software 3.5).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  300 Nov  3 04:09 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-04-24 - Mac OS ROM (New World 7.9.1) Mac OS 9.1 bundled on PowerBook G4.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  298 Nov  3 04:09 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-07-18 - Mac OS ROM (New World 8.3.1) Mac OS 9.2 installed on iMac (Summer 2001), Mac OS 9.2 installed on Power Mac G4 (QuickSilver).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  298 Nov  3 04:09 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-07-30 - Mac OS ROM (New World 8.4) Mac OS 9.2.1 Update CD.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-09-25 - Mac OS ROM (New World 8.6.1) Mac OS 9.2.1 bundled on iBook G3 (Late 2001).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-11-07 - Mac OS ROM (New World 8.7) Mac OS 9.2.2 Update SMI.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  306 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-11-26 - Mac OS ROM (New World 8.8) Mac OS 9.2.2 Update CD.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  302 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-12-11 - Mac OS ROM (New World 8.9.1) Mac OS 9.2.2 bundled on iBook (CPU Software 4.4).ROM.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  306 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2001-12-19 - Mac OS ROM (New World 9.0.1) Mac OS 9.2.2 bundled on  iMac (2001).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  298 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2002-04-08 - Mac OS ROM (New World 9.1.1) Mac OS 9.2.2 bundled on iMac G4.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  302 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2002-04-17 - Mac OS ROM (New World 9.2.1) Mac OS 9.2.2 bundled on eMac (CPU Software 4.9).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  302 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2002-04-18 - Mac OS ROM (New World 9.3.1) Mac OS 9.2.2 bundled on PowerBook G4 (CPU Software 5.0).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  300 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2002-07-18 - Mac OS ROM (New World 9.5.1) Mac OS 9.2.2 bundled on iMac (17" Flat Panel) (CPU Software 5.3).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  304 Nov  3 04:10 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2002-09-03 - Mac OS ROM (New World 9.6.1) Mac OS 9.2.2 (CPU Software 5.4).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--  1 joevt  staff  302 Nov  3 04:11 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2002-10-11 - Mac OS ROM (New World 9.7.1) Mac OS 9.2.2 bundled on PowerBook (Titanium, 1GHz).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  302 Nov  3 04:11 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2003-01-10 - Mac OS ROM (New World 9.8.1) 9.2.2.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  300 Nov  3 04:11 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2003-03-17 - Mac OS ROM (New World 10.1.1) Mac OS 9.2.2 bundled on eMac 800MHz (CPU Software 5.7).rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  300 Nov  3 04:11 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/2003-04-03 - Mac OS ROM (New World 10.2.1) Mac OS 9.2.2 Retail International CD.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
-rw-r--r--@ 1 joevt  staff  300 Nov  3 04:11 /Volumes/Work/Programming/XcodeProjects/MacROMan/New World ROM Dumps/Mac OS ROM (New World 8.0) Mac OS 9.2 Power Mac G4 Install CD.rom.src/Parcels.src/MacROM.src/Mac68KROM.src/DeclData
 

mdeverhart

Well-known member
Does anyone have a DeclROM dump for the Apple IIe card (I’m assuming it has a DeclROM)? If not, would someone be willing to dump it and share?
 

Arbee

Well-known member
The IIe Card does *not* have a DeclROM. There's some code scattered around the SuperMario tree cursing that fact, even.
 

joevt

Well-known member
The DeclData of "1995-04 - 63ABFD3F - Power Mac & Performa 5200,5300,6200,6300.ROM" has a "CPU_AppleII_AppleIIe_FeatureCard" string at the very beginning. Need to pass it through a parser to find out what it's referring to.

These ROMs also contain "CPU_AppleII_AppleIIe_FeatureCard":
Code:
68k/1M/1992-03 - 3DC27823 - Quadra 950.ROM matches
68k/1M/1992-10 - E33B2724 - Powerbook 160 & 165 & 165c & 180 & 180c.ROM matches
68k/1M/1992-10 - ECFA989B - Powerbook 210 & 230 & 250.ROM matches
68k/1M/1993-02 - EC904829 - Mac LC III (older).ROM matches
68k/1M/1993-02 - ECBBC41C - Mac LC III.ROM matches
68k/1M/1993-02 - F1A6F343 - Centris 610,650, Quadra 800.ROM matches
68k/1M/1993-02 - F1ACAD13 - Quadra, Centris 610,650,800.ROM matches
68k/1M/1993-10 - 0024D346 - Powerbook Duo 270C.ROM matches
68k/1M/1994-04 - 015621D7 - Powerbook Duo 280 & 280c.ROM matches
68k/1M/1994-07 - 06684214 - LC,Quadra,Performa 630.ROM matches
68k/1M/1994-07 - FDA22562 - Powerbook 150.ROM matches
68k/1M/1995-04 - 064DC91D - LC, Performa 580 & Performa 588.ROM matches
68k/1M/Macintosh Color Classic/1993-02 - ECD99DC0 - Color Classic.ROM matches
68k/1M/Macintosh LC 5x0-Color Classic II/1993-10 - EDE66CBD - Color Classic II & LC 550 & Performa 275,550,560 & Macintosh TV.ROM matches
68k/1M/Macintosh Quadra 605-LC 475-575-Performa 475-575/1993-10 - FF7439EE - LC475,575,Quadra 605,Performa 475,476,575,577,578.ROM matches
68k/1M/Powerbook 140-145-170/1991-10 - 420DBFF3 - Quadra 700&900 & PB140&170.ROM matches
68k/2M/1994-05 - B6909089 - PowerBook 520 520c 540 540c.ROM matches
68k/2M/1995-08 - 4D27039C - Powerbook 190 & 190cs.ROM matches
68k/2M/Macintosh Quadra 660AV-840AV/1994-09 - 5BF10FD1 - Quadra 660av & 840av.ROM matches
68k/512k/Macintosh Classic II/1991-10 - 3193670E - Classic II.ROM matches
68k/512k/Macintosh LC/1990-10 - 350EACF0 - Mac LC.ROM matches
68k/512k/Macintosh LC II/1992-03 - 35C28F5F - Mac LC II.ROM matches
PowerPC/Old World/1995-08 - 83C54F75 - Powerbook 2300 & PB5x0 PPC Upgrade.ROM matches
PowerPC/Old World/1996-10 - 83A21950 - PowerBook 1400, 1400cs 117,133MHz.ROM matches
PowerPC/Old World/Power Macintosh 5200-5300-6200-6300/1995-04 - 63ABFD3F - Power Mac & Performa 5200,5300,6200,6300.ROM matches
PowerPC/Old World/Power Macintosh 5200-5300-6200-6300/1995-04 - 63ABFD3F - Power Mac & Performa 5200,5300,6200,6300.ROM.src/Mac68KROM matches
PowerPC/Old World/Power Macintosh 5200-5300-6200-6300/1995-04 - 63ABFD3F - Power Mac & Performa 5200,5300,6200,6300.ROM.src/Mac68KROM.src/DeclData matches
PowerPC/Old World/Power Macintosh 6100-7100-8100/1994-03 - 9FEB69B3 - Power Mac 6100 & 7100 & 8100.ROM matches
PowerPC/Old World/Power Macintosh 6100-7100-8100/1995-01 - 9B7A3AAD - Power Mac 7100 (newer).ROM matches
PowerPC/Old World/Workgroup Server 9150/1994-04 - 9C7C98F7 - Workgroup Server 9150 80MHz.ROM matches
PowerPC/Old World/Workgroup Server 9150/1995-04 - 9B037F6F - Workgroup Server 9150 120MHz.ROM matches

CPU_AppleII_AppleIIe_FeatureCard exists in the DeclData of the 6100 ROM which was dumped in #34

I think the ROM or something can turn off unused parts of the DeclData which is why SlotsDump.out has a few uncovered areas for Slot 00 which are listed after minAddr/maxAddr.
Code:
minAddr = 40AEFB1A   maxAddr = 40AFFF8C

40AF267D: 00                                                                               “.”
40AF267E:

But "CPU_AppleII_AppleIIe_FeatureCard" was not included in those hex dumps of the uncovered areas because it's at the very beginning of the DeclData before minAddr which points to "CPU_68020"? One of the uncovered areas has "CPU_68040".
 

eharmon

Well-known member
I think the ROM or something can turn off unused parts of the DeclData which is why SlotsDump.out has a few uncovered areas for Slot 00 which are listed after minAddr/maxAddr.
Code:
minAddr = 40AEFB1A   maxAddr = 40AFFF8C

40AF267D: 00                                                                               “.”
40AF267E:

But "CPU_AppleII_AppleIIe_FeatureCard" was not included in those hex dumps of the uncovered areas because it's at the very beginning of the DeclData before minAddr which points to "CPU_68020"? One of the uncovered areas has "CPU_68040".
Could be related to the Extended DeclROM?

EDIT: Actually I don't think PowerPCs ever used that so unlikely.
 

powermax

Well-known member
Probably could make some changes to SlotsDump: set numToCover to 128K or more (whatever is required by the slot). Then replace WriteUncoveredBytes with WriteAllBytes to dump all the bytes even if they were covered (parsed).
Yeah, numToCover needs to be 128K for the HPV and AV (Planaria) DeclROMs.
I suppose they contain the reset signature described here in the last 256 bytes of the ROM. It probably wouldn't be dumped if numToCover is too small.
WriteAllBytes would be helpful, especially if it could dump the ROM content to a binary file, not a text file.

Could you prepare a modified binary for SlotDump that @Dandu could run?
 

powermax

Well-known member
I'll make the changes. Maybe convert it from Pascal to C. Maybe make it work with DeclROM dumps. Maybe make it produce a DeclROM dump.
Many thanks in advance!

BTW, I manually composed the 128K HPV DeclROM from the first 64K of the dump that looks valid, padded with 64K of zeroes and the FHeaderRec provided by SlotDump. The CRC calculated by DingusPPC's nubusutils doesn't match the CRC from the header. That means that the real DeclROM must contain more meaningful bytes in the 2nd half of the ROM!
 

powermax

Well-known member
@joevt I added the reset data given here to my manually composed DeclROM dump and voilá - the CRC from the FHeaderRec of the real ROM matches now :)
PDS_Reset routine in the PDM ROM finds the signature and resets the card as intended by design.
Here the faked DeclROM dump for your enjoyment:
 

Attachments

  • 341S0020.bin
    128 KB · Views: 4

joevt

Well-known member
@joevt I added the reset data given here to my manually composed DeclROM dump and voilá - the CRC from the FHeaderRec of the real ROM matches now :)
So you've managed to correct @Arbee's original dump from #21 , by adding the missing 64K which consists of:
1) A bunch of zeros.
2) The VidReset signature, address, and value (from supermario).
3) The FHeaderRec from #34 including checksum.
And the result is verified by a checksum of the entire 128K (with checksum in FHeaderRec set to 0). Neat.

I'm looking at Retro68 to see if it can compile Old World 68K and PPC drivers. I'll try to use it to compile my updated SlotsDump app.
 

powermax

Well-known member
So you've managed to correct @Arbee's original dump from #21 , by adding the missing 64K which consists of:
1) A bunch of zeros.
2) The VidReset signature, address, and value (from supermario).
3) The FHeaderRec from #34 including checksum.
And the result is verified by a checksum of the entire 128K (with checksum in FHeaderRec set to 0). Neat.
Yeah. I'd appreciate a full dump of the real DeclROM though.

I also wrote an initial HPV emulator to be able to analyze its PrimaryInit.
Believe or not, both register initialization loops right at the beginning are buggy - they assume DAFB registers to be at 4-byte boundaries but the real HW registers are at 8-byte boundaries in this ASIC revision!
I suppose the bug hasn't been noticed because it doesn't produce any visible artifacts (the card has been put on reset shortly before).
 

joevt

Well-known member
I'll make the changes. Maybe convert it from Pascal to C. Maybe make it work with DeclROM dumps. Maybe make it produce a DeclROM dump.
Could be related to the Extended DeclROM?

EDIT: Actually I don't think PowerPCs ever used that so unlikely.
You're right. It is related to the Extended DeclROM. NuBus Power Macs did use extended DeclROM. Most or all of it is described by DeclData.r and other related files in the supermario source code. I updated my SlotsDump code to dump and parse the Extended DeclROM. It's built and tested using the DingusPPC (my fork) pm6100 machine. I've attached the SlotsDump source code and binaries and sample output.

The parsed DeclData is in the .txt file. The .out file is just the text window contents. The .bin files are binary dumps of the ROMs for each slot. Slot_00.bin is the same as the DeclData file created by the tbxi dump command operating on the Power Mac 6100 ROM dump file.

I have not tested it with a NuBus card yet since code to add NuBus cards to DingusPPC is not upstreamed yet (well, most of it is upstreamed except for an example of how to use it).
 

Attachments

  • joevtSlotsDumpTest1.zip
    211.2 KB · Views: 0

joevt

Well-known member
SlotsParse will parse a rom dump file. It's a modern macOS command line tool. Pass it the path of a NuBus card ROM dump file or the DeclData of an Old World ROM or 68K ROM. It displays addresses as if the ROM uses all lanes and the ROM was located at the end of the 32-bit address range.
 

Attachments

  • SlotsParse.zip
    61.2 KB · Views: 1

RandomDamage

Well-known member
On a somewhat related topic, does anyone have a rom dump from an Apple LC PDS Ethernet board? The ROM has Apple part number 341-0470. I'm trying to troubleshoot one of these that doesn't seem to want to work correctly. I'd like to compare a known good image to what I dumped off of mine.
 

Attachments

  • Apple_341-0470_ROM.BIN.zip
    5.2 KB · Views: 2

eharmon

Well-known member
On a somewhat related topic, does anyone have a rom dump from an Apple LC PDS Ethernet board? The ROM has Apple part number 341-0470. I'm trying to troubleshoot one of these that doesn't seem to want to work correctly. I'd like to compare a known good image to what I dumped off of mine.
You can verify without a known-good copy as the DeclROM appears to cover the entire ROM image:

I recalculated the checksum with bbraun's declrom tools: http://www.synack.net/~bbraun/declrom.html.

I get the same sum that's in the ROM header: 7611A938. Thus it is not damaged.
 

joevt

Well-known member
My SlotsParse tool can also parse the declROM of a card or a Mac ROM and calculate/verify the checksum.
 

Attachments

  • Apple_341-0470_ROM.SlotsParse.txt.zip
    4 KB · Views: 1
Top