Jump to content

yossibnv

Members
  • Posts

    8
  • Joined

  • Last visited

yossibnv's Achievements

Combat Commando

Combat Commando (1/9)

1

Reputation

  1. I download the Altirra 2.60 test 20.(64 bit version for my 64 bit pc) loaded the asmed.com from the dos25.atr (I didn't really understood why i need to disable basic ,since i get the dos menu immediately without basic) and run again the same code , i have noticed that when assembling the code using ASM command the compiler drops an error on line 50 .BRK so i've removed the"." and it compiled fine. but still the altirra crushe when i am typing : ASM no error bug > Debug G 4000 the i get the alrirra crush win which says :"altirra error", wich enforce me to open debug window with following results: CPU: Illegal instruction hit: 4003 (32700: 20, 70) A=0A X=00 Y=00 S=00 P=30 ( ) 4002: 00 00 BRK #$00
  2. I re-typed the code with the correct spaces and compiled it successfully ,i even get the correct results for the accumulator =0A (10 decimal) the issue is only with altirra window crushes, if i am running the code without enabling debugger from the "Debug" menu. so either this is the way to work with the asm/ED cart image or the image is damaged . in case that it damaged i will be very appreciated to get a good link for working image. the results i get now are fine : CPU: Illegal instruction hit: 4003 (8614: 35,109) A=0A X=00 Y=00 S=00 P=30 ( ) 4002: 00 00 BRK #$00 the code: 10 *=4000 20 START 30 LDA #10 40 BRK 50 .END thanks for help
  3. Hi my code as appears above: 10 *=$4000 20 lda #10 25 brk 30 .end I don't see any jumping or branching ,just a simple assembly code
  4. thanks for all replies!! i am new to this forum and very satisfy as i mentioned above i use altirra 2.5 emulator and assembler edtitor rom . following your suggestion and running the given code(get 0 errors after running ASM command) , i get the following registers dump at the altirra console: CPU: Illegal instruction hit: 9B01 (13715: 82, 2) A=0A X=00 Y=00 S=00 P=30 ( ) 9B00: 02 bad (what this bad mean?) so the accumulator was loaded with the correct value (10 descimal=0A), but still i get the altirra crush window if i am not enabling the debugger on menu option: debug==>enable debugger. i also turn off the option System > CPU Options > Stop on BRK : following the code: 10 *=$4000 20 lda #10 25 brk 30 .end
  5. hi, thanks for reply Thom so I've tried to fix my code and load the accumulator with decimal value smaller then 255 10 *=$1000 20 LDA #0 30 END Bug G 1000 and i get: CPU: Illegal instruction hit: 1001 (16308: 35,107) A=00 X=00 Y=00 S=00 P=30 ( ) 1000: 00 00 BRK #$00 to make this post more efficient ,i would appreciate any suggested working assembly simple code , so i can start my own first steps 10X
  6. 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 like enabling illegal operations i use 32 bit won 7 os . My source code 10 *=$1000 20 lda #1000 30 end Bug G 1000 I
  7. 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.
  8. 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
×
×
  • Create New...