Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A bug in the code is worth two in the documentation.


devel / comp.sys.apple2.programmer / Re: OMF v1.0?

SubjectAuthor
* Re: OMF v1.0?geoff body
`* Re: OMF v1.0?fadden
 `* Re: OMF v1.0?geoff body
  `* Re: OMF v1.0?fadden
   `* Re: OMF v1.0?geoff body
    `* Re: OMF v1.0?geoff body
     +- Re: OMF v1.0?geoff body
     `* Re: OMF v1.0?fadden
      `- Re: OMF v1.0?geoff body

1
Re: OMF v1.0?

<d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=152&group=comp.sys.apple2.programmer#152

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:ad4:50c8:: with SMTP id e8mr11591365qvq.33.1634086415596;
Tue, 12 Oct 2021 17:53:35 -0700 (PDT)
X-Received: by 2002:a05:6830:2a0c:: with SMTP id y12mr22751055otu.377.1634086415354;
Tue, 12 Oct 2021 17:53:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Tue, 12 Oct 2021 17:53:35 -0700 (PDT)
In-Reply-To: <a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=110.148.134.130; posting-account=XojguQoAAACozqvhPts6p-mPk5q8-Q_8
NNTP-Posting-Host: 110.148.134.130
References: <222a4bef-ece6-4522-a4e3-9b299f476f2do@googlegroups.com>
<1c73843d-4c5e-49ef-8b87-709d2db0acddo@googlegroups.com> <1257a5e0-69ec-4150-99ee-9762fc59a9d0o@googlegroups.com>
<a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
Subject: Re: OMF v1.0?
From: gbo...@bigpond.com (geoff body)
Injection-Date: Wed, 13 Oct 2021 00:53:35 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 27
 by: geoff body - Wed, 13 Oct 2021 00:53 UTC

To anyone interested after having had a poke about MPW tool LinkIIgs there is a procedure check_header, the code is interesting with regard to revision field.
It appears that the revision field for version 2.X reuses the LCBANK field from OMF 1.0.

if ( *(Buf + 14) != 0x04
|| *(Buf + 32) != 0x00
|| *(Buf + 8) > 0x00FFFFFF
|| *(Buf + 24) > 0x00FFFFFF
|| *(Buf + 28) > 0x00FFFFFF
|| *(Buf + 36) > 0x00FFFFFF
|| *Buf < 48 )
{
fprintf(stderr, "%sBad Segment Header found in Segment $%hX in file \"%s\\r", );
fatal(2, 0);
}

else if (*(Buf + 15) < 0x01 || *(Buf + 15) > 0x02)
{
fprintf(stderr, "%sUnsupported OMF Version (%hX) found in Segment $%hX in file \"%s\"\r");
fatal(2, 0);
}
else
{
if ( *(Buf + 15) == 0x02)
{
if ( *(Buf + 33) > 0x01)
{
fprintf(stderr, "%sUnsupported OMF Revision (%hX) found in Segment $%hX in file \"%s\"\r",);
fatal(2, 0);

Re: OMF v1.0?

<c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=153&group=comp.sys.apple2.programmer#153

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:ac8:7f82:: with SMTP id z2mr640609qtj.209.1634165665558;
Wed, 13 Oct 2021 15:54:25 -0700 (PDT)
X-Received: by 2002:aca:b58a:: with SMTP id e132mr10703383oif.52.1634165665212;
Wed, 13 Oct 2021 15:54:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Wed, 13 Oct 2021 15:54:25 -0700 (PDT)
In-Reply-To: <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.130.68.111; posting-account=UAtoeQoAAADrX7T-MHdWWRC4Fzf0dsLP
NNTP-Posting-Host: 24.130.68.111
References: <222a4bef-ece6-4522-a4e3-9b299f476f2do@googlegroups.com>
<1c73843d-4c5e-49ef-8b87-709d2db0acddo@googlegroups.com> <1257a5e0-69ec-4150-99ee-9762fc59a9d0o@googlegroups.com>
<a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com> <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com>
Subject: Re: OMF v1.0?
From: fad...@fadden.com (fadden)
Injection-Date: Wed, 13 Oct 2021 22:54:25 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
 by: fadden - Wed, 13 Oct 2021 22:54 UTC

On Tuesday, October 12, 2021 at 5:53:36 PM UTC-7, gbo...@bigpond.com wrote:
> It appears that the revision field for version 2.X reuses the LCBANK field from OMF 1.0.
[...]
> {
> if ( *(Buf + 15) == 0x02)
> {
> if ( *(Buf + 33) > 0x01)
> {
> fprintf(stderr, "%sUnsupported OMF Revision (%hX) found in Segment $%hX in file \"%s\"\r",);

Interesting... you think at some point the tools used the "undefined" (nee LCBANK) field to differentiate between v2.0 and v2.1 segments?

It doesn't appear to be nonzero in the v2.1 files I've looked at that were generated on a IIgs. Maybe someone thought it *might* be used and planned ahead?

Re: OMF v1.0?

<30a8b298-d278-4ff6-99b1-222b3394964en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=154&group=comp.sys.apple2.programmer#154

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a37:b06:: with SMTP id 6mr2064640qkl.352.1634170467736;
Wed, 13 Oct 2021 17:14:27 -0700 (PDT)
X-Received: by 2002:a9d:5a91:: with SMTP id w17mr344180oth.10.1634170467383;
Wed, 13 Oct 2021 17:14:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Wed, 13 Oct 2021 17:14:27 -0700 (PDT)
In-Reply-To: <c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=110.148.134.130; posting-account=XojguQoAAACozqvhPts6p-mPk5q8-Q_8
NNTP-Posting-Host: 110.148.134.130
References: <222a4bef-ece6-4522-a4e3-9b299f476f2do@googlegroups.com>
<1c73843d-4c5e-49ef-8b87-709d2db0acddo@googlegroups.com> <1257a5e0-69ec-4150-99ee-9762fc59a9d0o@googlegroups.com>
<a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com> <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
<c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <30a8b298-d278-4ff6-99b1-222b3394964en@googlegroups.com>
Subject: Re: OMF v1.0?
From: gbo...@bigpond.com (geoff body)
Injection-Date: Thu, 14 Oct 2021 00:14:27 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: geoff body - Thu, 14 Oct 2021 00:14 UTC


> It doesn't appear to be nonzero in the v2.1 files I've looked at that were generated on a IIgs. Maybe someone thought it *might* be used and planned ahead?

Do you have samples that you believe are OMF V2.1 files and where to find them?

Re: OMF v1.0?

<ed363206-80d9-4459-85ce-f2df5b9cd5c2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=155&group=comp.sys.apple2.programmer#155

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a37:bd06:: with SMTP id n6mr2840669qkf.509.1634187639276;
Wed, 13 Oct 2021 22:00:39 -0700 (PDT)
X-Received: by 2002:a9d:604:: with SMTP id 4mr674383otn.204.1634187638993;
Wed, 13 Oct 2021 22:00:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Wed, 13 Oct 2021 22:00:38 -0700 (PDT)
In-Reply-To: <30a8b298-d278-4ff6-99b1-222b3394964en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.130.68.111; posting-account=UAtoeQoAAADrX7T-MHdWWRC4Fzf0dsLP
NNTP-Posting-Host: 24.130.68.111
References: <222a4bef-ece6-4522-a4e3-9b299f476f2do@googlegroups.com>
<1c73843d-4c5e-49ef-8b87-709d2db0acddo@googlegroups.com> <1257a5e0-69ec-4150-99ee-9762fc59a9d0o@googlegroups.com>
<a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com> <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
<c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com> <30a8b298-d278-4ff6-99b1-222b3394964en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ed363206-80d9-4459-85ce-f2df5b9cd5c2n@googlegroups.com>
Subject: Re: OMF v1.0?
From: fad...@fadden.com (fadden)
Injection-Date: Thu, 14 Oct 2021 05:00:39 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 29
 by: fadden - Thu, 14 Oct 2021 05:00 UTC

On Wednesday, October 13, 2021 at 5:14:28 PM UTC-7, gbo...@bigpond.com wrote:
> Do you have samples that you believe are OMF V2.1 files and where to find them?

YankIt and the HardPressed PIF have OMF v2.1 segments. YankIt is here: https://fadden.com/apple2/dl/yanksrc.shk

I'm looking at the header with the SourceGen OMF conversion tool. For example:

BYTECNT $00e4f7 bytes
RESSPC $000000
LENGTH $00c962
undefined $00
LABLEN $00 variable length
NUMLEN $04 must be 4
VERSION $02 v2.1
BANKSIZE $010000
KIND $0000 Code
undefined $0000
ORG $000000 relocatable
ALIGN $000000 no alignment
NUMSEX $00 must be 0
undefined $00
SEGNUM $0002
ENTRY $000000
DISPNAME $0030
DISPDATA $0045
TEMPORG $000000
LOADNAME
SEGNAME

The only way to tell v2.0 from v2.1 is by looking at DISPNAME. If it's 44 ($2c) then it's a v2.0 header, if it's greater than that then it has additional fields (TEMPORG). LCBANK is the undefined field after NUMSEX, but it always seems to hold zero.

Re: OMF v1.0?

<186d5144-daed-4d04-afbb-3c50ca85248cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=156&group=comp.sys.apple2.programmer#156

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a37:6303:: with SMTP id x3mr13203684qkb.465.1634358314940;
Fri, 15 Oct 2021 21:25:14 -0700 (PDT)
X-Received: by 2002:aca:6082:: with SMTP id u124mr17083222oib.153.1634358314736;
Fri, 15 Oct 2021 21:25:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Fri, 15 Oct 2021 21:25:14 -0700 (PDT)
In-Reply-To: <ed363206-80d9-4459-85ce-f2df5b9cd5c2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=110.148.134.130; posting-account=XojguQoAAACozqvhPts6p-mPk5q8-Q_8
NNTP-Posting-Host: 110.148.134.130
References: <222a4bef-ece6-4522-a4e3-9b299f476f2do@googlegroups.com>
<1c73843d-4c5e-49ef-8b87-709d2db0acddo@googlegroups.com> <1257a5e0-69ec-4150-99ee-9762fc59a9d0o@googlegroups.com>
<a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com> <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
<c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com> <30a8b298-d278-4ff6-99b1-222b3394964en@googlegroups.com>
<ed363206-80d9-4459-85ce-f2df5b9cd5c2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <186d5144-daed-4d04-afbb-3c50ca85248cn@googlegroups.com>
Subject: Re: OMF v1.0?
From: gbo...@bigpond.com (geoff body)
Injection-Date: Sat, 16 Oct 2021 04:25:14 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: geoff body - Sat, 16 Oct 2021 04:25 UTC

Going to try and generate a OMF 2.1 segment with MPW AsmIIGS.
Then see if it flows through the other tool(s) including the linker -> LinkIIgs.

Re: OMF v1.0?

<7a7ca0a8-7dd9-40db-819a-bba8adfd7c0an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=157&group=comp.sys.apple2.programmer#157

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:620a:28c9:: with SMTP id l9mr6868692qkp.360.1634395643184;
Sat, 16 Oct 2021 07:47:23 -0700 (PDT)
X-Received: by 2002:a9d:3783:: with SMTP id x3mr12952064otb.321.1634395642949;
Sat, 16 Oct 2021 07:47:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Sat, 16 Oct 2021 07:47:22 -0700 (PDT)
In-Reply-To: <186d5144-daed-4d04-afbb-3c50ca85248cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=110.148.134.130; posting-account=XojguQoAAACozqvhPts6p-mPk5q8-Q_8
NNTP-Posting-Host: 110.148.134.130
References: <222a4bef-ece6-4522-a4e3-9b299f476f2do@googlegroups.com>
<1c73843d-4c5e-49ef-8b87-709d2db0acddo@googlegroups.com> <1257a5e0-69ec-4150-99ee-9762fc59a9d0o@googlegroups.com>
<a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com> <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
<c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com> <30a8b298-d278-4ff6-99b1-222b3394964en@googlegroups.com>
<ed363206-80d9-4459-85ce-f2df5b9cd5c2n@googlegroups.com> <186d5144-daed-4d04-afbb-3c50ca85248cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7a7ca0a8-7dd9-40db-819a-bba8adfd7c0an@googlegroups.com>
Subject: Re: OMF v1.0?
From: gbo...@bigpond.com (geoff body)
Injection-Date: Sat, 16 Oct 2021 14:47:23 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 36
 by: geoff body - Sat, 16 Oct 2021 14:47 UTC

MPW AsmIIgs v1.1 generates Obj files with the TempOrg flagged in the header if used as a directive in the source.
discussed in the manual for MPW AsmIIgs manual
Linking produces output no longer needing the TempOrg detail.
based on changes for the MPW IIgs tools Apple made changes to MakelibIIgs to handle output by produced by ORCA 2.0 that was adding an empty TempOrg, see reference below.

MPW IIGS Tools V1.3

MakeLibllGS:
• ORCA 2.0 assembler is producing object files with the TempOrg field in the segment
headers, even though it's not using the field. This offsets the dispName and dispData
field values. MakeLib is not adjusting these values when it writes the segment headers
out to the library file without the TempOrg field. Fixed by having WriteSegmentHeader
calculate the proper values.

LinkUGS:
• LinklIGS v.1.1 is much faster and uses less memory than v.1.0.
• LinklIGS will use MultiFinder memory during links if the '-mf option is specified. This allows
the memory partition for MPW itself to be kept smaller, leaving more room for other applications
when LinklIGS is not being used.
• LinklIGS supports OMF Version 2.1 which includes: Object Segments having a tempORG
(temporary origin); Skip Object Segments; and Bank Relative Object Segments..

MPW sample files with associated MPW dumped segment headers.
https://drive.google.com/drive/folders/1cY67HANwb6NsQhogJhc1Ijz2Y9ERM1p2?usp=sharing

Re: OMF v1.0?

<8e960e55-fd42-4977-8d4b-d819bf5cb7c4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=158&group=comp.sys.apple2.programmer#158

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:620a:1924:: with SMTP id bj36mr14645933qkb.422.1634395931794;
Sat, 16 Oct 2021 07:52:11 -0700 (PDT)
X-Received: by 2002:a9d:61c7:: with SMTP id h7mr13584032otk.21.1634395931579;
Sat, 16 Oct 2021 07:52:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Sat, 16 Oct 2021 07:52:11 -0700 (PDT)
In-Reply-To: <7a7ca0a8-7dd9-40db-819a-bba8adfd7c0an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=110.148.134.130; posting-account=XojguQoAAACozqvhPts6p-mPk5q8-Q_8
NNTP-Posting-Host: 110.148.134.130
References: <222a4bef-ece6-4522-a4e3-9b299f476f2do@googlegroups.com>
<1c73843d-4c5e-49ef-8b87-709d2db0acddo@googlegroups.com> <1257a5e0-69ec-4150-99ee-9762fc59a9d0o@googlegroups.com>
<a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com> <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
<c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com> <30a8b298-d278-4ff6-99b1-222b3394964en@googlegroups.com>
<ed363206-80d9-4459-85ce-f2df5b9cd5c2n@googlegroups.com> <186d5144-daed-4d04-afbb-3c50ca85248cn@googlegroups.com>
<7a7ca0a8-7dd9-40db-819a-bba8adfd7c0an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8e960e55-fd42-4977-8d4b-d819bf5cb7c4n@googlegroups.com>
Subject: Re: OMF v1.0?
From: gbo...@bigpond.com (geoff body)
Injection-Date: Sat, 16 Oct 2021 14:52:11 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 1
 by: geoff body - Sat, 16 Oct 2021 14:52 UTC

Updated the sample link to just the file.
https://drive.google.com/file/d/1zj-bhCGcZrOHe9_ZuFmbMtMCT5V6j-Pq/view?usp=sharing

Re: OMF v1.0?

<d20c03cb-598b-4afe-9d71-0d1da08c1b55n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=159&group=comp.sys.apple2.programmer#159

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:620a:28c9:: with SMTP id l9mr8387692qkp.360.1634423781145;
Sat, 16 Oct 2021 15:36:21 -0700 (PDT)
X-Received: by 2002:a05:6830:1f2a:: with SMTP id e10mr14986021oth.118.1634423780836;
Sat, 16 Oct 2021 15:36:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Sat, 16 Oct 2021 15:36:20 -0700 (PDT)
In-Reply-To: <7a7ca0a8-7dd9-40db-819a-bba8adfd7c0an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.130.68.111; posting-account=UAtoeQoAAADrX7T-MHdWWRC4Fzf0dsLP
NNTP-Posting-Host: 24.130.68.111
References: <222a4bef-ece6-4522-a4e3-9b299f476f2do@googlegroups.com>
<1c73843d-4c5e-49ef-8b87-709d2db0acddo@googlegroups.com> <1257a5e0-69ec-4150-99ee-9762fc59a9d0o@googlegroups.com>
<a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com> <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
<c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com> <30a8b298-d278-4ff6-99b1-222b3394964en@googlegroups.com>
<ed363206-80d9-4459-85ce-f2df5b9cd5c2n@googlegroups.com> <186d5144-daed-4d04-afbb-3c50ca85248cn@googlegroups.com>
<7a7ca0a8-7dd9-40db-819a-bba8adfd7c0an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d20c03cb-598b-4afe-9d71-0d1da08c1b55n@googlegroups.com>
Subject: Re: OMF v1.0?
From: fad...@fadden.com (fadden)
Injection-Date: Sat, 16 Oct 2021 22:36:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 15
 by: fadden - Sat, 16 Oct 2021 22:36 UTC

ProDOS.FST.Obj has one v2.1 segment (BOOT_CODE), and sure enough:

Alignment : $00000000 0
Number sex : $00 0
Revision : $01 1

gquit.obj also has one v2.1 segment (LOAD_APP), also with a nonzero value. So the Mac tools appear to be using the "undefined" field that follows NUMSEX to be the minor version number.

The v2.1 segments in YankIt/HP have a tempORG field with zero in it, which is probably what the remarks about "not using the field" mean. The segments are not technically v2.0, since the tempORG field didn't exist in the v2.0 definition... but if it's not really being used, does it count?

Maybe the Orca-generated segments should be called v2.0.1?

Re: OMF v1.0?

<6b42a99e-4a61-414c-bfce-a405f620d479n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=160&group=comp.sys.apple2.programmer#160

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a37:9cd:: with SMTP id 196mr17183332qkj.22.1634445215862;
Sat, 16 Oct 2021 21:33:35 -0700 (PDT)
X-Received: by 2002:aca:d68d:: with SMTP id n135mr14748138oig.144.1634445215649;
Sat, 16 Oct 2021 21:33:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Sat, 16 Oct 2021 21:33:35 -0700 (PDT)
In-Reply-To: <d20c03cb-598b-4afe-9d71-0d1da08c1b55n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=110.148.134.130; posting-account=XojguQoAAACozqvhPts6p-mPk5q8-Q_8
NNTP-Posting-Host: 110.148.134.130
References: <222a4bef-ece6-4522-a4e3-9b299f476f2do@googlegroups.com>
<1c73843d-4c5e-49ef-8b87-709d2db0acddo@googlegroups.com> <1257a5e0-69ec-4150-99ee-9762fc59a9d0o@googlegroups.com>
<a53b65f3-c440-4bac-9d6a-68583fab2eedo@googlegroups.com> <d16867b2-b536-4ffe-86b2-a12a5386ae90n@googlegroups.com>
<c7e168bc-a8ba-4c23-b5b7-b7011cb5f03fn@googlegroups.com> <30a8b298-d278-4ff6-99b1-222b3394964en@googlegroups.com>
<ed363206-80d9-4459-85ce-f2df5b9cd5c2n@googlegroups.com> <186d5144-daed-4d04-afbb-3c50ca85248cn@googlegroups.com>
<7a7ca0a8-7dd9-40db-819a-bba8adfd7c0an@googlegroups.com> <d20c03cb-598b-4afe-9d71-0d1da08c1b55n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6b42a99e-4a61-414c-bfce-a405f620d479n@googlegroups.com>
Subject: Re: OMF v1.0?
From: gbo...@bigpond.com (geoff body)
Injection-Date: Sun, 17 Oct 2021 04:33:35 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: geoff body - Sun, 17 Oct 2021 04:33 UTC

According to GSOS reference V5.0 and later.
tempORG A 4-byte field indicating the temporary origin of the Object segment. A nonzero value indicates that all references to globals within this segment
will be interpreted as if the Object segment started at that location.
However, the actual load address of the Object segment is still
determined by the ORG field.

It would appear that a OMF 2.1 header would/should only apply to these Object segments, which also includes Libraries that have included a OBJ with OMF 2.1.

Maybe should ask Mike Westerfield if there is any further documentation on OMF 2.1 format.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor