ST SHIFTER operation ?

General discussions or ideas about hardware.
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: ST SHIFTER operation ?

Post by exxos »

keli wrote: Wed Nov 01, 2017 11:43 am Without checking, I'm afraid that the GLUE will only activate /CS for the first 17 of the 32 available addresses. If you try accessing the registers at 0xFF8262-0xFF826E frome code on an STF, do you get a bus error or will the /CS pin on the Shifter be pulled low?
17 is all I need, palette registers and control register. I was just saying the address space is 32 long, even though the shifter won't use them all.

Of course different on the TT, would need its 256 palette registers there, and need a bunch of address decoding etc..
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Smonson
Posts: 708
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: ST SHIFTER operation ?

Post by Smonson »

keli wrote: Wed Nov 01, 2017 11:43 am Without checking, I'm afraid that the GLUE will only activate /CS for the first 17 of the 32 available addresses. If you try accessing the registers at 0xFF8262-0xFF826E frome code on an STF, do you get a bus error or will the /CS pin on the Shifter be pulled low?
If that's the case, a simple way around it is to use register 0 for palette index and register 1 for the register itself, instead of colour 0 and 1, when in 256-colour mode.
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: ST SHIFTER operation ?

Post by exxos »

Small circuit update.. The registers select blocks now wired up..

I think the only thing which is not added so for, is the control register.. Currently everything on this circuit is wired for low resolution. Once the control register is added, the other resolutions will then be supported. Though I am not adding anything else this circuit now until the basic low resolution designs tested. Otherwise circuit is just going to be too complicated to debug if I add other things at this stage.
shifter_copy.jpg
shifter_copy.jpg (5.84 MiB) Viewed 3482 times

EDIT:

A few typo fixes later..
Capture.JPG
Capture.JPG (32.14 KiB) Viewed 3479 times

EDIT2:
I updated the 373 latches into a single block file, basically together 16 bit version. While I was messing about, I remove the tri-state outputs these latches, thinking it would reduce the logic count. But it seems it did not make any difference and the logic out as exactly as before.

So either my test wasn't good enough, or the compiler is actually really good in optimising circuits.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
exxos
Site Admin
Site Admin
Posts: 23491
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: ST SHIFTER operation ?

Post by exxos »

shifter_copy.jpg
shifter_copy.jpg (5.9 MiB) Viewed 3468 times

Added in the control register. It does not do actual functions yet, but the register should at least be readable and writable to.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Smonson
Posts: 708
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: ST SHIFTER operation ?

Post by Smonson »

keli wrote: Wed Nov 01, 2017 11:43 am Without checking, I'm afraid that the GLUE will only activate /CS for the first 17 of the 32 available addresses. If you try accessing the registers at 0xFF8262-0xFF826E frome code on an STF, do you get a bus error or will the /CS pin on the Shifter be pulled low?
I tested this tonight by adding extra registers in my FPGA-shifter, and they can be written and read back OK at all 32 addresses.
Post Reply

Return to “HARDWARE DISCUSSIONS”