Jump to content
IGNORED

Sophia 2 - improved GTIA replacement


Simius

Recommended Posts

On 7/15/2022 at 4:47 AM, Beeblebrox said:

@retrofez Go and log interest on the following thread, then wait till 2024 as the global chip shortage is dictating the next batch runs it's creator Simius can build. 2024 is the predicted date when he'll be able to get his hands on the chips. There is a massive preorder list.

 

 

I guess I'll be on the preorder list as well. I have an Atari XEGS and I'd like to have it rgb modded too.

Link to comment
Share on other sites

  • 3 months later...
On 7/10/2021 at 5:55 PM, mdivancic said:

Installed the longer cable that @orpheuswaking made for me and buttoned up the 800xl. Using the 3D printed part designed by MrLurch on Thingiverse makes for a nice clean install. Pardon the messy work area.

 

34327A5B-06A2-4670-89A8-D023122E2B28.thumb.jpeg.916742924c6b11c942fe011e3f55bdd5.jpeg

 

6A090378-8C54-430A-88CA-A1AF304FEF93.thumb.jpeg.9f1e6e9b7338f35129cd082a3810523c.jpeg

Could you please share the link? I don't find the file on Thingiverse.

Link to comment
Share on other sites

That's the one I have I installed in my other 600XL. Very robust. Wiggles a little in the pbi slot in the casing. It works well although I had to extend my ribbon cable as was a little too much of a stretch. It just about stretches but I added a 10cm section of ribbon cable into the mix and now it isn't taut and is a little better routed inside. 

 

 

Link to comment
Share on other sites

  • 2 months later...

There is not a whole lot of info about the Sophia 2 install. Luckily I had a friend of mine install the previous Sophia board and socketed the chip. So I just replaced it with the Sophia 2 board and 24+5 dvi. The 24 +5 dvi is the main difference I believe since the +5 can do analogue. I’ll find out when o get my dvi 24+5 to vga. I’m hoping to get rgb 15kz. The other thing is the Sophia 2 rom. Pressing 4 you can select between options. But the * and # buttons cycle too quickly sometimes to choose an option like different resolutions. 
 

anyways here are some pics 

E911E9FD-FB83-4A8D-A1A4-0586D27E5AE5.jpeg

886E4F90-DC89-4905-BC36-0AEC05FF4DB9.jpeg

A68857D6-2953-4276-AB9D-BCF5D3E6C70A.jpeg

961447C0-C9AA-4D9C-9CD0-AC1C909BB73B.jpeg

5392F267-29DE-4E0F-A747-4DAFF481D5DE.jpeg

Link to comment
Share on other sites

18 hours ago, phonedork said:

There is not a whole lot of info about the Sophia 2 install. Luckily I had a friend of mine install the previous Sophia board and socketed the chip. So I just replaced it with the Sophia 2 board and 24+5 dvi. The 24 +5 dvi is the main difference I believe since the +5 can do analogue. I’ll find out when o get my dvi 24+5 to vga. I’m hoping to get rgb 15kz. The other thing is the Sophia 2 rom. Pressing 4 you can select between options. But the * and # buttons cycle too quickly sometimes to choose an option like different resolutions.

As I had advised on FB (I believe you are the same person...) there is a newer updated version of the configuration program for the 5200. It is in the second to last page of the initial Sophia 2 pre-order thread.
 

 

sc5200.rom

Link to comment
Share on other sites

  • 4 weeks later...
On 12/1/2020 at 8:20 PM, Simius said:

How to mount the Sophia 2 on the Atari 800

 

5. Drill two 1mm holes next (5mm) to the old + holes for radial 2200uF capacitors and mount them with two additional wires.

 

 

20201201_185242.jpg

 

 

 

20201201_185631.jpg

 

 

I just went through the SOPHIA2 installation in the A800 NTSC computer. Everything done according to instructions. Everything seemed to work perfectly.

Then I inserted PokeyMax and realized that SIO communication does not work (strange sound/noise, RespeQt shows a lot of issues).

 

To make the long story short:

 

Modifications of the A800 Power Board (STEP 5 - see above) cause issues with SIO DATA lines!

03o.thumb.png.1ef6806548268487fda1e78ce0a5d9f7.png

 

The original POKEY chip seems to be robust enough to handle the interference on DATA IN while ATARI is sending data on DATA OUT.

However PokeyMAX does not. SIO communications fails.

 

Guilty is the capacitor C204, which is very close to the SIO lines:

05.thumb.png.c2731f7344638b3eafe4a203f6a9c0b3.png

 

I moved the cap connectors to the top side the Power Board and moved the capacitor itself to the middle, so the + and - wires have approximately the same length.

And most important: I took aluminium foil, folded it in several layers and inserted it between the capacitor and the board, creating a shield isolating SIO lines from interferences.

 

01.thumb.png.12864fa7dba8e1fc16552f1cb1a2d5b3.png

02.thumb.png.8950cfbc5ea9c3f9b351eec0a35f99b5.png

 

The shield helped - I could load software from SIO2SD even with Pokey divisor 0.

The oscilloscope shows only minor interferences (I saw the same on my other ATARI computers I tested):

 

04o.thumb.png.573e9bb7264e2f6317681e622b995d83.png

 

