I'm just trying to do a simple screen without borders. I found two different a bit method how to do that DHS Evil's and James Ingram's.
First one has no stabilizer due to STE only, what is clear for me. One thing puzzles me - they use a bit different timing.
Evil's part, uses 12 cycles between write to the same registers, James Ingram's 8 cycles. Does it matter?
thanks
Cyprian
DHS Evil's code
Code: Select all
move.b d7,$ffff8260.w ; Left border
move.w d7,$ffff8260.w
dcb.w 90,$4e71
move.w d7,$ffff820a.w ; Right border
move.b d7,$ffff820a.w
dcb.w 26,$4e71
James Ingram's code
Code: Select all
move.b d3,(a1) ; Left border
move.b d4,(a1)
dcb.w 90,$4e71
move.b d4,(a0) ; Right border
move.b d3,(a0)
dcb.w 13,$4e71
move.b d3,(a1) ; Stabilizer
nop
move.b d4,(a1)
dcb.w 12,$4e71