English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System > Coders. Nextgen

 
 
Thread Tools
Old 21 January 2020, 06:57   #1
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 47
Posts: 1,883
ECX bootstrap codes on MOS and OS4 using VAsm

I'm in the process of starting a new fork of ECX, the AmigaE compiler for PPC and 68020+. I've run into a snag. The startup codes are bootstrapped in Assembly and I don't know what the settings should be for MorphOS and OS4 on VAsm.

I've already gotten the PAsm PPC sources massaged into VAsmPPC format and the AsmOne sources massaged into VAsm68k. What settings do I need to get the right object file formats? I know OS4 uses an ELF derivative. I think MorphOS does too for that matter. Yet the startup codes are different for OS4 and MorphOS.
Samurai_Crow is offline  
Old 28 January 2020, 21:43   #2
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,151
Sorry, missed that. For urgent questions use email.

Quote:
Originally Posted by Samurai_Crow View Post
I've already gotten the PAsm PPC sources massaged into VAsmPPC format and the AsmOne sources massaged into VAsm68k.
That was certainly already most of the work.

Is PAsm Sam Jordan's PPC assembler? I remember it used a kind of 68k Motorola syntax. Maybe compiling a vasmppc_mot with mot-syntax module would have made things easier.

Quote:
What settings do I need to get the right object file formats? I know OS4 uses an ELF derivative. I think MorphOS does too for that matter.
Correct. Just assemble with -Felf, so vasm outputs ELF object files.

Quote:
Yet the startup codes are different for OS4 and MorphOS
Of course. Two very different systems!
phx is offline  
Old 28 January 2020, 23:06   #3
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 47
Posts: 1,883
My question was answered on AmigaWorld.net by directing me to a tutorial on Morph.zone .

To make a long story short I found conditional Assembly for OS4 startup code by defining a macro from the command line. It builds ok but I still need to test it.

Thanks!
Samurai_Crow is offline  
Old 01 November 2021, 03:19   #4
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 47
Posts: 1,883
@phx
Hypexed found the PAsm sources on your website. It's one of your precursors to VAsm.

http://phoenix.owl.de/pasm.tar.gz

He has figured that ECX and therefore our EEC compiler require the object file be written in Extended HUNK format rather than ELF. VAsm doesn't appear to support that feature but now that I have PAsm, I'm reverting to the unmodified sources.

Last edited by Samurai_Crow; 01 November 2021 at 03:27.
Samurai_Crow 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
ModExplorer V1.0 OS3/OS4/MOS AMIGASYSTEM News 93 14 December 2021 23:32
Acuario 2018 OS3-OS4-MOS-WIN AMIGASYSTEM News 4 23 June 2020 12:53
myCatalog v3.3 OS3/OS4/MOS AMIGASYSTEM News 0 18 March 2019 23:53
SerialThing OS3/OS4/MOS AMIGASYSTEM News 1 16 March 2019 20:07
AMIcast Player OS3/OS4/MOS/AROS AMIGASYSTEM News 0 09 January 2019 15:52

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 17:15.


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