amiga.org
     
iconAll times are GMT -6. The time now is 09:21 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » The "Not Quite Amiga but still computer related category" » Amiga Emulation » assembling Amiga programs under Windows

Amiga Emulation This forum is dedicated to discussions about Commodore Amiga Emulation. This includes products such as WinUAE, Amithlon, Amiga Forever, etcetera.

Reply
 
Thread Tools Display Modes
Old 06-12-2012, 02:05 AM   #1
DamageX
Technoid
Points: 7,151, Level: 56 Points: 7,151, Level: 56 Points: 7,151, Level: 56
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Jun 2005
Posts: 313
Default assembling Amiga programs under Windows

I want to assemble 68k programs for Amiga under Windows. I can test under winuae, but I do not want do editing/building under winuae because it is a battery-life killer (and it doesn`t agree with Japanese keyboard layout, and I can`t remember how to make batch files for Amiga DOS).

Problem: I think Amiga DOS executables need a relocation table, but I can`t find a cross-assembler that generates one. There is a win32 version of a68k, and it targets Amiga DOS, but where is the linker that goes with it?
DamageX is offline   Reply With Quote
Old 06-12-2012, 02:10 AM   #2
Foul
Hobbyist
Points: 2,033, Level: 27 Points: 2,033, Level: 27 Points: 2,033, Level: 27
Activity: 12% Activity: 12% Activity: 12%
 
Foul's Avatar
 
Join Date: Mar 2010
Location: France
Posts: 66
Send a message via ICQ to Foul Send a message via MSN to Foul
Default Re: assembling Amiga programs under Windows

http://sun.hasenbraten.de/vasm/ ?
Foul is offline   Reply With Quote
Old 06-12-2012, 02:46 AM   #3
carls
Defender of the Faith
Points: 10,480, Level: 68 Points: 10,480, Level: 68 Points: 10,480, Level: 68
Activity: 4% Activity: 4% Activity: 4%
 
Join Date: Mar 2002
Posts: 1,032
Default Re: assembling Amiga programs under Windows

Quote:
Originally Posted by DamageX View Post
I want to assemble 68k programs for Amiga under Windows. I can test under winuae, but I do not want do editing/building under winuae because it is a battery-life killer (and it doesn`t agree with Japanese keyboard layout, and I can`t remember how to make batch files for Amiga DOS).

Problem: I think Amiga DOS executables need a relocation table, but I can`t find a cross-assembler that generates one. There is a win32 version of a68k, and it targets Amiga DOS, but where is the linker that goes with it?
Perhaps this is what you're looking for:
http://ada.untergrund.net/forum/inde...um=4&topic=666

Another link:
http://www.pouet.net/prod.php?which=58703
__________________
Amiga: Too weird to live, too rare to die.
carls is offline   Reply With Quote
Old 06-12-2012, 04:55 AM   #4
Heinz
Technoid
Points: 6,382, Level: 52 Points: 6,382, Level: 52 Points: 6,382, Level: 52
Activity: 2% Activity: 2% Activity: 2%
 
Heinz's Avatar
 
Join Date: Nov 2005
Posts: 152
Default Re: assembling Amiga programs under Windows

Quote:
Originally Posted by DamageX View Post
I want to assemble 68k programs for Amiga under Windows. I can test under winuae, but I do not want do editing/building under winuae because it is a battery-life killer (and it doesn`t agree with Japanese keyboard layout, and I can`t remember how to make batch files for Amiga DOS).

Problem: I think Amiga DOS executables need a relocation table, but I can`t find a cross-assembler that generates one. There is a win32 version of a68k, and it targets Amiga DOS, but where is the linker that goes with it?
Have you tried http://amidevcpp.amiga-world.de/ ?

It should contain the gnu assembler as.
Heinz is offline   Reply With Quote
Old 06-12-2012, 11:15 AM   #5
Leffmann
Hobbyist
Points: 1,786, Level: 24 Points: 1,786, Level: 24 Points: 1,786, Level: 24
Activity: 8% Activity: 8% Activity: 8%
 
Join Date: Feb 2011
Posts: 56
Default Re: assembling Amiga programs under Windows

Quote:
Originally Posted by DamageX View Post
I want to assemble 68k programs for Amiga under Windows. I can test under winuae, but I do not want do editing/building under winuae because it is a battery-life killer (and it doesn`t agree with Japanese keyboard layout, and I can`t remember how to make batch files for Amiga DOS).

Problem: I think Amiga DOS executables need a relocation table, but I can`t find a cross-assembler that generates one. There is a win32 version of a68k, and it targets Amiga DOS, but where is the linker that goes with it?
They just need to be AmigaDOS executables (with or without relocation tables). I also recommend Vasm which Foul linked to (and Vlink if you want to link multiple files).

Also check out Lallafa's various Amiga cross-development tools for running simple AmigaDOS executables and master disk images etc: http://lallafa.de/blog/
Leffmann is offline   Reply With Quote
Old 06-15-2012, 01:39 PM   #6
DamageX
Technoid
Points: 7,151, Level: 56 Points: 7,151, Level: 56 Points: 7,151, Level: 56
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Jun 2005
Posts: 313
Default Re: assembling Amiga programs under Windows

I was confused at first because I didn`t see vasm windows binaries on the site but I see that they are included in the archives linked by carls. Got it working, thanks to all
DamageX is offline   Reply With Quote
Reply

Bookmarks

Tags
amiga , assembling , programs , windows

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump