Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Mr. Watson, come here, I want you." -- Alexander Graham Bell


devel / comp.sys.apple2.programmer / Re: GS memory expansion timing

SubjectAuthor
* GS memory expansion timingwoodsworth1
`* Re: GS memory expansion timingAntoine Vignau
 `* Re: GS memory expansion timingwoodsworth1
  `* Re: GS memory expansion timingfadden
   `- Re: GS memory expansion timingwoodsworth1

1
GS memory expansion timing

<b783f690-a870-42ce-8c20-fe1e406ef8a0n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=298&group=comp.sys.apple2.programmer#298

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:ac8:5a84:0:b0:3ef:337b:4fce with SMTP id c4-20020ac85a84000000b003ef337b4fcemr3667258qtc.6.1682231748729;
Sat, 22 Apr 2023 23:35:48 -0700 (PDT)
X-Received: by 2002:a81:ad1c:0:b0:54f:9364:608f with SMTP id
l28-20020a81ad1c000000b0054f9364608fmr3772306ywh.2.1682231748474; Sat, 22 Apr
2023 23:35:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Sat, 22 Apr 2023 23:35:48 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=211.30.16.78; posting-account=bXd4NQoAAACpAlr15HM5rA6SsmklBeju
NNTP-Posting-Host: 211.30.16.78
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b783f690-a870-42ce-8c20-fe1e406ef8a0n@googlegroups.com>
Subject: GS memory expansion timing
From: woodswor...@gmail.com (woodsworth1)
Injection-Date: Sun, 23 Apr 2023 06:35:48 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1263
 by: woodsworth1 - Sun, 23 Apr 2023 06:35 UTC

Is there some place where I can find information about the iigs memory expansion connector - in particular timing diagrams and the way address signals are multiplexed to create the FRA9..0 signals for at /CRAS and /CCAS?

Its something missing from the hardware manual

thanks.

Re: GS memory expansion timing

<c76be215-1a1e-45d5-9c49-5fe2deb71689n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=299&group=comp.sys.apple2.programmer#299

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:ac8:7d94:0:b0:3e6:970e:a405 with SMTP id c20-20020ac87d94000000b003e6970ea405mr3879905qtd.6.1682278386180;
Sun, 23 Apr 2023 12:33:06 -0700 (PDT)
X-Received: by 2002:a81:ae51:0:b0:54e:d618:f86c with SMTP id
g17-20020a81ae51000000b0054ed618f86cmr4718912ywk.1.1682278385878; Sun, 23 Apr
2023 12:33:05 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Sun, 23 Apr 2023 12:33:05 -0700 (PDT)
In-Reply-To: <b783f690-a870-42ce-8c20-fe1e406ef8a0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.124.249.180; posting-account=c4quJwoAAABUj_DOmUN3HIuXxN1tF7gT
NNTP-Posting-Host: 82.124.249.180
References: <b783f690-a870-42ce-8c20-fe1e406ef8a0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c76be215-1a1e-45d5-9c49-5fe2deb71689n@googlegroups.com>
Subject: Re: GS memory expansion timing
From: ntn.vig...@gmail.com (Antoine Vignau)
Injection-Date: Sun, 23 Apr 2023 19:33:06 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1262
 by: Antoine Vignau - Sun, 23 Apr 2023 19:33 UTC

Hi,
Does pages 157+ of http://www.brutaldeluxe.fr/documentation/cortland/v3_01_CortlandHardwareReference.pdf help?
--
Antoine

Re: GS memory expansion timing

