Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Lawrence Radiation Laboratory keeps all its data in an old gray trunk.


computers / comp.sys.apple2 / ORCA/C and Prizm again

SubjectAuthor
* ORCA/C and Prizm againTom Thumb
`- Re: ORCA/C and Prizm againTom Thumb

1
ORCA/C and Prizm again

<57d05387-388a-4c75-8038-2cd20d364779n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ac8:6f16:0:b0:3a5:8b71:cca3 with SMTP id bs22-20020ac86f16000000b003a58b71cca3mr586932qtb.292.1672157231412;
Tue, 27 Dec 2022 08:07:11 -0800 (PST)
X-Received: by 2002:ac8:7c84:0:b0:3a8:29a8:8c41 with SMTP id
y4-20020ac87c84000000b003a829a88c41mr915792qtv.324.1672157231241; Tue, 27 Dec
2022 08:07:11 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.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, 27 Dec 2022 08:07:10 -0800 (PST)
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: <57d05387-388a-4c75-8038-2cd20d364779n@googlegroups.com>
Subject: ORCA/C and Prizm again
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Tue, 27 Dec 2022 16:07:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Tom Thumb - Tue, 27 Dec 2022 16:07 UTC

Hi all and Happy Holidays,

I have desktop program made from a resource file, two header and two source files that I usually compile and link with an exec and linker files from the text shell so that:

make
compile flagging.rez keep=flagging
compile flagging.cc keep=flagging
compile grid.cc keep=grid

cmpl linkit

linkit
grid
flagging
keep=flagging

flagging.cc includes flagging.h and grid.h
grid.cc includes grid.h
I've tried using Prizm to be able to step through some code but I'm having my difficulties.

I can stop at a breakpoint and examine variables in a program with a single src file, and a header file or two I guess, but I can only get it working to a fashion with the above mentioned setup.

I’ve tried a few things: using the ‘Set Options” from the compile and link menus but it won't compile and link properly from the debug menu or the run -> compile to disk menu item.

The best I’ve come up with is using the compile menu, uncheck the link option and compile each file seperately and then use the link menu, uncheck the execute after linking option and the choose trace option in execute options and then the execute menu item. That seems to break at the breakpoint and variables are displayed but doesn’t display an arrow in the source listing and stepping seems a bit flaky. Then if I remove the beakpoint and save the file I need to recompile that file and relink the program again or the breakpoint will linger.

Any advice on how to go about this with the above setup? I’ve been using printf as it’s less tedious and I’ve only just figured out how to get as far as I have.

Re: ORCA/C and Prizm again

<9ed6c461-80e3-4c30-81f1-1ed864779931n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ac8:1495:0:b0:3a5:9370:ccf4 with SMTP id l21-20020ac81495000000b003a59370ccf4mr1013969qtj.376.1672177530876;
Tue, 27 Dec 2022 13:45:30 -0800 (PST)
X-Received: by 2002:a05:622a:4d06:b0:3a8:322f:7067 with SMTP id
fd6-20020a05622a4d0600b003a8322f7067mr1054840qtb.468.1672177530721; Tue, 27
Dec 2022 13:45:30 -0800 (PST)
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, 27 Dec 2022 13:45:30 -0800 (PST)
In-Reply-To: <57d05387-388a-4c75-8038-2cd20d364779n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.185.98.244; posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 24.185.98.244
References: <57d05387-388a-4c75-8038-2cd20d364779n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9ed6c461-80e3-4c30-81f1-1ed864779931n@googlegroups.com>
Subject: Re: ORCA/C and Prizm again
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Tue, 27 Dec 2022 21:45:30 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3371
 by: Tom Thumb - Tue, 27 Dec 2022 21:45 UTC

On Tuesday, December 27, 2022 at 11:07:12 AM UTC-5, Tom Thumb wrote:
> Hi all and Happy Holidays,
>
> I have desktop program made from a resource file, two header and two source files that I usually compile and link with an exec and linker files from the text shell so that:
>
> make =
>
> compile flagging.rez keep=flagging
> compile flagging.cc keep=flagging
> compile grid.cc keep=grid
>
> cmpl linkit
>
> linkit =
>
> grid
> flagging
> keep=flagging
>
> flagging.cc includes flagging.h and grid.h
> grid.cc includes grid.h
>
> I've tried using Prizm to be able to step through some code but I'm having my difficulties.
>
> I can stop at a breakpoint and examine variables in a program with a single src file, and a header file or two I guess, but I can only get it working to a fashion with the above mentioned setup.
>
> I’ve tried a few things: using the ‘Set Options” from the compile and link menus but it won't compile and link properly from the debug menu or the run -> compile to disk menu item.
>
> The best I’ve come up with is using the compile menu, uncheck the link option and compile each file seperately and then use the link menu, uncheck the execute after linking option and the choose trace option in execute options and then the execute menu item. That seems to break at the breakpoint and variables are displayed but doesn’t display an arrow in the source listing and stepping seems a bit flaky. Then if I remove the beakpoint and save the file I need to recompile that file and relink the program again or the breakpoint will linger.
>
> Any advice on how to go about this with the above setup? I’ve been using printf as it’s less tedious and I’ve only just figured out how to get as far as I have.

Well I guess I got it. I added +d to compile grid.cc and flagging.cc, ran make from command line then in prizm I set the execute trace option and that works. I had tried a variation of that before but had trouble with it.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor