6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 9:22 pm

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Fri Oct 11, 2013 12:22 pm 
Offline

Joined: Tue Oct 08, 2013 5:40 am
Posts: 72
Location: /home/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


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 11, 2013 2:05 pm 
Offline

Joined: Fri Sep 20, 2013 4:35 pm
Posts: 32
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 :-))


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 11, 2013 5:36 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8513
Location: Midwestern USA
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.

Attachment:
File comment: Kowalski 65xx Simulator V1.2.12
6502_1.2.12.zip [527.02 KiB]
Downloaded 64 times

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 11, 2013 7:18 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
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?


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 11, 2013 8:18 pm 
Offline

Joined: Tue Oct 08, 2013 5:40 am
Posts: 72
Location: /home/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.

Attachment:
6502_1.2.12.zip


Hope wine can run this...


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 11, 2013 8:27 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Yes, the last one I tried did run in WINE.


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 11, 2013 9:42 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8513
Location: Midwestern USA
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!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 45 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: