Page 2 of 2
Re: Processor comms to hardware?
Posted: Fri Oct 11, 2013 12:22 pm
by sci4me
That was for my processor by the way. I had it set up with >64K of ram... in the simulator. But, it worked

Re: Processor comms to hardware?
Posted: Fri Oct 11, 2013 2:05 pm
by Justin
That was for my processor by the way. I had it set up with >64K of ram... in the simulator. But, it worked

I think the point that BDD was making is that # has a special meaning to the assembler. It means "treat the next expression as a literal". You wouldn't write "2 = 10" in C code. It doesn't make any sense. By omitting the #, you are telling the assembler that it is an address rather than a literal "memory[2] = 10".
That being said, assemblers aren't known for having the greatest error checking around, so it's entirely possible that one would accept that input and turn it into God knows what
If you haven't done so already, you should download the Kowalski simulator and play around with some 6502 code to learn the finer points. Heck, you could even try out having your parser/lexer generate some object code for it (if you're in for a real adventure

)
Re: Processor comms to hardware?
Posted: Fri Oct 11, 2013 5:36 pm
by BigDumbDinosaur
If you haven't done so already, you should download the Kowalski simulator and play around with some 6502 code to learn the finer points. Heck, you could even try out having your parser/lexer generate some object code for it (if you're in for a real adventure

)
The final version of the Kowalski simulator, V1.2.12, was never made available for download, as Mike Kowalski is no longer maintaining the software. Attached is V1.2.12, which I have been using for more than a year.
- 6502_1.2.12.zip
- Kowalski 65xx Simulator V1.2.12
- (527.02 KiB) Downloaded 70 times
Re: Processor comms to hardware?
Posted: Fri Oct 11, 2013 7:18 pm
by GARTHWILSON
The final version of the Kowalski simulator, V1.2.12, was never made available for download, as Mike Kowalski is no longer maintaining the software. Attached is V1.2.12, which I have been using for more than a year.
Do you think he would mind if it were made available for download in the http://6502.org/tools/asm/ section of 6502.org?
Re: Processor comms to hardware?
Posted: Fri Oct 11, 2013 8:18 pm
by sci4me
If you haven't done so already, you should download the Kowalski simulator and play around with some 6502 code to learn the finer points. Heck, you could even try out having your parser/lexer generate some object code for it (if you're in for a real adventure

)
The final version of the Kowalski simulator, V1.2.12, was never made available for download, as Mike Kowalski is no longer maintaining the software. Attached is V1.2.12, which I have been using for more than a year.
6502_1.2.12.zip
Hope wine can run this...
Re: Processor comms to hardware?
Posted: Fri Oct 11, 2013 8:27 pm
by BigEd
Yes, the last one I tried did run in WINE.
Re: Processor comms to hardware?
Posted: Fri Oct 11, 2013 9:42 pm
by BigDumbDinosaur
The final version of the Kowalski simulator, V1.2.12, was never made available for download, as Mike Kowalski is no longer maintaining the software. Attached is V1.2.12, which I have been using for more than a year.
Do you think he would mind if it were made available for download in the
http://6502.org/tools/asm/ section of 6502.org?
I doubt it. He sent me V1.2.12 after I discovered a bug in 1.2.11.