6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Sep 28, 2024 11:17 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Compilers
PostPosted: Sat Dec 10, 2011 10:08 pm 
Offline

Joined: Sun Dec 04, 2011 12:19 pm
Posts: 8
Where can i get any 6502 compiler or binary files? I want to test my emulator and don't want to wirite my own compiler for that purpouse...


Top
 Profile  
Reply with quote  
 Post subject: Re: Compilers
PostPosted: Mon Dec 12, 2011 7:39 pm 
Offline

Joined: Sun Sep 15, 2002 10:42 pm
Posts: 214
jarlfenrir wrote:
Where can i get any 6502 compiler or binary files? I want to test my emulator and don't want to wirite my own compiler for that purpouse...


Go to http://www.6502.org.

Click on "Development Tools".

Click on "Compilers and Languages".

Toshi


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Dec 13, 2011 9:09 am 
Offline

Joined: Sun Dec 04, 2011 12:19 pm
Posts: 8
yea, right, but i just cannot get any working on my win7


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Dec 13, 2011 9:24 pm 
Offline

Joined: Sun Dec 04, 2011 12:19 pm
Posts: 8
Please just give me any compiler working on win7. I can't find any.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Dec 13, 2011 11:20 pm 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
Can you use a virtual XP under 7? Use under that environment...

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 14, 2011 8:49 pm 
Offline

Joined: Sun Dec 04, 2011 12:19 pm
Posts: 8
Nightmaretony wrote:
Can you use a virtual XP under 7? Use under that environment...
anyway, wich one will work? I see majority of 6502 compillers were written for DOS


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 14, 2011 10:21 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1738
Location: Sacramento, CA
The Kowalski simulator works on Windows 7 Enterprise at my office. It has a built in assembler, if that is what you mean by compiler.

It can be downloaded from here:
http://exifpro.com/utils.html

SCRATCH THAT - The Save Code button caused the program to abort. It will assemble it but it does not allow you to save the object code.

TASS (a 6502/65c02 assembler) is a DOS program but does run under Windows 7 Enterprise. It supports macros which allows you to add 65816 support as well.

Tass can be downloaded from my website:
http://sbc.rictor.org/download/6502tass.zip

Please note, I made it available on my site but I am not the author. Please respect the author's notices.

Daryl

Edit - Fixed misspelled name. Sorry about that!


Last edited by 8BIT on Thu Dec 15, 2011 5:27 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 15, 2011 6:53 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8404
Location: Midwestern USA
8BIT wrote:
The Kawalski simulator works on Windows 7 Enterprise at my office. It has a built in assembler, if that is what you mean by compiler.

It can be downloaded from here:
http://exifpro.com/utils.html

SCRATCH THAT - The Save Code button caused the program to abort. It will assemble it but it does not allow you to save the object code.

Roger that. Same problem occurs on Windows 7 professional (32 bit). I don't see any obvious workaround. Without this feature you won't be able to burn EPROMs.

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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 15, 2011 9:21 am 
Offline

Joined: Wed Oct 06, 2010 9:05 am
Posts: 95
Location: Palma, Spain
Try setting the properties of the executable to "Run as Administrator"?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 15, 2011 5:06 pm 
Offline

Joined: Fri Aug 30, 2002 2:05 pm
Posts: 347
Location: UK
Quote:
SCRATCH THAT - The Save Code button caused the program to abort. It will assemble it but it does not allow you to save the object code.

Tell Michal, he's always been good about fixing things in the past.

Lee.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 16, 2011 3:43 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8404
Location: Midwestern USA
RichTW wrote:
Try setting the properties of the executable to "Run as Administrator"?

I'm always the administrator on any Windows machine I control, so Windows isn't preventing the simulator executable from writing on the filesystem.

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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 18, 2011 2:43 pm 
Offline

Joined: Sun Dec 04, 2011 12:19 pm
Posts: 8
8BIT wrote:
The Kowalski simulator works on Windows 7 Enterprise at my office. It has a built in assembler, if that is what you mean by compiler.

when i tried compiling with that i got txt file with opcodes... not stright binary file but numbers visible for man. Or maybe i was compiling it wrong way?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 18, 2011 3:46 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8520
Location: Southern California
I'm not familiar with the Kowalski simulator or its built-in assembler, but the usual output of assemblers is a hex file, whether Intel Hex, Motorola S19 format, or something like that, which are text files with things at the beginning of each line telling what kind of line it is, the beginning address, and having a checksum at the end, etc..


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 18, 2011 4:12 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1738
Location: Sacramento, CA
jarlfenrir wrote:
8BIT wrote:
The Kowalski simulator works on Windows 7 Enterprise at my office. It has a built in assembler, if that is what you mean by compiler.

when i tried compiling with that i got txt file with opcodes... not stright binary file but numbers visible for man. Or maybe i was compiling it wrong way?


There is an option to create a list file output, that is in text.

For the object code:
After you load your source and press F7 (Assemble) or click the Assemble icon, you go to File - Save Code

That opens a dialog box. The default type is Intel Hex. If you change the type to Binary Image, you will get a pure object code file. You have to use the "Options" button to set the start and end address to save.

However, when I tested this at work on Windows 7, it crashed the program. If it crashes on your platform, try TASS (link in an earlier post).

Daryl


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 18, 2011 5:40 pm 
Offline

Joined: Sun Dec 04, 2011 12:19 pm
Posts: 8
8BIT wrote:
However, when I tested this at work on Windows 7, it crashed the program. If it crashes on your platform, try TASS (link in an earlier post).

Daryl
thanks for answers. I will try TASS when i have a bit more time. (Maybe tomorrow). My 6502 emulator is almost done, and now i have much work connected with documenting it.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 15 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: