require '_h2ph_pre.ph';

unless(defined(&DALLAS_SEMI_CHIPS_H)) {
    eval 'sub DALLAS_SEMI_CHIPS_H () {1;}' unless defined(&DALLAS_SEMI_CHIPS_H);
    eval 'sub DS_FAMILY_2404 () {0x4;}' unless defined(&DS_FAMILY_2404);
    eval 'sub DS_ROM_MATCH () {0x55;}' unless defined(&DS_ROM_MATCH);
    eval 'sub DS_ROM_SEARCH () {0xf0;}' unless defined(&DS_ROM_SEARCH);
    eval 'sub DS_ROM_SKIP () {0xcc;}' unless defined(&DS_ROM_SKIP);
    eval 'sub DS_ROM_READ () {0x33;}' unless defined(&DS_ROM_READ);
    eval 'sub DS_MEM_WRITE_SCRATCH () {0xf;}' unless defined(&DS_MEM_WRITE_SCRATCH);
    eval 'sub DS_MEM_READ_SCRATCH () {0xaa;}' unless defined(&DS_MEM_READ_SCRATCH);
    eval 'sub DS_MEM_COPY_SCRATCH () {0x55;}' unless defined(&DS_MEM_COPY_SCRATCH);
    eval 'sub DS_MEM_READ_MEMORY () {0xf0;}' unless defined(&DS_MEM_READ_MEMORY);
}
1;
