Apple Cobra Open Firmware CHRP 1.1 B3 built on 08/18/97 at 13:04:24
Copyright Apple Computer 1994,1996,1997
Copyright IBM Corporation 1996
All rights reserved.
ok
0 > dev / ls
ff82ec18: /cpus
ff82ee08: /PowerPC,604e@0
ff82f600: /chosen
ff82f750: /memory@0
ff82f8d8: /memory-controller@fec00000
ff82f9d8: /openprom
ff82fab8: /rom@ff000000
ff82ff48: /boot-rom@fff00000
ff830060: /options
ff830828: /aliases
ff830c78: /packages
ff830d00: /deblocker
ff8314c8: /disk-label
ff832090: /obp-tftp
ff835db8: /mac-parts
ff836578: /mac-files
ff837de0: /fat-files
ff839700: /iso-9660-files
ff83a148: /bootinfo-loader
ff83b7d0: /xcoff-loader
ff83c060: /pe-loader
ff83c7d0: /elf-loader
ff83da18: /terminal-emulator
ff83dab0: /rtas
ff83dc70: /pci@80000000
ff83ff38: /isa@b
ff8414e0: /nvram@i74
ff841ad0: /rtc@i70
ff842500: /parallel@i378
ff842988: /serial@i3f8
ff843020: /serial@i2f8
ff8436b8: /sound@i534
ff850288: /8042@i60
ff8515f8: /keyboard@0
ff854b88: /mouse@1
ff8554c0: /fdc@i3f0
ff858730: /disk@1
ff85bac0: /op-panel@i808
ff85bba0: /pwr-mgmt@i82a
ff85bed8: /timer@i40
ff85c070: /interrupt-controller@i20
ff85c250: /dma-controller@i0
ff85c738: /pci-ide@b,1
ff85d028: /ide@0
ff85db78: /ide@1
ff85e6c8: /cdrom@0
ff862e60: /mac-io@d
ff863468: /scsi@10000
ff865298: /disk
ff8660c8: /tape
ff8671b8: /adb@11000
ff867cb0: /keyboard@2
ff8685a0: /mouse@3
ff8687c0: /escc-legacy@12000
ff8689b8: /ch-a@12002
ff868b08: /ch-b@12000
ff868c58: /escc@13000
ff868e40: /ch-a@13020
ff869500: /ch-b@13000
ff869bc0: /via@16000
ff869cb0: /interrupt-controller@40000
ff869e70: /cirrus@e
ff86e2c8: /pci1022,2000@f
ok
0 >
Refer to the "Macintosh Technology in the
Common Hardware Reference Platform" book for more information, if you're curious about the Mac IO pieces. #define printf(...)
int (printf)(const char *, ...);
I keep on seeing many random code bases just resort to #undef instead...