Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums

Forums > C64 Coding > Crossassembler on MacOS
2021-07-14 20:04
New Design

Registered: Jul 2021
Posts: 1
Crossassembler on MacOS

Hi guys,

I own a MacBook Pro with the latest version of MacOs Big Sur.
Is anyone here coding on MacOS? Are there any recommendations for an IDE or setup to code assembler?
I made some experiments with Relaunch64, KickAss, ACME and Vice.
I don't know if that makes sense.

Greetings from Germany, New Design
... 5 posts hidden. Click here to view all posts....
2021-07-15 00:48
Silver Dream !

Registered: Nov 2005
Posts: 72
Yup - as others pointed out too - ca65, with (preferably mine and Oliver's) Makefile, with good code editor like Textmate, VS-Code (or VS-Codium if you don't fancy the M$ telemetry crap) or Sublime and you'll be good to go.
2021-07-15 01:01

Registered: Apr 2002
Posts: 1973
Quoting Frostbyte
However I don't mind MS gathering metrics [...] they provide a pretty nifty piece of software to me for free, and in exchange I give them a little bit of data about how I use it so that they can improve it. Something worth a thought for everyone.
Free or not, this kind of thing should always be opt-in. And it's a text editor, basically, with a very large and very active base of contributors. Not buying the argument.
2021-07-15 01:08

Registered: Apr 2002
Posts: 1973
Quoting New Design
Are there any recommendations for an IDE or setup to code assembler?
I am quite fond of Kate as a truly FOSS multiplatform editor.

Regarding assemblers, you might want to go for something that eats canonical 6502 assembly syntax, otherwise you'll end up porting or rewriting all kinds of external code.
2021-07-15 08:05

Registered: Aug 2003
Posts: 15
Quote: I do exactly the same except I use CA65 instead of dasm, otherwise the same approach: makefile + ram injection

I have been experimenting with ram injection too. Do you assemble the file, then send monitor commands to the running instance of VICE (over the tcp port) to load the file and do a jump? This is what I did.

My setup also consist of a generic editor (switching between vim and vscode all the time) and makefiles. I used kickassembler, but the last thing I coded I used c64jasm, a very basic assembler written in javascript, which is extendible with javascript plugins. I would not recommend this to anyone really, but I like it :) Sources: https://github.com/micheldebree/the_hangover

I use VICE and C64Debugger for testing.

I don't code a lot, so a basic setup is enough for me.
2021-07-15 08:23

Registered: Oct 2014
Posts: 434
Relaunch64 + 64tass. Auto complete and it understands the tass commands properly so it expands on blocks etc. And 64tass as it is best in class.

VSCode annoys me as it doesn't understand structure, so its auto complete is "what has come before" which means it thinks TYA should be TAY.

Notepad++ seems to be ok, not sure if it works on Mac though.
2021-07-15 08:28

Registered: Nov 2016
Posts: 22
I've never tried the tcp vice injection. Instead, I use a tool that converts prg files to vsf (which I then just start with "x64sc file.vsf"), thus also bypassing a lot of resetting, loading and decrunching.

vsf files are versioned, though, and will only work with a specific version of vice, so that solution can be a bit finicky.
2021-07-15 09:03

Registered: Aug 2004
Posts: 1174
I just use vim, Makefiles, VICE, and ca65 (I dropped xa65 when my memory map requirements started getting more complex). A simple
run: test.prg
    open $<

target seems to work well enough for my purposes - VICE's "reset then injected opened file into RAM before running" default has always seemed fast enough for me that I've never got around to looking into TCP connections or whatever.

I do use Python a fair bit for converting fonts and graphics, and for generating tables and unrolled code.

Still on Mojave as I'm not quite ready to let go of my 32bit photoshop licence..
2021-07-15 09:51

Registered: Dec 2001
Posts: 1010
Another vote for Sublime + ca65 + Makefiles.
2021-07-15 12:58

Registered: Feb 2009
Posts: 236
Emacs, ca65 and make here.

I use this small shell script to reload updated code/data/labels into a running VICE instance (started with -remotemonitor option):
2021-07-15 13:32

Registered: Jun 2002
Posts: 1835
Quote: Emacs, ca65 and make here.

I use this small shell script to reload updated code/data/labels into a running VICE instance (started with -remotemonitor option):

Fancy, I do:
inject: main.prg
   echo "bank ram\nf 0002 ffff 0\nl \"$?\" 0\ng 0400" | nc 6510
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Users Online
Da Snake
Guests online: 48
Top Demos
1 Coma Light 13  (9.6)
2 Edge of Disgrace  (9.6)
3 Uncensored  (9.6)
4 Bromance  (9.6)
5 Comaland 100%  (9.6)
6 Memento Mori  (9.6)
7 Lunatico  (9.6)
8 Unboxed  (9.5)
9 Christmas Megademo  (9.5)
10 Wonderland XII  (9.5)
Top onefile Demos
1 Copper Booze  (9.8)
2 Bacchus @ Night  (9.6)
3 Barry Boomer - Trapp..  (9.6)
4 Hackmap  (9.6)
5 Daah, Those Acid Pil..  (9.5)
6 To Norah  (9.5)
7 Dawnfall V1.1  (9.5)
8 Lovecats  (9.5)
9 Elite Code Mechanics  (9.4)
10 Quadrants  (9.4)
Top Groups
1 Booze Design  (9.4)
2 Oxyron  (9.4)
3 PriorArt  (9.3)
4 Crest  (9.3)
5 Triad  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Horizon  (9.9)
3 Stormbringer  (9.7)
4 Fungus  (9.5)
5 Grim Reaper  (9.3)

Home - Disclaimer
Copyright © No Name 2001-2021
Page generated in: 0.039 sec.