Omnimaga
Calculator Community => TI Calculators => ASM => Topic started by: yrinfish on April 19, 2011, 10:47:17 am
-
OK, I want to learn z80 assembly, but TASM isn't compatible with my
shiny amd64 laptop.
And it is OLD.
Are there better assemblers out there?
PS: I've used some NASM for Linux, so that one would be great
-
OK, I want to learn z80 assembly, but TASM isn't compatible with my shiny amd64 laptop.
And it is OLD.
Are there better assemblers out there?
PS: I've used some NASM for Linux, so that one would be great
You can use the DoorsCS7 SDK (Brass) or Spasm.
The DoorsCS7 SDK is cross-platform. Personally, I prefer Spasm.
-
Why do you prefer Spasm?
And can DoorsCS7 compile assemble non-DCS programs?
-
Why do you prefer Spasm?
And can DoorsCS7 compile assemble non-DCS programs?
I prefer SPASM cos it's what I started with and I like the way it reports errors, the way it's simple to use and it's speed.
And yes DoorsCS SDK can compile programs for any shell or even shell-less.
-
brass needs mono on Linux, spasm for me
do I need an include file other than ti83plus.inc?
-
brass needs mono on Linux, spasm for me
do I need an include file other than ti83plus.inc?
For making DCS7 apps you need dcs7.inc and etc.
Yah brass needs mono.
-
I don't need other files for no-stub programs
Do you have a .bat script to talk to it? Too lazy to write it myself...
-
I don't need other files for no-stub programs
Do you have a .bat script to talk to it? Too lazy to write it myself...
the dcs_sdk has a batch file to compile.
-
I chose spasm...
-
You need a script? :P Linux is the OS where you would least need a script. :)
Simply open up a terminal, cd to where your project is, and:
spasm somefile.z80 somefile.8xp
For instance, if you saved your project to [yourhomefolder]/Desktop/MyAwesomeASMProject:
cd Desktop/MyAwesomeASMProject
spasm somefile.z80 somefile.8xp
...and that's all! :) Simply transfer that program file to your calc via TiLP, or run it in a calc emulator. ;)
Multiple ASM files also only need one command, since you just include them in your main file.
Something like:
include "bla.asm"
include "bla2.asm"
...program goes here...
If you are really lazy (like me), you could create a Makefile with the following:
all:
[tab]spasm somefile.z80 somefile.8xp
Then you could simply save your file while working on it, and then type "make" to build. :)
If you need a GUI solution, tell me and I'll see what I could cook up.
Also, to clarify - NASM is a x86 assembler, and won't be able to assemble Z80 files. You'll want SPASM. ;)
-
OK, thanks, but sadly I'm on windows
/me goes straight to oh-shit-which-distro.com and downloads it
I like Fedora
but I want to be able to view .avi files...
tommorow I'l have a look at it
(local time: 22:35)
Maybe I should modify my half-made compiler to make some basic z80 code
-
should I update from 2.53MP to 2.55MP?
-
should I update from 2.53MP to 2.55MP?
I wouldn't, but it depends on what you want.