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: Ft. Collins, CO USA
Age: 45
Posts: 1,488
Send a message via Yahoo to Samurai_Crow
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: 1,690
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: Ft. Collins, CO USA
Age: 45
Posts: 1,488
Send a message via Yahoo to Samurai_Crow
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  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Acuario 2018 OS3-OS4-MOS-WIN AMIGASYSTEM News 4 23 June 2020 12:53
ModExplorer V1.0 OS3/OS4/MOS AMIGASYSTEM News 83 06 June 2020 22:44
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 18:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.06472 seconds with 15 queries