Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
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: 107
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
Krill

Registered: Apr 2002
Posts: 2804
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
Krill

Registered: Apr 2002
Posts: 2804
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
Youth

Registered: Aug 2003
Posts: 40
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
oziphantom

Registered: Oct 2014
Posts: 478
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
Quiss

Registered: Nov 2016
Posts: 37
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
ChristopherJam

Registered: Aug 2004
Posts: 1359
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
MagerValp

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

Registered: Feb 2009
Posts: 254
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):
https://gist.github.com/lhz/f877f9f331d70bd79270cf111039241a
2021-07-15 13:32
JackAsser

Registered: Jun 2002
Posts: 1987
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):
https://gist.github.com/lhz/f877f9f331d70bd79270cf111039241a


Fancy, I do:
inject: main.prg
   echo "bank ram\nf 0002 ffff 0\nl \"$?\" 0\ng 0400" | nc 127.0.0.1 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
Advanced
Users Online
MAT64
alwyz/udi
iAN CooG/HVSC
Matt
algorithm
radius75
t0m3000/ibex-crew
zscs
Guests online: 341
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.043 sec.