Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Tomorrow's computers some time next month. -- DEC


computers / comp.sys.apple2 / Re: ORCA/M, Macgen problems

SubjectAuthor
* ORCA/M, Macgen problemsTom Thumb
+* Re: ORCA/M, Macgen problemsSpeccie
|`- Re: ORCA/M, Macgen problemsTom Thumb
`* Re: ORCA/M, Macgen problemsfadden
 `* Re: ORCA/M, Macgen problemsTom Thumb
  `- Re: ORCA/M, Macgen problemsTom Thumb

1
ORCA/M, Macgen problems

<0b1c9df2-7de3-456b-a223-fb445256a1fen@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ac8:5716:0:b0:39c:c97e:ccea with SMTP id 22-20020ac85716000000b0039cc97ecceamr10290644qtw.192.1666040777866;
Mon, 17 Oct 2022 14:06:17 -0700 (PDT)
X-Received: by 2002:a05:620a:4042:b0:6ec:2343:17f8 with SMTP id
i2-20020a05620a404200b006ec234317f8mr9199045qko.307.1666040777695; Mon, 17
Oct 2022 14:06:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Mon, 17 Oct 2022 14:06:17 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=24.185.98.244; posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 24.185.98.244
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0b1c9df2-7de3-456b-a223-fb445256a1fen@googlegroups.com>
Subject: ORCA/M, Macgen problems
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Mon, 17 Oct 2022 21:06:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3374
 by: Tom Thumb - Mon, 17 Oct 2022 21:06 UTC

I was hoping someone might be kind enough to take the time to explain my problem with orca/m and macgen to me. I’ve always used merlin for assembly; I purchased the orca languages years ago but never used orca/m really; i was more interested in orca/c for toolbox programming, never got very far.

Recently using merlin I was wishing I could step through the code so thought I would try orca/m and gsbug. I have orca/m 2.1.0 installed and started going through the orca/m manual not realizing it was written for v2.0 and so the hello.asm example in the manual produces no output under v2.1.0. I took me a while to figure that out. So being curious I installed v2.0 and v2.0..4 on a hd partition and v2.0 works as the manual states. v2.0.4 however does not.

So, the crux of it is, v2.0.4 (shell v2.0.3, macgen v2.0.2), macgen does not accept the input:

“macgen hello.asm hello.macros 13:orcainclude:m=“ but prompts for a filename. Entering “13:orcainclude:m=“ results in “:HD6:ORCA.2.0.4:LIBRARIES:orcainclude:m= could not be opened”. If I then enter “13:orcainclude:m16.orca” macgen processes that file, prompts for an outfile, then lists a bunch of unfound macros and prompts for a macro file name. If I then enter “13:orcainclude:m=“ macgen is very happy with that and completes and writes out hello.macros. Still won’t produce output if using the supplied sample hello.asm as it does not contain: “jsl SystemEnvironmentInit, jsl SysIOStartup or jsl SysIOShutdown” even though included release notes state they are minimum requirements for text IO.

Why does macgen 2.0.2 not accept the second two parameters in “macgen hello.asm hello.macros 13:orcainclude:m=“ and when it the prompts for a file name doesnt accept the wildcard = but does accept the wildcard after the second prompt.

It all doesn’t really matter, I’ll be trying to use v2.1.0 anyway but it bothers me it doesn’t work and I can’t figure out why.

Sorry to be so long winded. as an aside; am I mmissing documentation or was the 524 page manual I have and the release notes all that was ever released?

Re: ORCA/M, Macgen problems

<0001HW.28FE858811EC867A7000070072EF@eu.astraweb.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx11.ams4.POSTED!not-for-mail
From: some...@somewhere.com (Speccie)
Mime-Version: 1.0
User-Agent: Hogwasher/5.24
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <0001HW.28FE858811EC867A7000070072EF@eu.astraweb.com>
Subject: Re: ORCA/M, Macgen problems
Newsgroups: comp.sys.apple2
Reply-To: someone@somewhere.com
References: <0b1c9df2-7de3-456b-a223-fb445256a1fen@googlegroups.com>
Lines: 35
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 18 Oct 2022 06:56:08 UTC
Date: Tue, 18 Oct 2022 07:56:08 +0100
X-Received-Bytes: 3744
 by: Speccie - Tue, 18 Oct 2022 06:56 UTC

Tom Thumb,

> I was hoping someone might be kind enough to take the time to explain my problem with orca/m and macgen to me. I’ve always used merlin for assembly; I purchased the orca languages years ago but never used orca/m really; i was more interested in orca/c for toolbox programming, never got very far.
>
> Recently using merlin I was wishing I could step through the code so thought I would try orca/m and gsbug. I have orca/m 2.1.0 installed and started going through the orca/m manual not realizing it was written for v2.0 and so the hello.asm example in the manual produces no output under v2.1.0. I took me a while to figure that out. So being curious I installed v2.0 and v2.0.4 on a hd partition and v2.0 works as the manual states. v2.0.4 however does not.
>
> So, the crux of it is, v2.0.4 (shell v2.0.3, macgen v2.0.2), macgen does not accept the input:
>
> “macgen hello.asm hello.macros 13:orcainclude:m=“ but prompts for a filename. Entering “13:orcainclude:m=“ results in “:HD6:ORCA.2.0.4:LIBRARIES:orcainclude:m= could not be opened”. If I then enter “13:orcainclude:m16.orca” macgen processes that file, prompts for an outfile, then lists a bunch of unfound macros and prompts for a macro file name. If I then enter “13:orcainclude:m=“ macgen is very happy with that and completes and writes out hello.macros. Still won’t produce output if using the supplied sample hello.asm as it does not contain: “jsl SystemEnvironmentInit, jsl SysIOStartup or jsl SysIOShutdown” even though included release notes state they are minimum requirements for text IO.

If you are going to use the script repeatedly, you should also include your macros output file as one of the input files, so just double the name. You also seem to be missing the Prefix for the macgen folder:

17:macgen hello.asm hello.macros hello.macros 13:orcainclude:m=“
> Why does macgen 2.0.2 not accept the second two parameters in “macgen hello.asm hello.macros 13:orcainclude:m=“ and when it the prompts for a file name doesnt accept the wildcard = but does accept the wildcard after the second prompt.
>
> It all doesn’t really matter, I’ll be trying to use v2.1.0 anyway but it bothers me it doesn’t work and I can’t figure out why.
>
> Sorry to be so long winded. as an aside; am I mmissing documentation or was the 524 page manual I have and the release notes all that was ever released?

I use ORCA/M 2.10 heavily, and this is a typical script used to build a file with a resource fork. The two source files are Filename.src and Filename.rez, with the output being an app with the name Filename:

echo "Processing Files .. "
delete FileName
filetype FileName.src $b0 $0003
17/macgen +C FileName.src FileName.macros FileName.macros 13/Ainclude/mm16.=
assemble +W +E +T FileName.src keep=FileName
link +b FileName keep=FileName
filetype FileName.rez $b0 $0015
compile +w FileName.rez keep=resources rez=(-type $5e)
copy -r resources FileName
filetype FileName $b3 $db03
bye

Cheers - Ewen

Re: ORCA/M, Macgen problems

<d833a64c-5506-4db1-a9f5-1387faf6e961n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:622a:1302:b0:39c:d01e:f910 with SMTP id v2-20020a05622a130200b0039cd01ef910mr2447122qtk.498.1666104766467;
Tue, 18 Oct 2022 07:52:46 -0700 (PDT)
X-Received: by 2002:a05:622a:211:b0:39c:f429:e03a with SMTP id
b17-20020a05622a021100b0039cf429e03amr2428287qtx.389.1666104766304; Tue, 18
Oct 2022 07:52:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Tue, 18 Oct 2022 07:52:45 -0700 (PDT)
In-Reply-To: <0b1c9df2-7de3-456b-a223-fb445256a1fen@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: <0b1c9df2-7de3-456b-a223-fb445256a1fen@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d833a64c-5506-4db1-a9f5-1387faf6e961n@googlegroups.com>
Subject: Re: ORCA/M, Macgen problems
From: thefad...@gmail.com (fadden)
Injection-Date: Tue, 18 Oct 2022 14:52:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: fadden - Tue, 18 Oct 2022 14:52 UTC

On Monday, October 17, 2022 at 2:06:18 PM UTC-7, justliketom...@gmail.com wrote:
> “macgen hello.asm hello.macros 13:orcainclude:m=“ but prompts for a filename. Entering “13:orcainclude:m=“ results in “:HD6:ORCA.2.0.4:LIBRARIES:orcainclude:m= could not be opened”.

Sounds like the wildcard routine can't find anything, so the program acts like you didn't actually give it the final argument, and queries for a name. Curious that it would work if specified on stdin but not the command line..

IIRC, APW/Orca are different from something like UNIX, where the shell processes the wildcards and hands a full list of arguments to the program. APW/Orca hand the wildcard to the program and let it iterate through the possibilities itself. So if something changed in the way wildcards are processed, that could cause things to fail, but you'd expect it to cause most things to fail the same way.

If you "cat 13:orcainclude:m=", do you get a list of macro files from that directory?

Backing up a step: why can't you use GSBug with Merlin?

Re: ORCA/M, Macgen problems

<feda458c-8127-44e7-9efa-95c4141a21a3n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ad4:5be1:0:b0:498:79dc:d3ff with SMTP id k1-20020ad45be1000000b0049879dcd3ffmr2677188qvc.87.1666109746820;
Tue, 18 Oct 2022 09:15:46 -0700 (PDT)
X-Received: by 2002:a05:620a:4487:b0:6ee:bcfd:bd38 with SMTP id
x7-20020a05620a448700b006eebcfdbd38mr2373194qkp.468.1666109746639; Tue, 18
Oct 2022 09:15:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Tue, 18 Oct 2022 09:15:46 -0700 (PDT)
In-Reply-To: <0001HW.28FE858811EC867A7000070072EF@eu.astraweb.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:a102:7200:78a1:e48c:cbd:124c;
posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 2603:7000:a102:7200:78a1:e48c:cbd:124c
References: <0b1c9df2-7de3-456b-a223-fb445256a1fen@googlegroups.com> <0001HW.28FE858811EC867A7000070072EF@eu.astraweb.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <feda458c-8127-44e7-9efa-95c4141a21a3n@googlegroups.com>
Subject: Re: ORCA/M, Macgen problems
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Tue, 18 Oct 2022 16:15:46 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2069
 by: Tom Thumb - Tue, 18 Oct 2022 16:15 UTC

On Tuesday, October 18, 2022 at 2:56:11 AM UTC-4, Speccie wrote:
> Tom Thumb,

> I use ORCA/M 2.10 heavily, and this is a typical script used to build a file with a resource fork. The two source files are Filename.src and Filename.rez, with the output being an app with the name Filename:
>
> echo "Processing Files .. "
> delete FileName
> filetype FileName.src $b0 $0003
> 17/macgen +C FileName.src FileName.macros FileName.macros 13/Ainclude/mm16.=
> assemble +W +E +T FileName.src keep=FileName
> link +b FileName keep=FileName
> filetype FileName.rez $b0 $0015
> compile +w FileName.rez keep=resources rez=(-type $5e)
> copy -r resources FileName
> filetype FileName $b3 $db03
> bye
>
> Cheers - Ewen

Thank you for the response. This environment is quite new to me, I'll need to study that script.

Re: ORCA/M, Macgen problems

<15a87590-917d-4878-83de-461b38d7679an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:622a:11c9:b0:39c:dce3:280b with SMTP id n9-20020a05622a11c900b0039cdce3280bmr2788303qtk.376.1666110821571;
Tue, 18 Oct 2022 09:33:41 -0700 (PDT)
X-Received: by 2002:ae9:eb53:0:b0:6ee:80cb:229e with SMTP id
b80-20020ae9eb53000000b006ee80cb229emr2407457qkg.37.1666110821369; Tue, 18
Oct 2022 09:33:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Tue, 18 Oct 2022 09:33:40 -0700 (PDT)
In-Reply-To: <d833a64c-5506-4db1-a9f5-1387faf6e961n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:a102:7200:78a1:e48c:cbd:124c;
posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 2603:7000:a102:7200:78a1:e48c:cbd:124c
References: <0b1c9df2-7de3-456b-a223-fb445256a1fen@googlegroups.com> <d833a64c-5506-4db1-a9f5-1387faf6e961n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <15a87590-917d-4878-83de-461b38d7679an@googlegroups.com>
Subject: Re: ORCA/M, Macgen problems
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Tue, 18 Oct 2022 16:33:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Tom Thumb - Tue, 18 Oct 2022 16:33 UTC

