On 11/8/2012 7:11 PM, Steve Nickolas wrote:
On Thu, 8 Nov 2012, gids.rs@sasktel.net wrote:lda #$7fff ; number of bytes to be movedCA65 doesn't seem to like this, even in 16-bit mode (it's fine with doing this to LDX and LDY though)...mvn 00e1 ; from bank, to bankand it seems to want this to be "mvn $00, $E1" ? -uso.
Maybe I'm missing something in this discussion but can't you just BLOAD your picture into bank $00 and use the AUXMOVE routine at $C311 to move the picture to bank $01. If shadowing isn't inhibited (it rarely is but you can check the shadow register at $C035) then $E1 and $01 contain the same data. Then turn on SHR with softswitch $C029.
No 16-bit code should be necessary to move or display SHR. Charlie