English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. Asm / Hardware (https://eab.abime.net/forumdisplay.php?f=112)
-   -   AsmOne and/or AsmTwo (https://eab.abime.net/showthread.php?t=87716)

meynaf 29 June 2017 09:48

Most assemblers either choke on some 68020+ constructs or don't have a proper peephole optimizer, usually not able to optimize forward branches (and, no, altering the source isn't a good idea : it fails miserably with macros and conditional assembly).
Often some features I find very handy are't supported (e.g. basereg directive). Some integrated environments can be a little bit on the unstable side or are even less practical to use than mere command-line.

All in all, only PhxAss can do it for me, despite its numerous (but minor) bugs. Vasm would too if it weren't so slow and memory hungry.
Made me wonder if i shouldn't write mine...

kamelito 29 June 2017 18:53

"ON N' EST JAMAIS SI BIEN SERVI QUE PAR SOI-MÊME" :o)
Kamelito

ross 29 June 2017 19:09

Another saying: "Chi fa da sé fa per tre".

A new integrated environment (editor/linker/debugger) would definitely be the best.
But a long and hard work..

Bye!
ross

meynaf 29 June 2017 19:30

If i ever write an asm it'll be command-line, even though i'm already using my own debugger since years.

ross 29 June 2017 19:42

Quote:

Originally Posted by meynaf (Post 1168425)
If i ever write an asm it'll be command-line, even though i'm already using my own debugger since years.

Not that i dislike cli tool (on the contrary!) but for those approaching asm, or for some fast develop, integrated IDE is good.
[own debugger? it's public? just curious..]

Cheers,
ross

idrougge 29 June 2017 19:47

Quote:

Originally Posted by meynaf (Post 1168425)
If i ever write an asm it'll be command-line, even though i'm already using my own debugger since years.

Have you tried ProAsm?

meynaf 29 June 2017 20:36

Quote:

Originally Posted by ross (Post 1168436)
[own debugger? it's public? just curious..]

It's not public : it has no gui and is too much tailored to my own needs to be of any use for someone else.


Quote:

Originally Posted by idrougge (Post 1168441)
Have you tried ProAsm?

No, i haven't.

Thorham 29 June 2017 20:49

Quote:

Originally Posted by StingRay (Post 1168273)
Despite the bugs it's still fun to work with Asm-One and its incarnations as they allow a very fast workflow as everything needed is there, debugger, assembler, editor. Esc/a/j FTW! :)

But how can you stand the editor? It's so dreadful :(

StingRay 29 June 2017 21:44

Quote:

Originally Posted by Thorham (Post 1168470)
But how can you stand the editor? It's so dreadful :(

The editor does its job pretty fine. Any important features are available. I don't need any full-blown text editor for asm coding so the editor of ASM-One/Pro works fine for me.

demolition 29 June 2017 22:19

As a 68k asm newb, I tried both Asm-Pro and Asm-One but could not easily spot the difference, so I am not sure which one I should start with if I wanted to learn some 68k programming. And when you add PhxAss and Vasm into the mix, it becomes even more complicated. Would be much easier if people could just point to one which is universally accepted as being the best but things are never so simple..

For C64 assembly I prefer cross-assembling on the PC, but still haven't made up my mind if I want to go the same route with Amiga. Guess I won't find out for sure until I try it out. The relationship you have with an editor can be very personal and sometimes the chemistry is just wrong. :)

phx 29 June 2017 23:05

Quote:

Originally Posted by demolition (Post 1168500)
Would be much easier if people could just point to one which is universally accepted as being the best but things are never so simple..

Indeed. It's impossible, because every assembler has other strengths, and every developer puts her or his focus on something else. It's a personal decision everytime.
  • AsmOne/Pro for the IDE, with quick testing and debugging. Probably useful for beginners. Not so good for bigger projects, which require Makefiles and linking.
  • Barfly and PhxAss are optimal on low-end hardware, because they assemble very fast and require only few resources.
  • Devpac is *the* reference m68k assembler for Amiga and Atari and many other platforms (e.g. regarding supported directives). Has an IDE too, but works better without, IMHO.
  • vasm may be the best solution for cross-assembling. Below a 060-machine you won't have much fun. Offers Devpac and PhxAss compatibility modes. Also includes some AsmOne directives. The only one still in development.
Also note that that my opinion may be biased, being the author of PhxAss and vasm... :p

StingRay 30 June 2017 07:54

Quote:

Originally Posted by demolition (Post 1168500)
As a 68k asm newb, I tried both Asm-Pro and Asm-One but could not easily spot the difference, so I am not sure which one I should start with if I wanted to learn some 68k programming.

For the beginning they are both fine and you can simply use either of them, the differences between ASM-One and ASM-Pro will only be important once you're a bit more experienced. The only exception here is if you work with RTG screens, then you should use ASMPro as it has much better RTG support than ASM-One.

demolition 30 June 2017 08:39

Quote:

Originally Posted by phx (Post 1168524)
Vasm may be the best solution for cross-assembling. Below a 060-machine you won't have much fun. Offers Devpac and PhxAss compatibility modes. Also includes some AsmOne directives. The only one still in development.Also note that that my opinion may be biased, being the author of PhxAss and vasm... :p

That also means support is close at hand. :)
Sounds to me like my choice would be AsmPro/One for working on the Amiga and Vasm for cross-assembling.
Does Vasm also include a linker to run on the PC and does it work well with objects from, say, common Amiga C compilers or maybe GCC with 68k target on PC?

Quote:

Originally Posted by StingRay (Post 1168627)
For the beginning they are both fine and you can simply use either of them, the differences between ASM-One and ASM-Pro will only be important once you're a bit more experienced. The only exception here is if you work with RTG screens, then you should use ASMPro as it has much better RTG support than ASM-One.

Very good point, so I should not bother with Asm-One since I would mainly be using it on an RTG display (Vampire).

meynaf 30 June 2017 10:07

Quote:

Originally Posted by idrougge (Post 1168441)
Have you tried ProAsm?

Ok i've taken the time to check it and (as expected :D) it does not suit my needs (not to mention it's shareware and does not seem developed anymore).
From superficial test :
- does not "unoptimize" (= enlarge branches that are out of range ; instead, reports an error)
- no way to adapt code to target processor (something like __CPU to test with if/endc)
- basereg directive not implemented in the proper way
- chokes on accentuated characters in labels
- does not support offset sections
(etc, etc)


Quote:

Originally Posted by demolition (Post 1168500)
The relationship you have with an editor can be very personal and sometimes the chemistry is just wrong. :)

This is true for assemblers as well :agree

a/b 30 June 2017 10:29

Having started my journey in monitor49152 on C64, there is no better place than home, I mean asm-one ;P.
I find its IDE so beneficial to my coding style&habbits and what I'm doing that it surpases anything else I've tried. My progression was seka => trash'em-one => asm-one.
But as already stated, if you are doing larger multi-file multi-language stuff you are better off with something else.
Yeah, it has bugs but nothing major for me. Some ~20 years ago when Price was in charge I sent bug resports and stuff was fixed. Is the project still alive? I haven't contacted Boushh, and it's been like 10 years since the last update.
Would be great to see it get open sourced >< so I could hopefully fix some of the stuff.

ross 30 June 2017 10:41

Quote:

Originally Posted by a/b (Post 1168652)
Having started my journey in monitor49152 on C64, there is no better place than home, I mean asm-one ;P.

typed sys 49152 a billion times ;)

StingRay 30 June 2017 10:46

Quote:

Originally Posted by a/b (Post 1168652)
I find its IDE so beneficial to my coding style&habbits and what I'm doing that it surpases anything else I've tried.

Same for me. :)

Quote:

Originally Posted by a/b (Post 1168652)
My progression was seka => trash'em-one => asm-one.

Seka, MasterSeka, ASM-One, Trash'm-One, ASM-One again (1.2x versions), ASM-Pro in my case.

Quote:

Some ~20 years ago when Price was in charge I sent bug resports and stuff was fixed. Is the project still alive?
I also sent bug reports and feature suggestions to both Price and Boushh and had nice conversations with both of them, they also fixed quite a few bugs I reported. ASM-One development seems dead these days but you never know, maybe Boushh has been working on the ultimate ASM-One version for the last 10 years. ;)


Quote:

Would be great to see it get open sourced >< so I could hopefully fix some of the stuff.
Original source of ASM-One (by Promax) is available, ASM-Pro has been open sourced as well but it is not exactly easy to maintain a very large source which mostly consists of disassembled stuff.

phx 30 June 2017 12:48

Quote:

Originally Posted by demolition (Post 1168631)
Does Vasm also include a linker to run on the PC

The portable linker, vlink ( http://sun.hasenbraten.de/vlink/ ) is a separate open source project. Vasm usually outputs object files in various formats, or raw binaries. For Amiga-Hunk and Atari-TOS it can also directly generate executables, so no linker would be needed.

Quote:

and does it work well with objects from, say, common Amiga C compilers or maybe GCC with 68k target on PC?
Yes. All common object file formats are supported by vasm and vlink.

phx 30 June 2017 12:53

Quote:

Originally Posted by StingRay (Post 1168655)
Seka, MasterSeka, ASM-One, Trash'm-One, ASM-One again (1.2x versions), ASM-Pro in my case.

Probably everybody, who owned an Amiga early enough, had to start with Seka. I cannot remember any other assembler in 1986/87. :)

I started with Seka too, but proceeced over A68k to PhxAss (first versions were assembled by A68k).

matthey 30 June 2017 15:21

Quote:

Originally Posted by demolition (Post 1168631)
Very good point, so I should not bother with Asm-One since I would mainly be using it on an RTG display (Vampire).

If you have a Vampire with RTG, then you have enough performance and memory for vasm. It is probably easiest to install the vbcc compiler as you will get vasm and vlink.

http://sun.hasenbraten.de/vbcc/

Then find an editor of your liking, preferably with ARexx (I use CED) and use the BDebug debugger which is in the Barfly package for a power users 68k development environment from the start ;).

http://aminet.net/dev/asm/BarflyDisk2_00.lha


All times are GMT +2. The time now is 12:19.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.06145 seconds with 10 queries