| |
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.... |
| |
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. |
| |
Krill
Registered: Apr 2002 Posts: 2804 |
Quoting FrostbyteHowever 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. |
| |
Krill
Registered: Apr 2002 Posts: 2804 |
Quoting New DesignAre 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. |
| |
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. |
| |
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. |
| |
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. |
| |
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.. |
| |
MagerValp
Registered: Dec 2001 Posts: 1055 |
Another vote for Sublime + ca65 + Makefiles. |
| |
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 |
| |
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 |