On Tuesday, October 18, 2022 at 10:52:47 AM UTC-4, fadden wrote:
> On Monday, October 17, 2022 at 2:06:18 PM UTC-7, justliketom...@gmail.com wrote:
> > “macgen hello.asm hello.macros 13:orcainclude:m=“ but prompts for a filename. Entering “13:orcainclude:m=“ results in “:HD6:ORCA.2.0.4:LIBRARIES:orcainclude:m= could not be opened”.
> Sounds like the wildcard routine can't find anything, so the program acts like you didn't actually give it the final argument, and queries for a name. Curious that it would work if specified on stdin but not the command line.

I believe I'm entering the wildcard in both cases from the command line. It's just that Magen gets it the second time not the first

>
> IIRC, APW/Orca are different from something like UNIX, where the shell processes the wildcards and hands a full list of arguments to the program. APW/Orca hand the wildcard to the program and let it iterate through the possibilities itself. So if something changed in the way wildcards are processed, that could cause things to fail, but you'd expect it to cause most things to fail the same way.
>
> If you "cat 13:orcainclude:m=", do you get a list of macro files from that directory?

Yes, the four macro files are listed. For kicks I replaced Magen v2.0.2 with v2.0 and it all works as expected. <shrug>

>
> Backing up a step: why can't you use GSBug with Merlin?

I just found out last night I can. I didn't have the init version installed and not sure if I had the app installed completely. I just have to figure out how to use it. I can step through the code but haven't figured out how to exit gracefully yet. Some of the commands in my documentation don't seem to work, for example page 244 in my ORCA/M manual states there are three commands to exit the debugger. "Q" doesn't work for me, or I'm not entering it properly, "QR" doesn't work, "Unload does but leaves things in not so good a state. I've only just started with it so I need to work at it; I'm just not sure the documentation I have is valid in some instances.

Thank you for responding.

Re: ORCA/M, Macgen problems

<3c33e353-95a6-4378-8d1d-59e4dc3ba7b1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:6214:29c9:b0:4b3:fcfe:3731 with SMTP id gh9-20020a05621429c900b004b3fcfe3731mr2842630qvb.29.1666111425569;
Tue, 18 Oct 2022 09:43:45 -0700 (PDT)
X-Received: by 2002:a05:620a:688:b0:6ec:5699:1cc5 with SMTP id
f8-20020a05620a068800b006ec56991cc5mr2459673qkh.536.1666111425414; Tue, 18
Oct 2022 09:43:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Tue, 18 Oct 2022 09:43:45 -0700 (PDT)
In-Reply-To: <15a87590-917d-4878-83de-461b38d7679an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:a102:7200:78a1:e48c:cbd:124c;
posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 2603:7000:a102:7200:78a1:e48c:cbd:124c
References: <0b1c9df2-7de3-456b-a223-fb445256a1fen@googlegroups.com>
<d833a64c-5506-4db1-a9f5-1387faf6e961n@googlegroups.com> <15a87590-917d-4878-83de-461b38d7679an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3c33e353-95a6-4378-8d1d-59e4dc3ba7b1n@googlegroups.com>
Subject: Re: ORCA/M, Macgen problems
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Tue, 18 Oct 2022 16:43:45 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1732
 by: Tom Thumb - Tue, 18 Oct 2022 16:43 UTC

On Tuesday, October 18, 2022 at 12:33:53 PM UTC-4, Tom Thumb wrote:

> For kicks I replaced Magen v2.0.2 with v2.0 and it all works as expected. <shrug>

I take that back, it only seemed to work as the process of generating the macro file proceeded and Hello.macros is created but running Hello.asm results in about 620 errors :)

When using ORCA/M I'll be using v2.1.0 and let it go at that.

Strange behavior though.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor