Processor comms to hardware?

For discussing the 65xx hardware itself or electronics projects.
sci4me
Posts: 72
Joined: 08 Oct 2013
Location: /home/sci4me
Contact:

Re: Processor comms to hardware?

Post 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 :P
Justin
Posts: 32
Joined: 20 Sep 2013

Re: Processor comms to hardware?

Post by Justin »

sci4me wrote:
That was for my processor by the way. I had it set up with >64K of ram... in the simulator. But, it worked :P
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 :-))
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: Processor comms to hardware?

Post by BigDumbDinosaur »

Justin wrote:
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 69 times
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
GARTHWILSON
Forum Moderator
Posts: 8775
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: Processor comms to hardware?

Post by GARTHWILSON »

BigDumbDinosaur wrote:
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?
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
sci4me
Posts: 72
Joined: 08 Oct 2013
Location: /home/sci4me
Contact:

Re: Processor comms to hardware?

Post by sci4me »

BigDumbDinosaur wrote:
Justin wrote:
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...
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: Processor comms to hardware?

Post by BigEd »

Yes, the last one I tried did run in WINE.
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: Processor comms to hardware?

Post by BigDumbDinosaur »

GARTHWILSON wrote:
BigDumbDinosaur wrote:
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.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
Post Reply