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
BOOKMARK THIS PAGE !
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
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!

exxos blog - random goings on

Blogs & guides and tales of woo by forum members.
ijor
Posts: 825
Joined: 30 Nov 2018 20:45

Re: exxos blog - random goings on

Post by ijor »

exxos wrote: 22 May 2023 11:57 *should* yes. But something screws up with the CPU with the delay which can only be busgrant related as the CPU doesn't do much else. What I have done now is enter 32MHz on BGACK and its filled my 200MB partition up twice without tripping up once. Though I think BGACK is more complicated than one tends to think.

I guess BR comes too late, ends up tripping over to the next clock cycle, then everything is late after that.
Nothing wrong should happen if BR is delayed for a few cycles. If BR is delayed, then just the whole DMA transaction is delayed. GLUE (or GST in the STE) doesn't expect any specific timing between BR & BG. And as a matter of fact, the timing is normally not constant (the diagram you posted is a bit misleading in this regard). GLUE will wait for the CPU grating the bus as much as needed.

Conceivably, if DMA is delayed too much and the device pushes data too fast, there is the possibility that the DMA will fail by overrun. But this can only happen when reading a sector, not when writing. Because when writing, the computer sets the DMA pace, not the device.

However be careful with manipulating the DMA signals without synchronization with the other bus control signals. For example, the meaning of BG depends on AS (and also DTACK to a lesser extent).
Badwolf wrote: 22 May 2023 11:30During DMA cycle the CPU is dormant ...
May be just for the record, but note this is not accurate. The CPU will continue processing as long as it doesn't need the bus. In theory, if the CPU happens to be processing an instruction that takes many internal cycles (such as DIV or MUL), it is perfectly possible that DMA will not produce any delay whatsoever. In practice this will rarely happen, if at all.
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
exxos
Site Admin
Site Admin
Posts: 28290
Joined: 16 Aug 2017 23:19
Location: UK

Re: exxos blog - random goings on

Post by exxos »

ijor wrote: 22 May 2023 13:32 Nothing wrong should happen if BR is delayed for a few cycles. If BR is delayed, then just the whole DMA transaction is delayed. GLUE (or GST in the STE) doesn't expect any specific timing between BR & BG. And as a matter of fact, the timing is normally not constant (the diagram you posted is a bit misleading in this regard). GLUE will wait for the CPU grating the bus as much as needed.
Yeah, I totally agree with you, but something gets screwed up nonetheless. Literally just 10ns delay on the CPU clock and the DMA starts failing. The system will run all day on 8Mhz or 32MHz without any issues otherwise. It has nothing to do with the actual DMA chip itself either as the "Good dma" actually works worse.

I think in one test I inverted the clock and IIRC @dad664npc reported it was more reliable, but the system was very slow.

I think if BR was delayed by a full clock or more, it probably would work, but a very small delay as just a few ns, something trips up.

It's so sensitive that even offloading the CPU to my booster board upsets the thing. 33pF on the 8Mhz clock seems to cause the same issues, only the blitter seems to screw up as it locks up just before it gets to desktop.

I've seen it before were swapping the CPU just from one brand to another can make or break DMA issues. So something is going on relating to the 8MHz clock timing to the CPU and DMA cycles.

There is some strange borderline timing somewhere but no idea what. But I just don't really have the time or equipment to invest in diagnosing all these bizarre issues all the time.
User avatar
exxos
Site Admin
Site Admin
Posts: 28290
Joined: 16 Aug 2017 23:19
Location: UK

Re: exxos blog - random goings on

Post by exxos »

My box of 30 pin simms just arrived :D Now I will be busy for the next foreseeable forever in testing all 400 of them :roll:

IMG_0656.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
JezC
Posts: 2777
Joined: 28 Aug 2017 23:44

Re: exxos blog - random goings on

Post by JezC »

exxos wrote: 22 May 2023 15:43 My box of 30 pin simms just arrived :D Now I will be busy for the next foreseeable forever in testing all 400 of them :roll:
I expect to see another post relating to a faulty STE in the very near future!

:poke: :hide:
User avatar
exxos
Site Admin
Site Admin
Posts: 28290
Joined: 16 Aug 2017 23:19
Location: UK

Re: exxos blog - random goings on

Post by exxos »

JezC wrote: 22 May 2023 17:25 I expect to see another post relating to a faulty STE in the very near future!
Yeah, you're probably right. I need to find my test machine which has the metal clip sockets I fitted from the last time I destroyed it testing simms :lol:
User avatar
exxos
Site Admin
Site Admin
Posts: 28290
Joined: 16 Aug 2017 23:19
Location: UK

Re: exxos blog - random goings on

Post by exxos »

Had to connect my other STE up as the SIMM sockets are going iffy already. This one has my previous booster installed (solder in type) .

This one does not have the clock buffer but I tested it because it was unstable.. And...

IMG_0659.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
sporniket
Site sponsor
Site sponsor
Posts: 1163
Joined: 26 Sep 2020 21:12
Location: France

Re: exxos blog - random goings on

Post by sporniket »

That's quite an undershoot. The overshoot is high too.
User avatar
exxos
Site Admin
Site Admin
Posts: 28290
Joined: 16 Aug 2017 23:19
Location: UK

Re: exxos blog - random goings on

Post by exxos »

sporniket wrote: 23 May 2023 16:48 That's quite an undershoot. The overshoot is high too.
Yeah it's on the external blitter machines, its really bad on those boards.
User avatar
exxos
Site Admin
Site Admin
Posts: 28290
Joined: 16 Aug 2017 23:19
Location: UK

Re: exxos blog - random goings on

Post by exxos »

BR on the external blitter boards is pretty bad as well.

IMG_0660.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
exxos
Site Admin
Site Admin
Posts: 28290
Joined: 16 Aug 2017 23:19
Location: UK

Re: exxos blog - random goings on

Post by exxos »

Thought I would do a timed test on how long it takes a diagnostic cartridge to test 4MB RAM in 8MHz and the STE boosters 32MHz mode. Rather a significant difference despite RAM itself not running any faster!

8MHz = 1:38
32MHz = 0:35

~280% speed at 32MHz 8-)


Return to “MEMBER BLOGS”

Who is online

Users browsing this forum: apple [bot], CCBot, kodak80 and 10 guests