Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Newbie question

26 views
Skip to first unread message

Peter Allan

unread,
Jul 29, 2023, 12:01:31 PM7/29/23
to
Greeting folks,

I have been meaning to get round to trying out the p50 Prime emulator for some time, and the urge to do so finally became top of my to-do list.

I have obtained the p50 emulator from github.com/prirun and I have downloaded the sample system images from sysovl.info.

I seem to have a working system (I have only used version 19 so far), but I am concerned about one thing.

I start the emultor with the command
./em -tport 8001
which gives me a system that I can log into with telnet.

When I shut downthe emulator (with sh all), I get the message

Fatal error: CPU halt
instruction #647122643 at 6/2602 BOOT0_ ^040000^
A='0/0 B='2611/1417 L='2611/1417 X='1/1 K=34100 [L64VF=]
owner=100100 SUPPCB, modals=100037 [E0MPSA]
Check error.log for more information

This looks serious, and yet it only happens once the system has shut down. There is text in error.log, but that just refers to the fact that I did not start the network.

Am I correct in thinking that this is not problem at all and is simply what the emulator does when you shut it down?

Cheers

Peter Allan

Dennis Boone

unread,
Jul 29, 2023, 9:45:23 PM7/29/23
to
> Fatal error: CPU halt
> instruction #647122643 at 6/2602 BOOT0_ ^040000^
> A='0/0 B='2611/1417 L='2611/1417 X='1/1 K=34100 [L64VF=]
> owner=100100 SUPPCB, modals=100037 [E0MPSA]
> Check error.log for more information

> This looks serious, and yet it only happens once the system has shut
> down. There is text in error.log, but that just refers to the fact that
> I did not start the network.

Ideally, the emulator wouldn't call a normal halt a fatal error, but
it would basically have to know the normal halt locations for shutdown
for each version of PRIMOS, so it's not trivial to implement.

So yes, if you shut it down deliberately, this is completely normal.

De

Peter Allan

unread,
Jul 30, 2023, 10:05:55 AM7/30/23
to
Thanks Dennis, that puts my mind at rest.

I will now to dive in and (hopefully) learn a lot of new stuff!

Peter

Jim Wilcoxson

unread,
Jul 30, 2023, 10:28:38 AM7/30/23
to
On Saturday, July 29, 2023 at 9:45:23 PM UTC-4, Dennis Boone wrote:
> > Fatal error: CPU halt
> > instruction #647122643 at 6/2602 BOOT0_ ^040000^
> > A='0/0 B='2611/1417 L='2611/1417 X='1/1 K=34100 [L64VF=]
> > owner=100100 SUPPCB, modals=100037 [E0MPSA]
> > Check error.log for more information

> Ideally, the emulator wouldn't call a normal halt a fatal error, but
> it would basically have to know the normal halt locations for shutdown
> for each version of PRIMOS, so it's not trivial to implement.

If someone wanted to do it, it's not too hard to do a map lookup on the HLT instruction to see if it resolves to BOOT0_. I think this is the symbolic address for all shutdowns in all (or a bunch) of Primos releases.
0 new messages