English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 29 June 2017, 09:48   #21
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,335
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...
meynaf is offline  
Old 29 June 2017, 18:53   #22
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,803
"ON N' EST JAMAIS SI BIEN SERVI QUE PAR SOI-MÊME" )
Kamelito
kamelito is offline  
Old 29 June 2017, 19:09   #23
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,479
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
ross is offline  
Old 29 June 2017, 19:30   #24
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,335
If i ever write an asm it'll be command-line, even though i'm already using my own debugger since years.
meynaf is offline  
Old 29 June 2017, 19:42   #25
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,479
Quote:
Originally Posted by meynaf View Post
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
ross is offline  
Old 29 June 2017, 19:47   #26
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,342
Quote:
Originally Posted by meynaf View Post
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?
idrougge is offline  
Old 29 June 2017, 20:36   #27
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,335
Quote:
Originally Posted by ross View Post
[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 View Post
Have you tried ProAsm?
No, i haven't.
meynaf is offline  
Old 29 June 2017, 20:49   #28
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,797
Quote:
Originally Posted by StingRay View Post
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
Thorham is offline  
Old 29 June 2017, 21:44   #29
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by Thorham View Post
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.
StingRay is offline  
Old 29 June 2017, 22:19   #30
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
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.
demolition is offline  
Old 29 June 2017, 23:05   #31
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,510
Quote:
Originally Posted by demolition View Post
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...
phx is offline  
Old 30 June 2017, 07:54   #32
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by demolition View Post
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.
StingRay is offline  
Old 30 June 2017, 08:39   #33
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
Quote:
Originally Posted by phx View Post
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...
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 View Post
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).
demolition is offline  
Old 30 June 2017, 10:07   #34
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,335
Quote:
Originally Posted by idrougge View Post
Have you tried ProAsm?
Ok i've taken the time to check it and (as expected ) 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 View Post
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
meynaf is offline  
Old 30 June 2017, 10:29   #35
a/b
Registered User
 
Join Date: Jun 2016
Location: europe
Posts: 1,043
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.
a/b is offline  
Old 30 June 2017, 10:41   #36
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,479
Quote:
Originally Posted by a/b View Post
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
ross is offline  
Old 30 June 2017, 10:46   #37
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by a/b View Post
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 View Post
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.
StingRay is offline  
Old 30 June 2017, 12:48   #38
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,510
Quote:
Originally Posted by demolition View Post
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 is offline  
Old 30 June 2017, 12:53   #39
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,510
Quote:
Originally Posted by StingRay View Post
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).
phx is offline  
Old 30 June 2017, 15:21   #40
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by demolition View Post
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
matthey is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
AsmOne installation lunecat Coders. General 1 19 September 2015 00:05
Linker to use with AsmOne (68000) nandius_c Coders. Asm / Hardware 10 10 December 2014 11:53
Playing around with AsmOne on Winuae.. jimmy2x2x Coders. Asm / Hardware 13 18 November 2014 18:22
AsmOne: Undefined symbol copse Coders. Asm / Hardware 2 02 April 2012 01:41
AsmOne even directive...? pmc Coders. General 30 04 December 2009 09:33

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


All times are GMT +2. The time now is 22:37.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11147 seconds with 14 queries