Odd. I've encountered no problems with this in Sonic 2 Beta. In fact...
https://www.dropbox....ep4/example.bin
Try this code instead, it may fix some of your issues. It is slightly modified and is from the Sonic 2 Rev 2 disasm. It's almost exactly the same as above.
Due note: I have never worked with the S1 HG disasm, so I'm only assuming this works. I've also taken the opportunity to make it AS friend, as this is from a non-AS disasm.
edit: fixed
https://www.dropbox....ep4/example.bin
Try this code instead, it may fix some of your issues. It is slightly modified and is from the Sonic 2 Rev 2 disasm. It's almost exactly the same as above.
Due note: I have never worked with the S1 HG disasm, so I'm only assuming this works. I've also taken the opportunity to make it AS friend, as this is from a non-AS disasm.
LoadZoneTiles: ; loc_5B98:
moveq #$00,d0
move.b ($FFFFFE10).w,d0
add.w d0,d0
add.w d0,d0
move.w d0,d1
add.w d0,d0
add.w d1,d0
lea (TilesMainTable).l,a2 ; loc_3E390
lea (a2,d0.w),a2
move.l (a2)+,d0
andi.l #$FFFFFF,d0
move.l d0,a0
lea ($FFFF0000),a1
bsr KosinskiDec ; loc_1E36
move.w a1,d3
move.w d3,d7
andi.w #$FFF,d3
lsr.w #$01,d3
rol.w #$04,d7
andi.w #$F,d7
loc_5BFA:
move.w d7,d2
lsl.w #$07,d2
lsl.w #$05,d2
move.l #$FFFFFF,d1
move.w d2,d1
jsr (QueueDMATransfer).l
move.w d7,-(a7)
move.b #$C,(v_vbla_routine).w
bsr.w WaitForVBla
bsr RunPLC ; loc_1B86
move.w (a7)+,d7
move.w #$800,d3
dbra d7, loc_5BFA
rts
edit: fixed
This post has been edited by Super Egg: 23 April 2014 - 08:33 AM


08