Finally got an Atom

discussion of games, software, hardware & emulators relating to the Acorn Atom and Acorn System machines.
Post Reply
User avatar
-B-
Posts: 153
Joined: Wed Nov 26, 2014 11:54 am
Location: Noordwijk ZH (NL) / Durham (UK)
Contact:

Finally got an Atom

Post by -B- » Sat Apr 06, 2019 6:40 pm

Finally got an Atom thanks to @roland and @Multiwizard. Let the good times roll.


IMG_4098.jpeg

Neil
Atom | BBC Model A | BBC Model B | Electron | Olivetti PC128S.

User avatar
-B-
Posts: 153
Joined: Wed Nov 26, 2014 11:54 am
Location: Noordwijk ZH (NL) / Durham (UK)
Contact:

Re: Finally got an Atom

Post by -B- » Sat Apr 06, 2019 6:43 pm

...and apologies to everyone I have been firing questions at for the last couple of weeks.
Atom | BBC Model A | BBC Model B | Electron | Olivetti PC128S.

User avatar
anightin
Posts: 401
Joined: Thu Aug 23, 2018 1:03 pm
Location: Cambridge UK
Contact:

Re: Finally got an Atom

Post by anightin » Sat Apr 06, 2019 8:14 pm

Welcome to the Atom owners club! :)

First mods I made were external 5v PSU and composite video
IMG_3207.jpeg
IMG_3205.jpeg
Next was to kindy ask @SirMorris for an excellent AtoMMC card


Best wishes

Andy

janrinze
Posts: 106
Joined: Sat Mar 19, 2016 6:38 am
Location: Groningen (NL)
Contact:

Re: Finally got an Atom

Post by janrinze » Sat Apr 06, 2019 8:40 pm

Beautiful setup!
The SDcard image makes for many hours of browsing, playing and reviving memories.
Congratz!
Last edited by janrinze on Sat Apr 06, 2019 8:41 pm, edited 1 time in total.

User avatar
roland
Posts: 3637
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: Finally got an Atom

Post by roland » Sat Apr 06, 2019 10:35 pm

-B- wrote:
Sat Apr 06, 2019 6:43 pm
...and apologies to everyone I have been firing questions at for the last couple of weeks.
That's what this forum is for :)

I am glad that the Atom survived the journey. I wish you a lot of fun with it. The Yarrb board will follow as soon as I have received all parts. And you have a nice monitor, I always liked that colour although mine were always green. Maybe that's why I like the amber monitors so much :mrgreen:
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
Multiwizard
Posts: 1763
Joined: Wed Jan 11, 2012 9:03 pm
Contact:

Re: Finally got an Atom

Post by Multiwizard » Sun Apr 07, 2019 6:41 am

Congrats... =D>

And like I said yesterday on your FB page, and a nice monitor too, very reliable... :D


Greetings, Wim... :-)

User avatar
tricky
Posts: 4036
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Finally got an Atom

Post by tricky » Sun Apr 07, 2019 1:51 pm

Nice, you've made me feel like trying to tidy my atom up a bit.

User avatar
-B-
Posts: 153
Joined: Wed Nov 26, 2014 11:54 am
Location: Noordwijk ZH (NL) / Durham (UK)
Contact:

Re: Finally got an Atom

Post by -B- » Thu Apr 11, 2019 9:18 am

I see there are a few HTML reproductions of the Atomic Theory and Practice on the internet, some of them have errors in the Three-Dimensional Plotting listing in section 11.5.2 but I believe the listing below is the same as the original manual.

Code: Select all

