Welcome, Guest. Please login or register.

Author Topic: assembling Amiga programs under Windows  (Read 1934 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline DamageXTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show only replies by DamageX
    • http://www.hyakushiki.net/
assembling Amiga programs under Windows
« on: June 12, 2012, 09:05:17 AM »
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?
 

Offline Foul

  • Jr. Member
  • **
  • Join Date: Mar 2010
  • Posts: 77
    • Show only replies by Foul
    • http://www.jamma.fr
Re: assembling Amiga programs under Windows
« Reply #1 on: June 12, 2012, 09:10:04 AM »
 

Offline carls

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1047
    • Show only replies by carls
Re: assembling Amiga programs under Windows
« Reply #2 on: June 12, 2012, 09:46:45 AM »
Quote from: DamageX;696133
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/index.php?action=vthread&forum=4&topic=666

Another link:
http://www.pouet.net/prod.php?which=58703
Amiga: Too weird to live, too rare to die.
 

Offline Heinz

  • Full Member
  • ***
  • Join Date: Nov 2005
  • Posts: 154
    • Show only replies by Heinz
    • http://amidevcpp.amiga-world.de
Re: assembling Amiga programs under Windows
« Reply #3 on: June 12, 2012, 11:55:01 AM »
Quote from: DamageX;696133
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.
 

Offline Leffmann

  • Full Member
  • ***
  • Join Date: Feb 2011
  • Posts: 119
    • Show only replies by Leffmann
Re: assembling Amiga programs under Windows
« Reply #4 on: June 12, 2012, 06:15:48 PM »
Quote from: DamageX;696133
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/
 

Offline DamageXTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show only replies by DamageX
    • http://www.hyakushiki.net/
Re: assembling Amiga programs under Windows
« Reply #5 on: June 15, 2012, 08:39:24 PM »
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