Of the Open Firmware dumps that I've created while working on https://forums.macrumors.com/thread...l-work-in-a-beige-power-macintosh-g3.2303689/ and https://68kmla.org/bb/index.php?thr...-hack-thread-part-2.38360/page-12#post-467825 , only the G5 Quad and PowerBook G4 DLSD seem to have gpt support. These are dated September 2005 or later.
	
	
	
		
Code that checks the gpt header:
	
	
	
		
List of ROMs:
See attachment of #60 for latest.
	
		
			
		
		
	
				
			
		Code:
	
	cd "/Volumes/Work/Open Firmware and Name Registry/ROM PowerPC Mac"
grep -R "EFI PART" --include Part2.of .
./ROM G5 Quad/Dump/Part2.of:        " EFI PART"                                                                \                    [012]
./ROM PowerBook G4 DLSD/Dump/Part2.of:        " EFI PART"                                                                \                    [012]
	Code that checks the gpt header:
		Code:
	
	: gpt-header-valid?                                                                \ (1e85)            [0b6 0b7]
    block0                                                                        \                    [1e69]
    1                                                                            \                    [0a6]
    1                                                                            \                    [0a6]
    "read-blocks"                                                                \                    [1355]
    $call-parent                                                                \                    [209]
    0=                                                                            \                    [034]
    if                                                                            \ (0x2c)            [014]
        ." DISK-LABEL: read of block1 failed"                                    \                    [012 090]
        cr                                                                        \                    [092]
        false                                                                    \                    [1208]
    else                                                                        \ (0x3c)            [013 0b2]
        block0                                                                    \                    [1e69]
        " EFI PART"                                                                \                    [012]
        comp                                                                    \                    [07a]
        0=                                                                        \                    [034]
        block0                                                                    \                    [1e69]
        >gpt.hdr_size                                                            \                    [1e7c]
        4c@-le                                                                    \                    [1086]
        gpt-header-resv-sz                                                        \                    [1e81]
        >=                                                                        \                    [042]
        and                                                                        \                    [023]
        block0                                                                    \                    [1e69]
        dup                                                                        \                    [047]
        >gpt.hdr_size                                                            \                    [1e7c]
        4c@-le                                                                    \                    [1086]
        crc32                                                                    \                    [1e84]
        and                                                                        \                    [023]
        block0                                                                    \                    [1e69]
        >gpt.hdr_entsz                                                            \                    [1e7e]
        4c@-le                                                                    \                    [1086]
        gpt-entry-resv-sz                                                        \                    [1e82]
        >=                                                                        \                    [042]
        and                                                                        \                    [023]
    then                                                                        \                    [0b2]
    dup                                                                            \                    [047]
    false                                                                        \                    [1208]
    =                                                                            \                    [03c]
    if                                                                            \ (0x38)            [014]
        block0                                                                    \                    [1e69]
        0                                                                        \                    [0a5]
        1                                                                        \                    [0a6]
        "read-blocks"                                                            \                    [1355]
        $call-parent                                                            \                    [209]
        0=                                                                        \                    [034]
        if                                                                        \ (0x2a)            [014]
            ." DISK-LABEL: re-read of block0 failed"                            \                    [012 090]
            cr                                                                    \                    [092]
        then                                                                    \                    [0b2]
    then                                                                        \                    [0b2]
    ;                                                                            \                    [0c2]
	List of ROMs:
See attachment of #60 for latest.
			
				Last edited: