Welcome, Guest. Please login or register.

Author Topic: Which Assembler?  (Read 8046 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Phx_

  • Newbie
  • *
  • Join Date: Nov 2003
  • Posts: 7
    • Show only replies by Phx_
    • http://home.owl.de/~frank/
Re: Which Assembler?
« Reply #14 on: October 12, 2009, 08:42:27 AM »
Quote from: matthey;525579
I reported and Frank fixed the JSRLIB GetMsg type macro generating something like this...

JSR ($FFFFFe8C.L,A6,ZD0.W)

instead of this...

jsr (-372,a6)

That looks evil on first sight, but I have to clarify the scope of this bug: it only happened when all of the following conditions were true:
- assembling for 68020+
- the displacement is an undefined external symbol (GetMsg in this case)
- you didn't specify a discplacement size, like ".w"


Quote

I tried that but it didn't work. I get...

fatal error 17: could not initialize output module

Are you sure the above vasm line is correct?

It is. There is always somebody with a newer beta. ;)
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: Which Assembler?
« Reply #15 on: October 12, 2009, 09:01:32 AM »
Hmm.. interesting. I thought nobody used DevPac any more. Certainly in the Amiga demoscene, Asm-One and Asm-Pro are pretty much "the standard".
Playstation Network ID: xeron6
 

Offline jjTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4052
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: Which Assembler?
« Reply #16 on: October 12, 2009, 11:54:21 AM »
Thanks all for some opinions and options there.
 
I have not done any assembling or dissasembling for about 17 years or moreand that was Z80 amstrad cpc stuff.  Are all therse options pretty user friendly?
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline jjTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4052
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: Which Assembler?
« Reply #17 on: October 12, 2009, 11:55:51 AM »
Quote from: xeron;525635
Hmm.. interesting. I thought nobody used DevPac any more. Certainly in the Amiga demoscene, Asm-One and Asm-Pro are pretty much "the standard".

 
Where would I get these.  I am guessing they are commercial ?
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline jjTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4052
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: Which Assembler?
« Reply #18 on: October 12, 2009, 11:59:48 AM »
Quote from: pmc/Retro;525529
All my demo code is developed in UltraEdit (text editor) on the PC and then I use Devpac v3.18 to assemble on the Amiga.
 
Use of Devpac seems to be a British thing (the makers, Hisoft, were a British company) as, in my experience, mostly British guys use it.
 
Almost all of the European demos coders I talk to use Asm-One.
 
At the end of the day I agree with Joloo - which assembler you use all comes down to personal taste. The code's the important thing - the assembler's just the tool to assemble it...
 
Get the Hardware Reference Manual for learning the Amiga internals. If you'd like to see some source codes that include the boring but necessary stuff like system takeover etc. then check the Coder's Heaven forums on EAB. You'll find a good few of my sources knocking around on there that you're welcome to. You can always PM me questions as well if you like - I'd be happy to help you out. :-)
 
Anyway, I wish you luck JJ - in my opinion, 68k coding is rewarding and fun. :-)


Thanks for the words of support.  I am just looking to have a poke around ( sorry for the pun).  But you never know how far I get into this.  Loved to do all sorts of wierd and wonderful things on the Amsrtrad as had all the manuals for all the chips.
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: Which Assembler?
« Reply #19 on: October 12, 2009, 12:26:07 PM »
Quote from: JJ;525647
Where would I get these.  I am guessing they are commercial ?

No, free and open source.

http://aminet.net/package/dev/asm/AsmPro
http://aminet.net/package/dev/asm/ASM-One

Edit: And again, if you need help getting started, the forums at http://ada.untergrund.net are great.
« Last Edit: October 12, 2009, 12:28:08 PM by xeron »
Playstation Network ID: xeron6
 

Offline jjTopic starter

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4052
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: Which Assembler?
« Reply #20 on: October 12, 2009, 12:28:27 PM »
Thanks
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline pmc/Retro

  • Newbie
  • *
  • Join Date: Sep 2009
  • Posts: 13
    • Show only replies by pmc/Retro
    • http://retro.untergrund.net