1 REM Three-Dimensional Plotting
50 L=30;M=40;N=8
110 Z=0;CLEAR4
120 A=#8000;B=#9800
130 FORJ=A TO B STEP4;!J=-1;N.
150 S=L*L+M*M;GOS.s;R=Q
160 S=S+N*N;GOS.s;S=L*L+M*M
170 T=L*L+M*M+N*N
200 F.U=-20TO20
210 V=-20;GOS.c;GOS.b
220 F.V=-19TO20;GOS.c;GOS.a;N.;N.
230 END
400sQ=S/2
410 DOQ=(Q+S/Q)/2
415 U.(Q-1)*(Q-1)<S AND(Q+1)*(Q+1)>S
420 R.
500 REM DRAWTO(U,V,W)
510aZ=3
520bO=T-U*L-V*M-W*N
530 C=T*(V*L-U*M)*4/(R*O)+128
540 D=96+3*Q*(W*S-N*(U*L+V*M))/(R*O)
560 PLOT(Z+4),C,D;Z=0;R.
600cW=300/(10+U*U+V*V)-10;R.
Should there be ;R. at the end of line 510 ? The sub-routine doesn't have a return.

However, when I RUN it in Atomulator (I'm at work), the screen fills up with green then turns red with this error...

Capture.PNG

Is there a problem with this listing? What do I need to change to make it work?

Neil
Atom | BBC Model A | BBC Model B | Electron | Olivetti PC128S.

User avatar
roland
Posts: 3637
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: Finally got an Atom

Post by roland » Thu Apr 11, 2019 10:05 am

When I look at the code I don't see anything wrong. Didn't you copy/paste an illegal character? I suggest you remove line 220 and retype it (not copy/paste).

The R. in line 510 is not necessary. This line is just another entry point for the 3D plotroutine. It sets Z to 3 and continues at line 520.

I ran this program in the Javascript HTML editor and it works fine.
Schermafbeelding 2019-04-11 om 12.09.42.png
Last edited by roland on Thu Apr 11, 2019 10:12 am, edited 1 time in total.
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
oss003
Posts: 3186
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Finally got an Atom

Post by oss003 » Thu Apr 11, 2019 10:16 am

Hi Neil,

the listing also works for me .... didn't you type a zero instead of an 'O' in the TO or GOSUB in line 220?

Greetings
Kees
Last edited by oss003 on Thu Apr 11, 2019 10:16 am, edited 1 time in total.

User avatar
-B-
Posts: 153
Joined: Wed Nov 26, 2014 11:54 am
Location: Noordwijk ZH (NL) / Durham (UK)
Contact:

Re: Finally got an Atom

Post by -B- » Thu Apr 11, 2019 11:04 am

Thanks Kees, I had lunch, played with the Javascript emulator then went back to Atomulator and it worked!
I must have mistyped something even though I checked and double checked for errors.

Capture.PNG

I will try it on my real Atom tonight after I've been to the pub.
The first time I tried this listing, I was reading from a HTML version of the manual and it had '0' instead of '#' when defining A and B, subroutine c was labelled k and some 0 and O were mixed up - I wonder if OCR was used to create the text from a scan of the original manual.

Neil.
Atom | BBC Model A | BBC Model B | Electron | Olivetti PC128S.

User avatar
roland
Posts: 3637
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: Finally got an Atom

Post by roland » Thu Apr 11, 2019 11:17 am

-B- wrote:
Thu Apr 11, 2019 11:04 am
The first time I tried this listing, I was reading from a HTML version of the manual and it had '0' instead of '#' when defining A and B, subroutine c was labelled k and some 0 and O were mixed up - I wonder if OCR was used to create the text from a scan of the original manual.
Yes, many of these HTML versions are created with OCR and have lots of errors. Luckily, most of the Atom programmes are on the software archive which requires and AtoMMC but it's also available for the Atomulator.
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
oss003
Posts: 3186
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Finally got an Atom

Post by oss003 » Thu Apr 11, 2019 1:27 pm

Dave (hoglet) refurbished the text and listings: http://www.stardot.org.uk/forums/downlo ... hp?id=6068
There are a lot more book scans here: viewtopic.php?f=44&t=6791&hilit=acorn+atom+books

Greetings
Kees

User avatar
-B-
Posts: 153
Joined: Wed Nov 26, 2014 11:54 am
Location: Noordwijk ZH (NL) / Durham (UK)
Contact:

Re: Finally got an Atom

Post by -B- » Thu Apr 11, 2019 7:26 pm

Yes, it works.

D452CDC9-9668-40F7-9496-4A5B732DDABD.jpeg

However, that’s as far as I can adjust the vertical size of the picture and the monitor has started a quiet ticking noise. The electrolytic caps look OK (no bulges or obvious leakage), any monitor experts here?

Shall I change the big one, it probably takes the most hammering.
Atom | BBC Model A | BBC Model B | Electron | Olivetti PC128S.

User avatar
roland
Posts: 3637
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: Finally got an Atom

Post by roland » Thu Apr 11, 2019 7:37 pm

I cannot answer to your monitor question but I want to make a remark about this setup: it really looks like an advertisement of the Atom. There are completely no wires visible. What a clean setup 8)
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
-B-
Posts: 153
Joined: Wed Nov 26, 2014 11:54 am
Location: Noordwijk ZH (NL) / Durham (UK)
Contact:

Re: Finally got an Atom

Post by -B- » Thu Apr 11, 2019 7:51 pm

roland wrote:
Thu Apr 11, 2019 7:37 pm
I cannot answer to your monitor question but I want to make a remark about this setup: it really looks like an advertisement of the Atom. There are completely no wires visible. What a clean setup 8)
Haha! Really?! My OCD makes me hide wires. I have a temporary power connector and video lead until I get sorted out.

BFEDBDBC-3256-4EC3-AE53-E22AD9F6F2D5.jpeg

I ordered a new barrel connector with 5.0/2.1mm but it won’t fit. Must be 5.0/2.5mm. Can anyone confirm?

Also, I solved the monitor problem for now.

985DF537-FD92-4F50-9F83-CF429EB33738.jpeg
Atom | BBC Model A | BBC Model B | Electron | Olivetti PC128S.

User avatar
Multiwizard
Posts: 1763
Joined: Wed Jan 11, 2012 9:03 pm
Contact:

Re: Finally got an Atom

Post by Multiwizard » Thu Apr 11, 2019 8:02 pm

-B- wrote:
Thu Apr 11, 2019 7:51 pm

985DF537-FD92-4F50-9F83-CF429EB33738.jpeg
Oh, you are teasing me with that monitor naughty naughty... :mrgreen:


Greetings, Wim... :-)

Edit:

Ps. beautiful setup btw... :-D
Last edited by Multiwizard on Thu Apr 11, 2019 8:03 pm, edited 1 time in total.

User avatar
-B-
Posts: 153
Joined: Wed Nov 26, 2014 11:54 am
Location: Noordwijk ZH (NL) / Durham (UK)
Contact:

Re: Finally got an Atom

Post by -B- » Fri Apr 12, 2019 7:06 pm

One step further...
22ED7F99-0C9B-4D36-8D7D-8899079FFA44.jpeg
4566F3B3-32CA-40DC-976E-7CF7608C4BA0.jpeg
Atom | BBC Model A | BBC Model B | Electron | Olivetti PC128S.

User avatar
sirmorris
Posts: 776
Joined: Wed Feb 11, 2009 12:18 pm
Location: oxfordshire uk
Contact:

Re: Finally got an Atom

Post by sirmorris » Sat Apr 13, 2019 9:52 pm

Nice ;)

User avatar
-B-
Posts: 153
Joined: Wed Nov 26, 2014 11:54 am
Location: Noordwijk ZH (NL) / Durham (UK)
Contact:

Re: Finally got an Atom

Post by -B- » Sun May 05, 2019 12:47 pm

Got it working with an Amstrad GT65 monitor..
IMG_4347.jpeg
Atom | BBC Model A | BBC Model B | Electron | Olivetti PC128S.

Post Reply