![]() |
![]() |
#21 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 852
|
|
![]() |
![]() |
#22 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,839
|
|
![]() |
![]() |
#23 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
First I'm often writing :
Code:
macro name Code:
name macro Requires cachefile.library or it will refuse to assemble (phxass does not need any lib). I do *not* want to see that flooding the output when assembling my cpu test routines : Warning 542: You use a supervisor command. Warning 541: You should be aware of the Move16 problems. Code:
bra.s tc Barfly does not support the EQURL directive. I don't think this is really PhxAss specific. Of course it does not support the BASEREG directive, which is a must have for me (and no, offsets won't save me because i sometimes do var instead of var(a5) when a5 isn't available). It also can't convert short branches into long branches when they don't fit (or at least it doesn't do this by default). I don't know how to give it a config file like PHXOPTIONS does, which would tell it where to fetch my framework include files. And finally the best one, enough by itself to throw the program in the bin : Error 87: Demo limitation. If you like this product please registrate. I got Barfly 2.00 from Aminet and checked my sources quite superficially to find this. More problems certainly exist... Last edited by meynaf; 23 November 2015 at 08:44. |
![]() |
![]() |
#24 | ||||
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 852
|
"super"
"opt wm-" Quote:
Quote:
Quote:
Quote:
But I thought the Aminet version was unlimited? It seems my version is more recent as it is 2.17. |
||||
![]() |
![]() |
#25 | |||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
May i put that in some config file so that i don't have to use them in every source ?
Quote:
Allows automatic register-relative access. Like this : Code:
basereg zbss,a5 lea zbss,a5 move.l var2(a5),d0 bss zbss var1 ds.l 1 var2 ds.l 1 var3 ds.l 1 Quote:
This : Code:
bra.s label ds.w $100 label Error 56: The Argumentvalue is larger than the operand width. Quote:
Seems it's not. Basm says version 2.9. Where to fetch a more recent one ? Preferably the latest ? |
|||
![]() |
![]() |
#26 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,839
|
Quote:
Anyway, I'm not trying to convert you. I just like Barfly because of it's speed. |
|
![]() |
![]() |
#27 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Quote:
Is this lib used for other programs beside barfly ? If not, i don't see the point in doing a .library. It's not a big deal for a program that has its own dir and the lib can be just sitting here. But basm should be callable from everywhere and ideally sitting in C: (the amiga's regular command dir). Can't check because my large code won't assemble, but i wouldn't bet. It may be possible that phxass is indeed faster and then your choice loses its sole purpose... |
|
![]() |
![]() |
#28 | |||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,839
|
Quote:
Probably not. I think it's part of the include cache mechanism. Of course, the program could just generate a library in memory. Quote:
Quote:
I also like Barfly because it feels nicer than Phxass ![]() |
|||
![]() |
![]() |
#29 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Quote:
For me it's the opposite. But i am not especially attached to phxass. It's just that no other asm does the job (vasm is the only other asm that can assemble my code, but it is too slow and memory hungry for practical use). |
|
![]() |
![]() |
#30 | |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 852
|
Quote:
bopt wm-,O+,OG+,wo- Sorry, don't know. I got mine from laire so I'm not gonna spread without knowing status. |
|
![]() |
![]() |
#31 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Seems so. But basereg allows the starting point anywhere in the section.
I'm usually having two baseregs on the same register : one for the app, one for my included framework. Thus both can have access to 64k. Quote:
Can that guy be contacted ? One day or another i'll write my own asm program. Unsure it will be for 68k, though. |
|
![]() |
![]() |
#32 | ||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,839
|
Quote:
1. Basereg -> Define a structure. 2. Regsiter lists -> Define a macro. Many things are just conveniences. _MOVEMBYTES is handy for passing parameters using the stack and _MOVEMREGS is useful if you used a register list as a macro parameter and want to use the same register list in another macro without having to specify it again. Typical how that works ![]() Quote:
|
||
![]() |
![]() |
#33 | ||
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Can't do that. It wouldn't work for a direct access.
IOW, I'm pretty sure i have quite a few move.l label,a0 which would be converted without warning into things like move.l $8,a0. Besides, a structure is defined prior to use, not at the end like the bss. Could be done. It's the little things that add together... Who does that in asm ? ![]() Anyway if there is another MOVEM in the routine, you're in big trouble. Quote:
![]() Quote:
Another problem is this : Error 43: You can't use this char combination in a symbol. So barfly, too, rejects accentuated characters in symbols, which is a very big annoyance for a french coder like myself. I bugged Frank Wille quite a lot to get support for that in Vasm, btw. |
||
![]() |
![]() |
#34 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
I doubt that's the case, but if it is then it's hardly something speaking against basm. A software consisting of 4 MB source code may be a merit, but 4 MB source code in a single file is just a case of "you're doing it wrong".
Anyway, I know of at least 1 bug in Basm 2.9 from Barfly 2.0, and there should be at least a Basm 2.16 available, and a Barfly 2.9 package, but I don't know if it's possible to find Ralph Schmidt to get hold of these. |
![]() |
![]() |
#35 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Apparently you have never resourced a large program, huh ?
|
![]() |
![]() |
#36 | ||||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,839
|
Quote:
Code:
a lea bssdat,a0 move.l #$12345678,var1(a0) rts section bss rsset 0 var1 rs.l 1 var2 rs.l 1 var3 rs.l 1 sizeOf_bss rs.l 0 bssdat ds.b sizeOf_bss That's true. After all, we're not writing everything in hex anymore. What's wrong with it? Quote:
Code:
label set _MOVEMBYTES Quote:
Quote:
|
||||
![]() |
![]() |
#37 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Quote:
Code:
basereg bssdat,a5 lea bssdat,a5 move.l #$12345678,var1(a5) rts interrupt_routine addq.l #1,var1 rte bss var1 ds.l 1 var2 ds.l 1 var3 ds.l 1 Seems not, as it's that version which got the message. |
|
![]() |
![]() |
#38 | ||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,839
|
Quote:
Quote:
That's strange because I just tried it with a one megabyte test source in WinUae. I simply made a partition out of the Barfly directory and booted with that. Then copied that big source into the directory and assembled. Worked fine. Perhaps an older Barfly is still in C:? The version on Aminet really should be the registered version. |
||
![]() |
![]() |
#39 | |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
Quote:
Anyway, you probably have a more advanced version than the one on aminet, haven't you ? |
|
![]() |
![]() |
#40 | |||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,839
|
Quote:
Quote:
Quote:
Something strange is happening for sure ![]() |
|||
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
4th tutorial on ASM- and HW-coding | Vikke | Coders. Asm / Hardware | 11 | 10 April 2013 20:32 |
3rd tutorial on ASM- and HW-coding | Vikke | Coders. Asm / Hardware | 6 | 26 March 2013 15:57 |
First tutorial on ASM- and HW-coding | Vikke | Coders. Asm / Hardware | 46 | 18 March 2013 12:33 |
2nd tutorial on ASM- and HW-coding | Vikke | Coders. Asm / Hardware | 10 | 17 March 2013 11:49 |
Coding for A500 / A1200 | helmut | request.Apps | 2 | 26 January 2012 15:55 |
|
|