www.nicecuppa.net |
home totally freeware |
| Still saving for my mid-life crisis | |
Whilst browsing some sites talking about the Commodore 64, I started thinking about how things were much simpler in the old days of computing. Simpler to the extent that it probably wouldn't be too hard to put together a simple 6510 assembler. So here is ASM64, very much a proof of concept, a beta version and any other disclaimers you can think of.
ASM64 will let you write Commodore 64 assembly language programs, it supports all 6510 instructions and addressing modes and also lets you define labels in your code so you can loop and branch. To test it I wrote a few assembly language programs, assembled them with ASM64 and transferred the output onto a D64 image using c1541.exe (supplied with Vice C64 Emulator). Everything I've tried so far has worked.
That said, I'm not sure how much success you'll have with any existing C64 assembly language programs out there (if any), I'm sure it will choke if it encounters any attempts at comments or assembler directives. Included in the source and executable download are a couple of assembly scripts that worked when I tried.
Here are the command-line parameters: -
| asm64.exe [options] | |
| -help | : Display this information |
| -i [input filename] | : Input filename |
| -o [output filename] | : Output filename |
| -rawoutput | : Raw bytes, no c64 program header |
| -b [address] | : Start address when rawoutput not specified (Default $C000) |
| -hexdump | : Display hex dump of output |
| -verbose | : Display assembler information whilst running |
asm64 (11kb)
asm64 Source Code (24kb)

Post a Comment