Using the function resload_Control and the tags WHDLTAG_CUST_DISABLE/READ/STROBE/WRITE the internal configuration of WHDLoad which registers are readable/writable can be modified. With that illegal accesses can be ignored or legal accesses can be detected. This should only be used during the development process and not in public released Slaves.
address | register | check |
---|---|---|
$bfe001 | ciaa.ciapra | setting the Overlay bit #0 is prohibited |
$bfe201 | ciaa.ciaddra | bits #6-7 can have any value (used for joypad), lower bits must be %000011 |
$bfe801 | ciaa.ciatodlow | read-modify-write accesses (e.g. bchg) are not allowed if ALARM bit is set in ciaa.ciacrb (only checked on 68060) |
$bfe901 | ciaa.ciatodmid | |
$bfea01 | ciaa.ciatodhi | |
$bfed01 | ciaa.ciaicr | read-modify-write accesses (e.g. bchg) are not allowed (only checked on 68060) |
$bfd100 | ciab.ciaprb | the bits for MOTOR #7, SELECT #3-6 and STEP #0 must not be cleared, other bits can be changed; with that any accesses to the floppy drives will be detected |
$bfd200 | ciab.ciaddra | the value written must be %11000000 |
$bfd300 | ciab.ciaddrb | the value written must be %11111111 |
$bfd800 | ciab.ciatodlow | read-modify-write accesses (e.g. bchg) are not allowed if ALARM bit is set in ciab.ciacrb (only checked on 68060) |
$bfd900 | ciab.ciatodmid | |
$bfda00 | ciab.ciatodhi | |
$bfdd00 | ciab.ciaicr | read-modify-write accesses (e.g. bchg) are not allowed (only checked on 68060) |
custom.bplcon0
register the
color
bit is set. Some hardware especially flickerfixer require
that this bit is set to output a proper video signal. For best compatibility
this bit should always be set. Checked are direct writes to
custom.bplcon0
and writes via copperlists.
custom.copcon
register the bit #1
is not set. This bit enables the ability of the Copper to write to the Blitter
registers. It may sometimes useful to detect if programs use the Copper to
control DMA activities.