03 May 2015, 18:02 | #1 |
Registered User
Join Date: May 2015
Location: Tonsberg / Norway
Posts: 12
|
Weird copper bugs when zoom=auto [Solved]
Hi.
I'm experiencing some weird bugs with a simple copperbar test. It's just a simple copperbar where vertical position is updated each frame. See source below. The screen seem to stop update for several frames. The strange thing is that it only bugs wheen Zoom mode is at auto. When I switch to other zoom modes (F11) it works fine, but back on auto the bug is back. In the console debugger I can see that the copperlist looks fine. Here's a [ Show youtube player ] of the output. The test source (system init/exit in a separate file): Code:
section code,code start: lea $dff000, a6 move.l #clist,$80(a6) clr.w $88(a6) move.w #$8280,$96(a6) .movloop: bsr WaitRaster lea pos,a0 move.b (a0),d0 add.b #1,d0 move.b d0,(a0) add.b #8,d0 move.b d0,8(a0) cmp.b #$e0,d0 bne .not move.b #$10,(a0) move.b #$18,8(a0) .not: btst #6,$bfe001 bne .movloop rts ;-------------------------------------------------------------------- section data,data_c clist: pos: dc.w $1007,$fffe,$0180,$0fff dc.w $f007,$fffe,$0180,$0000 dc.w $ffff,$fffe Last edited by FrodeSolheim; 16 May 2015 at 11:40. |
03 May 2015, 18:14 | #2 |
Registered User
Join Date: May 2015
Location: Tonsberg / Norway
Posts: 12
|
Nevermind. I obviously hadn't read the manual thoroughly enough...
Last edited by geir; 03 May 2015 at 18:19. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Combining copper scrolling with copper background | phx | Coders. Asm / Hardware | 16 | 13 February 2021 12:41 |
first game with zoom ? | turrican3 | request.Old Rare Games | 4 | 10 December 2014 16:05 |
Auto auto fire? | john4p | request.UAE Wishlist | 6 | 22 January 2010 08:50 |
Zoom | alexh | AMR suggestions and feedback | 3 | 07 March 2007 18:07 |
Zoom | Carlos Ace | request.Old Rare Games | 21 | 22 February 2002 19:41 |
|
|