I'm trying to decipher these vdp commands from a commercial rom:
Using the reference guide here: http://info.sonicret...n/General/Ports
Since they're moving words to the control port, I thought it was writing to registers, but that doesn't make sense since F7E4 has the top two bits set, which is apparently wrong for writing to a register.
If I assume the first MOVE is actually writing a long (and therefore setting a VDP address) then the CD0/1/2/3 decodes to 1011, which isn't in the access type table.
If I assume both MOVEs combine to write one long of F7E4F7D0, then CD0/1/2/3 decodes as 0111, which also isn't in the access type table.
Clearly I'm interpreting this incorrectly - can anyone tell me where I'm reading it wrong?
Thanks.
MOVE.w $FFFFF7E4.w, VDP_controlPort MOVE.w $FFFFF7D0.w, VDP_controlPort
Using the reference guide here: http://info.sonicret...n/General/Ports
Since they're moving words to the control port, I thought it was writing to registers, but that doesn't make sense since F7E4 has the top two bits set, which is apparently wrong for writing to a register.
If I assume the first MOVE is actually writing a long (and therefore setting a VDP address) then the CD0/1/2/3 decodes to 1011, which isn't in the access type table.
If I assume both MOVEs combine to write one long of F7E4F7D0, then CD0/1/2/3 decodes as 0111, which also isn't in the access type table.
Clearly I'm interpreting this incorrectly - can anyone tell me where I'm reading it wrong?
Thanks.