Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Daniele on May 29, 2008, 02:00:03 AM

Title: Amiga Cross Assembler to code intros! - Help!
Post by: Daniele on May 29, 2008, 02:00:03 AM
I was wondering if exists an Amiga Cross Assembler in order to "compile" assembly sources.
I have seen 68000 Cross Assembler on google but they are not Amiga Compatible becasue I think they do not have the libaries.I am looking something like the DASM for the C64!

Any idea please?

Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: Piru on May 29, 2008, 02:07:34 AM
What's wrong with UAE? You can test the resulting binary without moving the files over, too.
Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: boing4000 on May 29, 2008, 04:29:54 PM
If you are looking for an Amiga assembler, go here: AsmOne (http://www.theflamearrows.info/documents/ftp.html)

Else there are some 68000 cross assembler available but only to translate the source into binary and non amiga executable code AFAIK.
Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: HenryCase on May 30, 2008, 12:36:30 AM
Quote
Daniele wrote:
I am looking something like the DASM for the C64!


Did a quick Google, bit confused, isn't DASM a disassembler rather than an assembler?

I don't know if its quite what you're looking for, but I remember an amiga.org user selling a cross-compiler for the Amiga, where you linked your PC with your Amiga, coded on the PC but ran code on a real Amiga. Unfortunately, I can't remember the person's amiga.org username or their website address. Anyone else remember the device?
Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: Daniele on May 30, 2008, 06:29:58 AM
Quote
bit confused, isn't DASM a disassembler rather than an assembler?

DASM is a well known 6502 Crossassembler for Commodore 64!
and I was looking for something similar on the Amiga Side!





Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: skurk on May 30, 2008, 07:27:40 AM
The first one that leaps to mind is the sc68 (http://sc68.atari.org/developers_tools.html) package.  It's actually a portable music player, but it contains an assembler (and disassembler), too.

Disclaimer: not tested by yours truly.
Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: jj on May 30, 2008, 08:37:17 AM
@ HenryCase

I remember what you mean, but cant remember any details either.

OT how you doing with scanning those books in ?
Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: DamageX on May 30, 2008, 09:05:16 AM
here is a Windows command-line based 68K assembler http://www.birdcomputer.ca/Software/mc680xx.html

I believe there are various versions of A68k floating around too.

But I would setup UAE with read access to your PC's filesystem. Then use whatever PC app you want to edit the source and switch over to UAE and use phxass from aminet to assemble the file.
Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: Daniele on May 30, 2008, 09:11:12 AM


Quote
DamageX wrote: But I would setup UAE with read access to your PC's filesystem


How can I do that , can you help me:

Configuring UAE to access to PC file system would be great!
Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: amigaksi on May 30, 2008, 08:38:14 PM
>I don't know if its quite what you're looking for, but I >remember an amiga.org user selling a cross-compiler for the >Amiga, where you linked your PC with your Amiga, coded on the >PC but ran code on a real Amiga. Unfortunately, I can't >remember the person's amiga.org username or their website >address. Anyone else remember the device?

I also make cables that let you execute code on the real machine after compiling on PC:

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=320256684628

This one interfaces to Atari/C64 through joystick port or SIO port.  Another cable on my website uses the floppy connector on the Amiga.  Don't have a disassembler for 68K but it will let you compile 68K code directly into an ADF image.  Or you can upload an already done ADF file.  It also lets you code binaries that run from a fixed location (like ORG $F80000).  It does not have a linker so you'll have to include other object modules directly like:

   Move.l D0,$DFF180
   Move   D1,$DFF184
   OBJ   Reuse.OBJ
   Move.b #$FE,$BFE101
   Rts




Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: DamageX on May 31, 2008, 06:34:44 AM
Quote
Configuring UAE to access to PC file system would be great!

don't know about the other ports, but under WinUAE it's simple. Just go to harddrives, click "add directory" and put in a device name (ie. DH1) and volume name, and choose the path.
Title: Re: Amiga Cross Assembler to code intros! - Help!
Post by: HenryCase on June 01, 2008, 08:44:20 PM
Quote
JJ wrote:
OT how you doing with scanning those books in ?


PM incoming...

Quote

amigaksi wrote:
I also make cables that let you execute code on the real machine after compiling on PC:

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=320256684628


That's the one I was thinking of. Thanks amigaksi.