Jump to content
Sign in to follow this  
yossibnv

Altirra crushes

Recommended Posts

I am trying to run assemly code on altirra 2.5 emulator and it crushes

i use assembler edtitor rom for the assembler programs

 

following the stack dump :
CPU: Illegal instruction hit: 0056
(8158: 14, 30) A=10 X=00 Y=00 S=FF P=30 ( ) 0055: 02 COLCRS bad
i've tried differnt cpu & memory setting and it wont help
i use 32 bit won 7 os .
10X

Share this post


Link to post
Share on other sites

You might want to post some source that can reproduce the problem and some more information in general. Also, this is in the wrong forum I think, you might want to try posting in the 8 bit programming forum.

Share this post


Link to post
Share on other sites

In CPU options you'd want to allow illegal instructions and have stop on BRK disabled.

Prettywell any instruction with low nybble value 2 and some value C will hang a 6502.

 

Remember with the AsmEd cart, one of the most annoying features is that you have to use BRK to exit your program when running from the debugger. An RTS won't return to the debugger properly and can cause a crash sometimes.

Share this post


Link to post
Share on other sites

Danwinslow,thanks for reply,sorry i am a new member here and i am probably on a learning curve period.

 

i'll move my next posts to the 8 bit programming forum, but since i've got a reply i feel like obligated for responding :

 

Raybags: i've tried to run a simple assembly code:

 

10 *=$1000

20 LDA #1000

30 END

then type BUG

 

and command : G 1000 at the debug prompt ,then appears the crush window as described above

i've also tried setting the cpu to the parameters you have suggested and it wont help, i still get this annoying crush win.

Share this post


Link to post
Share on other sites

Don't rely ever on END to provide clean programming exit.

InFact, don't rely on it.

Use BRK instructions to terminate a programming run inside AsmEd

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...