<9c3531ec-dfd5-4dc6-93c3-efb8f201200fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=300&group=comp.sys.apple2.programmer#300

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:ac8:5a84:0:b0:3ef:3126:7dca with SMTP id c4-20020ac85a84000000b003ef31267dcamr5171285qtc.2.1682330762044;
Mon, 24 Apr 2023 03:06:02 -0700 (PDT)
X-Received: by 2002:a25:7713:0:b0:b98:6352:be1b with SMTP id
s19-20020a257713000000b00b986352be1bmr6799429ybc.13.1682330761783; Mon, 24
Apr 2023 03:06:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Mon, 24 Apr 2023 03:06:01 -0700 (PDT)
In-Reply-To: <c76be215-1a1e-45d5-9c49-5fe2deb71689n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=211.30.16.78; posting-account=bXd4NQoAAACpAlr15HM5rA6SsmklBeju
NNTP-Posting-Host: 211.30.16.78
References: <b783f690-a870-42ce-8c20-fe1e406ef8a0n@googlegroups.com> <c76be215-1a1e-45d5-9c49-5fe2deb71689n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9c3531ec-dfd5-4dc6-93c3-efb8f201200fn@googlegroups.com>
Subject: Re: GS memory expansion timing
From: woodswor...@gmail.com (woodsworth1)
Injection-Date: Mon, 24 Apr 2023 10:06:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: woodsworth1 - Mon, 24 Apr 2023 10:06 UTC

On Monday, April 24, 2023 at 5:33:06 AM UTC+10, Antoine Vignau wrote:
> Does pages 157+ of http://www.brutaldeluxe.fr/documentation/cortland/v3_01_CortlandHardwareReference.pdf help?

It doesn't. Thanks for the reference but it contains less information than the GS hardware reference although a couple of differences in the description. Also it indicates that the 14M signal is on memory the expansion connector when it is not (just phi2).

Anyway what I wanted to know is when in the phi2 cycle the 24 bit address is "known" to the exapnasion card. That would be when FRA9..0 in RAS and/or CAS have all of the low address bits. (the bank is on the data bus on the phi2 rising edge and A15..10 are valid at that time too). If I was doing it I would put A9..0 on FRA9..0 when they are valid (rising edge of phi2) and use them for the RAS address, and change to upper address/bank for CAS. That way the ROM address would not need to change giving maximum timie for a slow ROM to get its data out. But its not my design, so...

So I had a look at the signals on a DSO. As I suspecdted the phi2 (2.8MHz) clock is asymmetrical. Its derived from the 14M clock, but 2.8 = 14 / 5, which doesn't divide nicely, so the phi2 clock is low for two 14M cycles (about 140ns) and high for three 14M cycles (about 210ns) unless it is extended (for MEGA2 access synchronised to its 1MHz clock) when it could be high for quite a few 14M clock cycles.

The FPI chip seems to watch both edges of the 14M clock. I noticed that there are repetitive refresh cycles going to the memory expansion connector. These occur about every 3.5us, one going to each bank successively then repeating (that is the CROW<x> signals change for each refresh). The refresh is a CAS-before-RAS refresh cycle with the CAS being asserted for the entire high period of the phi2 clock (didn't see one happen while the phi2 cycle was being extended, though I didn't look for it) and the RAS being asserted a little later.

unfortuantely the FPI doesn't assert the CCAS and CRAS signals when not accessing the memory expansion so I need to figure an easy way of reading thos signals without wrecking a RAM card that I want to keep. The iie technical reference has pseudo timing diagrams and specifies the signals on hte multiplexed RAM address bus so I don't see why apple didn't make that available for the GS

Re: GS memory expansion timing

<85dab2f2-b33c-4b58-9b8e-63450060d3d5n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=302&group=comp.sys.apple2.programmer#302

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:6214:5617:b0:5ef:50c9:a8c6 with SMTP id mg23-20020a056214561700b005ef50c9a8c6mr2277856qvb.1.1682349389078;
Mon, 24 Apr 2023 08:16:29 -0700 (PDT)
X-Received: by 2002:a0d:ec49:0:b0:552:b607:634b with SMTP id
r9-20020a0dec49000000b00552b607634bmr6245120ywn.4.1682349388838; Mon, 24 Apr
2023 08:16:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Mon, 24 Apr 2023 08:16:28 -0700 (PDT)
In-Reply-To: <9c3531ec-dfd5-4dc6-93c3-efb8f201200fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.130.68.111; posting-account=UAtoeQoAAADrX7T-MHdWWRC4Fzf0dsLP
NNTP-Posting-Host: 24.130.68.111
References: <b783f690-a870-42ce-8c20-fe1e406ef8a0n@googlegroups.com>
<c76be215-1a1e-45d5-9c49-5fe2deb71689n@googlegroups.com> <9c3531ec-dfd5-4dc6-93c3-efb8f201200fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <85dab2f2-b33c-4b58-9b8e-63450060d3d5n@googlegroups.com>
Subject: Re: GS memory expansion timing
From: fad...@fadden.com (fadden)
Injection-Date: Mon, 24 Apr 2023 15:16:29 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1465
 by: fadden - Mon, 24 Apr 2023 15:16 UTC

You may want to ask on https://retrocomputing.stackexchange.com/. I've seen a little relevant traffic there, e.g. https://retrocomputing.stackexchange.com/q/10884/56, though that was talking about ROM access rather than RAM.

Re: GS memory expansion timing

<e5091e20-0257-4909-afb5-89b777c9f5d1n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=303&group=comp.sys.apple2.programmer#303

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:622a:44:b0:3e3:f70f:fb13 with SMTP id y4-20020a05622a004400b003e3f70ffb13mr5351355qtw.6.1682384030046;
Mon, 24 Apr 2023 17:53:50 -0700 (PDT)
X-Received: by 2002:a81:b60f:0:b0:54f:bb6f:3deb with SMTP id
u15-20020a81b60f000000b0054fbb6f3debmr7413314ywh.4.1682384028324; Mon, 24 Apr
2023 17:53:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Mon, 24 Apr 2023 17:53:48 -0700 (PDT)
In-Reply-To: <85dab2f2-b33c-4b58-9b8e-63450060d3d5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=211.30.16.78; posting-account=bXd4NQoAAACpAlr15HM5rA6SsmklBeju
NNTP-Posting-Host: 211.30.16.78
References: <b783f690-a870-42ce-8c20-fe1e406ef8a0n@googlegroups.com>
<c76be215-1a1e-45d5-9c49-5fe2deb71689n@googlegroups.com> <9c3531ec-dfd5-4dc6-93c3-efb8f201200fn@googlegroups.com>
<85dab2f2-b33c-4b58-9b8e-63450060d3d5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e5091e20-0257-4909-afb5-89b777c9f5d1n@googlegroups.com>
Subject: Re: GS memory expansion timing
From: woodswor...@gmail.com (woodsworth1)
Injection-Date: Tue, 25 Apr 2023 00:53:50 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3102
 by: woodsworth1 - Tue, 25 Apr 2023 00:53 UTC

On Tuesday, April 25, 2023 at 1:16:29 AM UTC+10, fadden wrote:
> You may want to ask on https://retrocomputing.stackexchange.com/. I've seen a little relevant traffic there, e.g. https://retrocomputing.stackexchange.com/q/10884/56, though that was talking about ROM access rather than RAM..

I looked, thank-you. Some related stuff but not what i was looking for.

So I sacrificed an old 256K (only) Apple branded GS memory card which I'm not sure if it worked anyway, and checked out the signals myself.

The falling edge of RAS during a memory expansion access cycle coincides with the rising edge of phi2. it is held low for three 14M cycles (about 210ns). In a read access the CAS is asserted 70ns later (one 14M cycle) and is released when RAS is also released (140ns), In a write access the CAS is asserted 35ns later than for a read (ie one and a half 14M clock cycles after RAS) and is still released when RAS is (105ns duration).

The signals are as follows (sorry about formatting):
RAS CAS [falling edges]
FRA0 A0 B0
FRA1 A1 A9 (MSEL= Hi) or B2 (MSEL = Low)
FRA2 A2 A10
FRA3 A3 A11
FRA4 A4 A12
FRA5 A5 A13
FRA6 A6 A14
FRA7 A7 A15
FRA8 A8 B1
FRA9 A9 A9 (MSEL = Hi) or B3 (MSEL = Low)

CROW<x> are B2 & B3 (MSEL = Hi) or B4 and B5 (MSEL = Low)

All bank signals are available on the data pin on the rising edge of Phi2.
The corollory is that on the rising edge of Phi2 the entire 24-bit address can be determined by the memory expansion card and that's what I wanted to know.

thanks everyone

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor