Windows 10 compatible cross assembler

87 views
Skip to first unread message

Allen Evenson

unread,
Jun 28, 2022, 4:44:33 PM6/28/22
to PAL 6502 computer
What assembler would you recommend using to create 6502 machine code (on a Win 10 computer)?  I tried 2 listed at 6502.Org: DASM and ATASM. Couldn't get either working.

Thanks,
Allen

Ronny Ribeiro

unread,
Jun 28, 2022, 4:54:52 PM6/28/22
to Allen Evenson, PAL 6502 computer
I'm not sure, but VASM may work...

--
You received this message because you are subscribed to the Google Groups "PAL 6502 computer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pal6502+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pal6502/CAMZ7NLb%2B5PYdErU3W3ndKtAPHsWBqJ%3Dowgq4nj0PCsEsWgyR_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Allen Evenson

unread,
Jun 28, 2022, 5:39:35 PM6/28/22
to Ronny Ribeiro, PAL 6502 computer
Thanks, I'll check it out. 

Jeremy Starcher

unread,
Jun 28, 2022, 5:52:40 PM6/28/22
to PAL 6502 computer
cc65 works and what I am currently using to write all of my things.

I can point you to my repo with examples.

Jeremy Starcher

unread,
Jun 28, 2022, 6:09:50 PM6/28/22
to PAL 6502 computer

Jim McClanahan

unread,
Jun 28, 2022, 8:26:25 PM6/28/22
to Jeremy Starcher, PAL 6502 computer
CC65 is one of the more popular families of development tools.

I grew up on the old fashioned 6502 native assemblers and just can't get use to needing a linker and not being able to just tell the dang assembler what address the code goes at and having it build a hex file for me. I use 64tass and every time I try something different I end up eventually returning to it.

But different people want different things out of their assembler. I want it to be simple and not get in the way of cranking out something to run and 64tass just does that for me--no unexpected trickery.

There is also the asm80 dot com website that has an online assembler (and even an emulator). I'll use that for quick pieces of code when I'm not at my main computer.

Thanks,
Jim W4JBM

Jeremy Starcher

unread,
Jun 28, 2022, 8:46:16 PM6/28/22
to PAL 6502 computer
When I first learned 6502 programming, my assembler was the VIC-20 manual and my own dyslexic mind.

Then you translated all that hex into decimal and typed in too many painful DATA statements.

Programming on the PAL-1 actually seems downright easy by comparison.

Hans Otten

unread,
Jun 29, 2022, 2:59:03 AM6/29/22
to PAL 6502 computer
Assemblers, long time experience here! 
Not only 6502, but first assembler I used was for Z80 at university. And PDP-11 and VAX-11 assemblers in my day job in the 80ties. Even did some HP1000 assembler.
What it comes down to: choose a tool, make it work simple examples and then use it to learn write bigger projects. The tool is not what makes a working program, it is the programmer!

After the first year assembling by hand I started using MICRO ADE on the KIM-1. Editor, assembler, debugger, non-standard syntax, tape file I/O. Lots of fun, quite big projects possible.
Then in 1985 the KIM-1 became stored and 6502 forgotten for years.

When the MicroKIM appeared I started using 6502 seriously again and since then I use two assemblers in the toolchain:
- the assembler and linker from CC65, serious software for bigger projects. Good example is pagetable's MS Basic source. 
- Telemarks TASM DOS based command line. Also for Z80 for smaller one source file type programs.   Integrated form Notepad++ external commands. Press a key combo and assembly done and shown in window.

Now TASM is just an assembler as many 6502 command line assemblers. Macro's supported. I am lazy so do not change what is working for me. 

Subtle differences in syntax and expression evaluation may lead to hours of debugging when you assemble source form others written for other assemblers alas!
Do not underestimate this, us the assembler the source was written for! 

My KIM-1 simulator supports the symbol tables from CC65 and from TASM, which helps in debugging.
The small 6502 code fragments in the KIM-1 Simulator are done with TASM. 
Reply all
Reply to author
Forward
0 new messages