[stella] Stella 2.4.2 (Windows) Crash

Greg Kennedy kennedy.greg at gmail.com
Mon Apr 14 13:11:33 CDT 2008


Here's a piece of code that will crash the Stella emulator.  I'd like to
file a bug report, but I'd also like my joystick code to work : )  This is
one bank (the title screen) from my current project.

Take a look at line 537, which is where P0 joystick reading begins.  I
hardcoded an immediate LDA #$7f instead of SWCHA so I could figure out why
the screen is rolling.  It processes one frame, then Stella locks up at
scanline 235 on the next screen.  I guess the emulator stops advancing for
some reason, and hitting "scan" is supposed to advance to the next scanline,
but it goes to an infinite loop instead as no further instructions are being
processed.  My only option is to force kill it.

Any tips?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://atari2600.org/pipermail/stella/attachments/20080414/97c8e9ac/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: k_crash.asm
Type: application/octet-stream
Size: 19871 bytes
Desc: not available
Url : http://atari2600.org/pipermail/stella/attachments/20080414/97c8e9ac/attachment.obj 


More information about the Stella mailing list