I hope that my frustrating experience will help other users.

 

 

 

  • Like 11
Link to comment
Share on other sites

  • 2 weeks later...

Ok, after flawless and pleasing use of Sophia-2 on my 800/Incognito, I've just found something really odd.

 

So before I raise the BUG-flag here, let's triple check here:

  1. Can anyone please, try launching CRUSH-CRUMBLE-and-CHUMP! (?) For this purpose, please use:
  • Either Basic rev.C, Altirra Basic v1.57/1.58, Turbo Basic, etc.
  • Launch from ATR image using OS/b
  • Or mount as D1, launch SDX and manually load .BAS right from Basic-car. session.
  1. Do you SEE the gold/yellow Godzilla sprite on the splash-screen and later on the preview-sequence?
  2. Here are the images you should try (whatever is easier):

On my end, the digital video-output from the systems CRASHES, and when it does so, all Sophia settings in BIOS are reset to 480p/576p, 16-lumas disabled, etc. The yellow Godzilla sprite NEVER shows up, on either splash-screen or preview-sequence.

 

Thanks to anyone for taking the time to test this...

Edited by Faicuai
Link to comment
Share on other sites

37 minutes ago, Simius said:

It isn't a Sophia's bug but writing #$FF to GRACTL

 

B25A   LDA D4      (FF)

B25C   LDY #00

B25E   STA (95),Y  (D01D+Y)

B260   RTS

 

 

crush.png

So could you replicate the issue, as well?

 

Mind you that it WORKS on my reference 800 (1980-0077) running on standard GTIA.

 

So the only question is (pardon my limited background on Sophia I/O dependencies) why does it work with standard GTIA and why not with Sophia-2?

Link to comment
Share on other sites

2 hours ago, Simius said:

See the datasheet. 

 

SPECEN.png

This is great, THANKS !!!

 

Would this be cured by having C-C-Chump writing #00000111 (or $07) instead?

 

The thing is that $A000-$BFFF is occupied by Basic rom, during CCChomp runtime, so your trace cannot be pointing to the game's code, it seems... 😳😳

Edited by Faicuai
Link to comment
Share on other sites

It's a BASIC ROM, specifically the POKE command:

 

JSR LETNUM

LDA FR0

STA POKADR

LDA FR0+1

STA POKADR+1

JSR GETBYT

LDA FR0

LDY #$00

STA (POKADR),Y

RTS

 

This means the game's code simply contains POKE GRACTL,$FF

 

INIT:

80 POKE 54279,116:POKE 704,46:POKE 705,46:POKE 53256,0:POKE 53257,0:POKE 559,46:POKE 53277,255

 

CCC65:

1800 GRAPHICS U0:POKE 54279,116:POKE 559,46:POKE 53277,255:POKE 756,120:GOTO 5000

 

 

 

 

 

 

Crush Crumble and Chomp.atr

  • Thanks 1
Link to comment
Share on other sites

Anything setting the top bit actually.

But really, there's no reason legacy software should put invalid values in GRACTL.  Generally the register is a set once usage case, mainly when you're setting up to use PMGs.

The exception being the TRIG latch (bit 2) where you would toggle it off to reset the latching - though I can't think of any software that uses the TRIG latching and there's no point using it for games.

  • Like 1
Link to comment
Share on other sites

49 minutes ago, Rybags said:

But really, there's no reason legacy software should put invalid values in GRACTL.

Exactly, and hence the unlock mechanism works as intended 999 out of 1,000 times. Much like the repeated register 'bug' in U1MB, which was also pretty much a non-issue until parties intent on making a song and dance about non-standard hardware behaviour and relentlessly exploiting same came along.

  • Like 1
Link to comment
Share on other sites

11 hours ago, Simius said:

It's a BASIC ROM, specifically the POKE command:

 

JSR LETNUM

LDA FR0

STA POKADR

LDA FR0+1

STA POKADR+1

JSR GETBYT

LDA FR0

LDY #$00

STA (POKADR),Y

RTS

 

This means the game's code simply contains POKE GRACTL,$FF

 

INIT:

80 POKE 54279,116:POKE 704,46:POKE 705,46:POKE 53256,0:POKE 53257,0:POKE 559,46:POKE 53277,255

 

CCC65:

1800 GRAPHICS U0:POKE 54279,116:POKE 559,46:POKE 53277,255:POKE 756,120:GOTO 5000

 

 

 

 

 

 

Crush Crumble and Chomp.atr 90.02 kB · 1 download

THANKS!!

 

Did not download the image, just went straight to INIT and CCC65 Basic files and updated lines 80 and 1800, respective ($07 on GRACTL works perfectly !!).

 

Thankful for your time tracing this. I really need to get my act around current debugging tools, as I should have (at least) being able to trace down the specific places where GRACTL was being set on CCChump. 

 

This case may also be a reminder of how to even further harden (in the future) access to SPECEN (and features) in Sophia-2. It was surprisingly simple for a rogue $FF to alter course of things, unexpectedly. In retrospect, writing a careless $FF to GRACTL back then may have been "Ok", since GTIA bits 7-3 were presumed "dead",  by specs.

 

Any other piece of legacy SW doing this, will crash as well. (I have NOT found it, though).

 

Cheers! 

Edited by Faicuai
Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...