English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General > Coders. Releases

 
 
Thread Tools
Old 21 July 2024, 21:08   #41
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,564
Quote:
Originally Posted by hitchhikr View Post
There's a small catch, the last padding word of the header can't be 0 or the OS will reject it, any other value will do.
Wow! Exactly like the Atari-header again. A non-zero value in the last word means that the program is not relocated!

Maybe Digital Research (DRI) was providing development tools on both 68k systems?

Quote:
Here's a small hand crafted .z which the OS will happily run at address $100000:
Thanks. The easiest and most logical approach was to include z-file support in the TOS output module (
-Ftos
). With tomorrow's vasm source snapshot you can use option
-zfile=<address>
to make the TOS module write an absolute z-file, already relocated for the given address.
phx is offline  
Old 21 July 2024, 21:42   #42
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 544
There are some more similarities, like the BIOS functions accessed via TRAPs instructions and the OS's via LINEF (compared to Atari's LINEA stuff).
hitchhikr is offline  
Old 22 July 2024, 08:11   #43
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 544
Ah, one more thing, i don't know if Vasm supports this but there's a feature i've seen in the x68000 official assembler and in an MS-DOS one used for MegaDrive games: the possibility to separate digits within numbers with an underscore, something like: %1111_0010_1000 or $12_34_56_78 (that feature is only made for visual help).
hitchhikr is offline  
Old Yesterday, 12:14   #44
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,564
Quote:
Originally Posted by hitchhikr View Post
the possibility to separate digits within numbers with an underscore, something like: %1111_0010_1000 or $12_34_56_78
Yes, I have seen that somewhere before, but it is really rare and I cannot say that I would use it.
Discussed that feature with Volker last night and he doesn't like it either. So, although it is easy to implement, we would currently not do it, unless there is relevant existing practice and some more requests for it from the community.
(Problem for me is that such a change in the expression parser affects all modules and always wastes some extra cylces to check for the underscore. So there must be a good reason.)

EDIT: In case we change our mind: can you provide a reference to the documentation for one of these assemblers? Are source texts otherwise compatible with vasm or would there be more incompatibilities?

Last edited by phx; Yesterday at 15:15. Reason: assembler docs
phx 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
Vasm freehand Coders. Asm / Hardware 2 25 November 2023 23:51
Question about XREF vs XDEF (vasm 1.8 vs vasm 1.9) roondar Coders. Asm / Hardware 8 01 May 2023 20:59
Vasm division by 0 Quagliarulo Coders. Asm / Hardware 4 27 July 2020 11:30
If statements with Vasm LaBodilsen Coders. Asm / Hardware 5 24 September 2019 17:55
vasm 1.5 RFC phx Coders. General 30 11 December 2010 02:08

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 01:12.

Top

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