Arthur on Arculator "Naff RTC month"

discuss emulators of 26-bit acorn systems e.g. arculator and rpcemu
Post Reply
pdjstone
Posts: 45
Joined: Sun Feb 23, 2020 10:02 am
Contact:

Arthur on Arculator "Naff RTC month"

Post by pdjstone »

I'm trying to run Arthur on Arculator Linux, and I'm getting dropped at the Supervisor prompt with the error "Naff RTC month" . *time shows the date as Mon 01 Jan, 1900. This occurs with both Arthur 0.30 and 1.20. Any ideas what's going wrong?
User avatar
IanJeffray
Posts: 5963
Joined: Sat Jun 06, 2020 3:50 pm
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by IanJeffray »

Interesting. Arthur Arculator on Windows here shows *TIME as 1/1/1900 too (00:00:00) but the clock application in Desktop is correct. "PRINT TIME$" shows Mon 29th May 0000 and the correct time". Surely must be an Arthur OS issue. Fun!
pdjstone
Posts: 45
Joined: Sun Feb 23, 2020 10:02 am
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by pdjstone »

To answer my own question, it seems it was a bug with Arculator on Linux specifically. The CMOS RTC clock didn't get initialised with the current date/time. I've fixed it in my branch - https://github.com/pdjstone/arculator-w ... 3aa41a9759. With that change, Arthur boots up fine for me.

This is actually the first time I've ever tried Arthur. It certainly is quite the "early adopter" experience!
User avatar
SarahWalker
Posts: 1598
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by SarahWalker »

Erk! Looks like I never implemented TOD support outside of Windows. I'll add that to the list for v2.2...

On Windows, the year will be wrong as the Arc's RTC doesn't handle year beyond rollover, so Arculator can't inject it in. So you have to set that manually. Don't know why *TIME doesn't work but as it's Arthur it could just be broken.
User avatar
SarahWalker
Posts: 1598
Joined: Fri Jan 14, 2005 3:56 pm
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by SarahWalker »

pdjstone wrote: Sun May 29, 2022 4:32 pm To answer my own question, it seems it was a bug with Arculator on Linux specifically. The CMOS RTC clock didn't get initialised with the current date/time. I've fixed it in my branch - https://github.com/pdjstone/arculator-w ... 3aa41a9759. With that change, Arthur boots up fine for me.
Great! I'll pinch that if you don't mind? Saves me doing it myself.
This is actually the first time I've ever tried Arthur. It certainly is quite the "early adopter" experience!
It never ceases to amaze me quite how bad Arthur is. It's a pity RISC OS had to carry a lot of the crap bits around for backwards compatibility.
pdjstone
Posts: 45
Joined: Sun Feb 23, 2020 10:02 am
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by pdjstone »

SarahWalker wrote: Sun May 29, 2022 4:33 pm On Windows, the year will be wrong as the Arc's RTC doesn't handle year beyond rollover, so Arculator can't inject it in. So you have to set that manually. Don't know why *TIME doesn't work but as it's Arthur it could just be broken.
Isn't the year stored in CMOS? Presumably Arculator could inject the year by overwriting the correct bytes in there?
SarahWalker wrote:Great! I'll pinch that if you don't mind? Saves me doing it myself
Of course!
User avatar
BeebMaster
Posts: 7380
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by BeebMaster »

Is that an actual real Arthur OS error message then??
Image
User avatar
IanJeffray
Posts: 5963
Joined: Sat Jun 06, 2020 3:50 pm
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by IanJeffray »

BeebMaster wrote: Mon May 30, 2022 5:50 pm Is that an actual real Arthur OS error message then??
Yup... a quick look at the Arthur 1.2 ROM...
Naff.PNG
User avatar
BeebMaster
Posts: 7380
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by BeebMaster »

Wow, it looks like it's in BASIC as well, think I will have to "upgrade"!
Image
User avatar
IanJeffray
Posts: 5963
Joined: Sat Jun 06, 2020 3:50 pm
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by IanJeffray »

BeebMaster wrote: Mon May 30, 2022 9:01 pm Wow, it looks like it's in BASIC as well, think I will have to "upgrade"!
Yeah, the entire Arthur "Desktop" is in BASIC. =D>
User avatar
iomanoid
Posts: 728
Joined: Sat Aug 08, 2009 10:38 am
Location: Baseworld: Cygni
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by iomanoid »

What a fantastic error message. I think Arthur does not get enough love.
User avatar
BeebMaster
Posts: 7380
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by BeebMaster »

Definitely, should be in the error message hall of fame along with "Printer on fire", "Silly", "Unplugging the Utility module is foolish" etc!
Image
User avatar
iomanoid
Posts: 728
Joined: Sat Aug 08, 2009 10:38 am
Location: Baseworld: Cygni
Contact:

Re: Arthur on Arculator "Naff RTC month"

Post by iomanoid »

There’s a band called ‘Division by zero’. They’re not bad
Post Reply

Return to “32-bit acorn emulators”