You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
Please make sure you are logged in for at least 2 hours
to make sure your IP is added into the firewall whitelist, thanks :)

TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1360
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Wed Oct 07, 2020 8:32 pm The solution to this is to assign one of the INTSIG wires to A5 in the CPLD.

assign INTSIG[x] = A[5]; etc.

This is why i have spare lines for. :)
Last missing to make whole of it to make sense to me are _IORD/_IOWR signals. How would I replicate this?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5675
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: Wed Oct 07, 2020 9:06 pm Last missing to make whole of it to make sense to me are _IORD/_IOWR signals. How would I replicate this?
IORD = Bus request + RW high
IORW = Bus Request + RW low

So you dont need to emulate these... this can be abstracted away.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1360
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Wed Oct 07, 2020 9:25 pm
arkadiusz.makarenko wrote: Wed Oct 07, 2020 9:06 pm Last missing to make whole of it to make sense to me are _IORD/_IOWR signals. How would I replicate this?
IORD = Bus request + RW high
IORW = Bus Request + RW low

So you dont need to emulate these... this can be abstracted away.

Can I just read only value of /RW then? I will be decoded address + RW + bits of Address line, so I would have all states required to emulate RTC?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5675
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: Wed Oct 07, 2020 10:22 pm
terriblefire wrote: Wed Oct 07, 2020 9:25 pm

IORD = Bus request + RW high
IORW = Bus Request + RW low

So you dont need to emulate these... this can be abstracted away.

Can I just read only value of /RW then? I will be decoded address + RW + bits of Address line, so I would have all states required to emulate RTC?
Yeah i think thats the case. I cant remember if there was also a BUSREQ pin?
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1360
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Wed Oct 07, 2020 10:26 pm
arkadiusz.makarenko wrote: Wed Oct 07, 2020 10:22 pm


Can I just read only value of /RW then? I will be decoded address + RW + bits of Address line, so I would have all states required to emulate RTC?
Yeah i think thats the case. I cant remember if there was also a BUSREQ pin?
Those are available on edge connection, but a lot of ?? on descriptions.

111 /CPU_BR CPU bus request??
112 /EXP_BG Expansion bus granted??
113 /CPU_BG CPU bus granted??
114 /EXP_BR Expansion bus request??

I will grab and test it on A1200 on clockport first if I manage to emulate MSM6242 then I will go back and test it on Riser (less moving parts)
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5675
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

No those are the arb signals...

The interrupt should be enough.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
terriblefire
Admin sponsor
Admin sponsor
Posts: 5675
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Im happy to test this out on my CD32 when you're ready. I still have this riser and a CD32 here.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1360
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Thu Oct 08, 2020 7:46 pm Im happy to test this out on my CD32 when you're ready. I still have this riser and a CD32 here.
As soon as I will have something to show...
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1360
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

:D

My first verilog that actually passed syntax check and I managed to program cpld

Code: Select all

module address_decoder(
    input [23:16] A,
    input A3,
    input A5,
    output INTSIG2,
    output INTSIG3,
    output INTSIG5
    );

assign INTSIG3 = A3;
assign INTSIG5 = A5;
assign INTSIG2 = A[23:16]==8'b1101_1100; //RTC registers at $DC0000 - $DCFFFF 


endmodule

and mappings

Code: Select all

NET "A3"  LOC = "P32"  ;
NET "A5"  LOC = "P34"  ;
NET "A<16>"  LOC = "P47"  ;
NET "A<17>"  LOC = "P48"  ;
NET "A<18>"  LOC = "P57"  ;
NET "A<19>"  LOC = "P56"  ;
NET "A<20>"  LOC = "P51"  ;
NET "A<21>"  LOC = "P52"  ;
NET "A<22>"  LOC = "P50"  ;
NET "A<23>"  LOC = "P49"  ;
NET "INTSIG2"  LOC = "P23"  ;
NET "INTSIG3"  LOC = "P24"  ;
NET "INTSIG5"  LOC = "P12"  ;
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1360
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

I managed to detect RTC_SEL interrupt when looking for RTC clock in Amiga Tool Kit, so at least I know that this bit works.
I can read SOME addresses as well.
So it is time to try to put something on the bus.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
Post Reply

Return to “TF CD32 Riser”