Jump to content
IGNORED

5.0.2 vs 5.1_a2


rbairos

Recommended Posts

I have a very simple example that places the player sprite positions.
Unfortunately, it results in slightly different positions between stable (5.0.2), and latest github compilations of stella (5.1__a2)

Positions are 2,2 in 5.02 but delayed one: 3,3 in 5.1_a2
Which one is correct?

Secondly, when in the stella debugger, and pressing [scan + 1], those values remain constant,
but pressing [Frame + 1] causes random values for those positions, for each click??
It goes back to the original values when I press [scan + 1].

Is that normal? Very confused by that behaviour,
Thanks

Rob

processor 6502
include vcs.h


seg
org $F000


Start
sei 
cld   
ldx #$FF 
txs 


;zero memory
lda #0 
ClearMem 
sta 0,X 
dex 
bne ClearMem 


sta WSYNC 
nop
nop
nop
nop
sta RESP0
nop
sta RESP1




doFrame1
jmp doFrame1


org $FFFA
.word Start ;NMI
.word Start ;RESET
.word Start ;IRQ

 

Link to comment
Share on other sites

3 is correct; that was a bug I fixed august last year. However, this affects only the debugger; the actual image is identical and correct in 5.0.2 and current git. Not sure about the fluctuations on stepping frames; this looks like a bug to me. You are possible triggering it by not generating a valid frame at all :P I'll open a ticket tomorrow.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...