11 August 2014, 17:17 | #21 |
Registered User
Join Date: Sep 2008
Location: Gainesville U.S.A.
Posts: 771
|
Here is my little laundry list of stuff. V1.7 no longer assembles the Solid Gold game. V1.6c is OK
Code:
vasmm68k_mot -Fvobj -quiet -x -DCOPPERBACK -DBOOTLOGO -DKILLOS -DTDFORMAT -I /ND K_3.9/Include/include_i -o font.o font.asm error 2030 in line 251 of "font.asm": displacement out of range > lea -MENUFONT16W>>3(a1,d0.w),a2 make: *** [font.o] Error 1 C:\wsg> |
12 August 2014, 16:36 | #22 | ||
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,545
|
Quote:
But, I have to admit that I'm no longer convinced that this is an improvement. I am open to hear the opinion of other 68k coders. Quote:
The size of a data block atom in vasm in stored using the taddr (target address) type, which is only 16-bit signed for 6502. Maybe I should just use int or size_t for that. Will think about it. |
||
12 August 2014, 18:30 | #23 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,844
|
Quote:
|
|
12 August 2014, 18:52 | #24 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
What Thorham said. I'd expect signed shift to be default behaviour though.
Slightly OT: Thanks for the vasm TOS module, works great and I put it to good use for my Enduro Racer conversion! |
14 August 2014, 16:18 | #25 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,545
|
Ok, I reverted the change of V1.7, so right-shifts are signed again.
They will be unsigned in only two cases: - the new option -unsshift was specified - full Devpac compatibility mode (-devpac option) Quote:
The Atari scene uses vasm frequently as a cross-assembler, so I implemented TOS-support many years ago. |
|
14 August 2014, 18:58 | #26 | |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quote:
Well, meanwhile I got sidetracked and coded 3 demo effects for the ST using vasm! Since there is no ASM-One for Ataris and I hate Devpac with a passion I really didn't have much motivation for ST demo coding the last years, however, now that I tried vasm I can say it is extremely useful and makes cross-development really easy. Thanks again! |
|
21 August 2014, 19:46 | #27 |
Registered User
Join Date: Jul 2014
Location: Warsaw/Poland
Posts: 195
|
Hi Phx, first of all thanks for TOS and Devpac support in VASM. I use it since 2011 I am happy with it.
Well, back to my subject. I faced an issue with relocation and I'd like to report it. Where can I do that? Maybe is there any mailing list or dedicated forum? |
22 August 2014, 23:35 | #28 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,545
|
Bug reports always directly to me, by email.
There is no mailing list. I rarely get more than one vasm-related mail per day, which I can easily handle. |
23 August 2014, 02:30 | #29 |
Registered User
Join Date: Jul 2014
Location: Warsaw/Poland
Posts: 195
|
ok, just sent to phoenixowl
|
28 March 2016, 00:48 | #30 |
Registered User
Join Date: Sep 2008
Location: Gainesville U.S.A.
Posts: 771
|
phx, I hope you can help me. V1.7e is behaving differently from what I am used to. All I need is a dependable way to retrieve the program ORG value. This has worked going back some time. Red text is all that is touched. Of course the aout produced in all cases is fine.
output_bin.c Code:
} else pc = ULLTADDR(s->org); /*asm ("int $3");*/ printf ("%x",pc); 1.7c Code:
c:\vasm>vasmm68k_mot -Fbin \100.asm vasm 1.7c (c) in 2002-2015 Volker Barthelmann vasm M68k/CPU32/ColdFire cpu backend 2.0f (c) 2002-2015 Frank Wille vasm motorola syntax module 3.8 (c) 2002-2015 Frank Wille vasm binary output module 1.8 (c) 2002-2009,2013,2015 Volker Barthelmann seg100(acrwx2): 278 byte 100 Code:
c:\vasm>vasmm68k_mot -Fbin \100.asm vasm 1.7e (c) in 2002-2016 Volker Barthelmann vasm M68k/CPU32/ColdFire cpu backend 2.1 (c) 2002-2015 Frank Wille vasm motorola syntax module 3.9 (c) 2002-2016 Frank Wille vasm binary output module 1.8 (c) 2002-2009,2013,2015 Volker Barthelmann CODE(acrx2): 278 byte 0 Code:
c:\vasm>vasm6502_oldstyle -Fbin \nop.asm vasm 1.7e (c) in 2002-2016 Volker Barthelmann vasm 6502 cpu backend 0.7a (c) 2002,2006,2008-2012,2014-2015 Frank Wille vasm oldstyle syntax module 0.12e (c) 2002-2016 Frank Wille vasm binary output module 1.8 (c) 2002-2009,2013,2015 Volker Barthelmann seg100(acrwx1): 2 byte 100 Last edited by clenched; 28 March 2016 at 01:52. |
28 March 2016, 09:47 | #31 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,370
|
Can someone zone a working Windows binary version ? I'd like to try that
Being a developper myself, I really don't understand why everyone want to build their own version with such or such compiler really, except if you want to change things to the code (which is risky) I suppose a lot of people use windows and cannot use stuff because of stupid recompilation. Vamos is another example, with cython, different versions of C for python compiler and I'm stuck with various error messages, whereas someone could successfully build it for windows... (thanks for this and phxass!) Last edited by jotd; 28 March 2016 at 09:54. |
28 March 2016, 12:48 | #32 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,545
|
Quote:
So, I'm doing the following now: Whenever ORG follows a SECTION directive (or CODE, or DATA, etc.), then it works like in V1.7e, and the absolute code is embedded in that section. Otherwise I'm switching to the absolute section mode like in V1.7d and before. Try the following patch (or wait until tomorrow's snapshot): Code:
--- syntax/mot/syntax.c 2 Jan 2016 16:57:07 -0000 1.156 +++ syntax/mot/syntax.c 28 Mar 2016 10:39:58 -0000 @@ -12,7 +12,7 @@ be provided by the main module. */ -char *syntax_copyright="vasm motorola syntax module 3.9 (c) 2002-2016 Frank Wille"; +char *syntax_copyright="vasm motorola syntax module 3.9a (c) 2002-2016 Frank Wille"; hashtable *dirhash; char commentchar = ';'; @@ -495,8 +495,12 @@ else syntax_error(7); /* syntax error */ } - else - start_rorg(parse_constexpr(&s)); + else { + if (current_section!=NULL && !(current_section->flags & ABSOLUTE)) + start_rorg(parse_constexpr(&s)); + else + set_section(new_org(parse_constexpr(&s))); + } } |
|
28 March 2016, 16:20 | #33 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,370
|
Source is great by all means. Well, someone should provide the windows port. I can try if other people have the same need. After all windows is a widely spread platform.
|
28 March 2016, 16:41 | #34 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Here's the latest version of the whole VBCC tool chain, with the above patch, and GNU Make 3.82. The binaries should run on Windows XP and all later versions.
Last edited by Leffmann; 02 September 2017 at 11:13. |
28 March 2016, 19:11 | #35 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,545
|
Quote:
Tack så mycket! Much appreciated. |
|
28 March 2016, 19:34 | #36 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,370
|
That's just great!! If someone can compile VAMOS for windows too that would just be even greater
|
28 March 2016, 20:50 | #37 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,847
|
I did that but had to reinstall so it's lost
I remember a weird issue with 64bit, in order to build it you needed another file not available in the tools provided. Kamelito |
28 March 2016, 21:44 | #38 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Extract this into the amitools directory, and add amitools/ to your path. If it doesn't work then you will have to build the Musashi DLL on your own system.
Last edited by Leffmann; 02 September 2017 at 11:13. |
28 March 2016, 22:36 | #39 |
Registered User
Join Date: Sep 2008
Location: Gainesville U.S.A.
Posts: 771
|
Thank you phx. It's back to working just the way I like it.
|
19 April 2016, 22:46 | #40 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,370
|
Thanks leffman, but I really don't get the @py -2 "%~dp0\geotool" %* command line.
py is not a valid command, -2 is not a valid python option. the rest I understand... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
vasm and word alignment | Den | Coders. Asm / Hardware | 9 | 07 February 2014 11:25 |
Help linking VASM object code | clenched | Coders. Asm / Hardware | 2 | 24 May 2013 22:32 |
vasm fsincos | dalton | Coders. Asm / Hardware | 4 | 03 September 2012 10:35 |
vasm 1.5 RFC | phx | Coders. General | 30 | 11 December 2010 02:08 |
Win32 Game Ports? | BobRedthorp | Retrogaming General Discussion | 11 | 03 August 2003 13:56 |
|
|