Re: Which Assembler?
« Reply #21 on: October 12, 2009, 02:27:02 PM »
Quote from: JJ

Thanks for the words of support. I am just looking to have a poke around ( sorry for the pun). But you never know how far I get into this.

No worries guy :-) The main thing is to enjoy yourself - just do that to start with and let the journey take you where it will. :-)
 
By the way, if you'd like to try Devpac it's available around online if you know where to look or I can send you a copy. I actually bought it back in the day so I can send you .adf images or real disks, whatever you need. :-)
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: Which Assembler?
« Reply #22 on: October 12, 2009, 08:13:22 PM »
Quote from: Phx_;525632

There is always somebody with a newer beta. ;)


Mine was only like 2 days old too :).

The newest vasm v1.4b (beta) is here...

http://www.heywheel.com/matthey/Amiga/vasm14b.lha

I also updated my ced scripts that assemble with vasm and PhxAss to use vlibos3: assign instead of lib: assign. Now all that is needed for vasm script is to install vbbc and copy the scripts to REXX:. The PhxAss script will also need PhxAss and PhxLnk copied to C: or vbcc:bin. Then go to CygnusEd menu "Special->DOS/ARexx interface->Install DOS/ARexx command..." and type the function key number and then the name of the script in. Then when everything is set, select Save DOS/ARexx Commands in the same sub menu.

I got the -Fhunkexe working but I didn't use it for the ARexx scripts because I have amiga.lib look up function offsets. Vasm is more compatible with the linker.
 

Offline Joloo

Re: Which Assembler?
« Reply #23 on: October 18, 2009, 08:42:57 PM »
A little late, but better late than never... :)

Quote

@pmc/Retro
That's really interesting to me guys - with all the people using AsmOne I've spoken to I thought I must be one of the only guys around still using Devpac.

Perhaps, in that case, use of Devpac is less a British thing like I suspected and it's more just that demo coders mainly use AsmOne. Probably for the very reason you gave matthey - expense - when most of the demo guys started coding stuff as teenagers in their bedrooms way back when they would've used whatever was available easiest and cheapest I suppose...


Yes, that makes sense.
Although I was one of those, who were able to purchase Devpac (1 and 2) I never did.
I sticked with Seka. The illegal copies of Devpac (1 and 2) I obtained at copy-parties were not comparable with Devpac3. Devpac3 was the assembler which I had to have after I illegally copied it! Because it was nowhere to purchase (not store had it) I wrote a letter to HiSoft in 1992. For 71 £ plus shipping cost I got it - and I have never regretted it!


Quote

@xeron
Hmm.. interesting. I thought nobody used DevPac any more. Certainly in the Amiga demoscene, Asm-One and Asm-Pro are pretty much "the standard".


As Frank (Phx) pointed out, who could afford Devpac3 purchased it.
If I am not mistaken, AsmOne / AsmPro are successors of K-Seka. Clones of K-Seka were used in the 80ths by any demo/intro coder because they were the fastest assemblers available (although all were illegal; K-Seka was the source and disassembled and enhanced in order to produce a clone). Where the duo 'ASSEM' (MetaComCo) and 'Alink' would require more than two minutes to build the executable, K-Seka (I used MasterSeka) required just three seconds. Unfortunately, not one K-Seka clone was conforming with the Motorola syntax, nor they did allow to generate linkable code (K-Seka's link command was just a bad joke). So source codes written and successfully assembled with 'ASSEM' didn't work under K-Seka and clones.
And the same happened with Devpac. Source codes created with Devpac3 couldn't be assembled by using AsmOne / AsmPro nor vice versa, at least not in those times when I tried them. Frankly, even AsmOne / AsmPro would have worked I wouldn't have stopped using Devpac3. I was only curious at these times.


Quote

@matthey
The newest vasm v1.4b (beta) is here...


Not entirely correctly anymore since Frank has since yesterday a new version available (1.4c).
As I already told, he is always very busy. :)

By the way. The official release of 'vbcc 0.9a' (yesterday) does not contain it.


Quote

@matthey
I got the -Fhunkexe working but I didn't use it for the ARexx scripts because I have amiga.lib look up function offsets. Vasm is more compatible with the linker.


Hmm, I never used the 'amiga.lib' in conjunction with any assembler. Because Devpac, which I used in the past, came with all '..._lib.i' files, I used them. And now that I am using 'vasm', I am still using these '...._lib.i' files for 'vasm'. No problems at all.
By the way, I didn't use the 'amiga.lib' for my projects because I don't like relocation data in my executable. If possible, the codes I built using assemblers were PC-relativ and often reentrant, too.
 

Offline Moto

  • Full Member
  • ***
  • Join Date: Sep 2009
  • Posts: 146
    • Show only replies by Moto
Re: Which Assembler?
« Reply #24 on: October 18, 2009, 11:13:31 PM »
I used to use k-seka.  Great assembler!  I used it to code demos and was working on an amiga version of bolo back in the day.  That thing was so amazingly fast.
500, 1200, 4000T
 

Offline Lando

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 1390
    • Show only replies by Lando
    • https://bartechtv.com
Re: Which Assembler?
« Reply #25 on: October 18, 2009, 11:51:01 PM »
I started off back in 92 or so with Devpac 3, and I loved it. Then I switched to AsmPro when I came back to Amiga in 2001.  I still much prefer Devpac and only really used AsmPro due to my inability to get a hold of Devpac 3 disks back in the day.  AsmPro is fine, nothing against it, I just found Devpac's editor much better, and more professional.
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: Which Assembler?
« Reply #26 on: October 19, 2009, 05:48:27 AM »
Quote from: Joloo;526436

By the way. The official release of 'vbcc 0.9a' (yesterday) does not contain it.


Thanks for the info on the new vbcc release. I posted info on utility.com.

Quote

Hmm, I never used the 'amiga.lib' in conjunction with any assembler. Because Devpac, which I used in the past, came with all '..._lib.i' files, I used them. And now that I am using 'vasm', I am still using these '...._lib.i' files for 'vasm'. No problems at all.
By the way, I didn't use the 'amiga.lib' for my projects because I don't like relocation data in my executable. If possible, the codes I built using assemblers were PC-relativ and often reentrant, too.


I don't use the amiga.lib link functions either. I just use it to look up the function offsets. It would have the latest function offsets compared to your lib.i files. There is nothing wrong with including the lib.i files though. It's probably faster although I can assemble and link just about anything almost instantly.
 

Offline Sig999

  • Full Member
  • ***
  • Join Date: Feb 2008
  • Posts: 153
    • Show only replies by Sig999
Re: Which Assembler?
« Reply #27 on: October 19, 2009, 07:31:15 AM »
I don't think there is a best assembler - I guess whatever you can get, that you're happy with, and within your pricerange is the best.

Personally I use Devpac. I got it off a coverdisk back in the day, as did a few of my friends. We started learning together, so it was convenient.

I tried a couple of others, but by then I was familiar and comfortable with Devpac.  When I decided to buy - I bought Devpac 3.  No other reasons really - it was what I was, and still am comfortable with on the Amiga.

I think the days of assembler/language snobbery are well behind us at this point. Most coders have left for other pastimes or greener pastures. Anyone wanting to start something new, in assembly, C, E, Blitz, even Amos is to be commended and supported as far as I'm concerned.

Shop around, hunt around, try things out, and choose what gives you a pleasant experience.
 

Offline Phx_

  • Newbie
  • *
  • Join Date: Nov 2003
  • Posts: 7
    • Show only replies by Phx_
    • http://home.owl.de/~frank/
Re: Which Assembler?
« Reply #28 from previous page: October 19, 2009, 10:00:46 AM »
Quote from: Joloo;526436

By the way, I didn't use the 'amiga.lib' for my projects because I don't like relocation data in my executable. If possible, the codes I built using assemblers were PC-relativ and often reentrant, too.

When you use amiga.lib just to resolve the LVOs, as matthey did, there will be no new relocations, because an LVO is an absolute symbol.