Another PiStorm Blog
Re: Another PiStorm Blog
That's a really good finding!
- stephen_usher
- Site sponsor

- Posts: 7454
- Joined: Mon Nov 13, 2017 7:19 pm
- Location: Oxford, UK.
- Contact:
Re: Another PiStorm Blog
Well, I cleared the bench and put the PiStorm back into the ST... I think it's broken. I can't get it to pass any of the ataritest stuff with writing and reading from memory completely unreliable.
Checking with the 'scope the address bus lines seem to being driven OK, though they never get above 3.5V. The data bus all seems to look OK, just as noisy as ever. All the signals seem to be sane and the same on the PiSTorm pins and the 68000 next to it.
Probably time to give up on that then.
Checking with the 'scope the address bus lines seem to being driven OK, though they never get above 3.5V. The data bus all seems to look OK, just as noisy as ever. All the signals seem to be sane and the same on the PiSTorm pins and the 68000 next to it.
Probably time to give up on that then.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
Re: Another PiStorm Blog
Not giving up completely, are you?
As soon as I finish my STacy upgrades and get it back together (and working - that would be nice!),
I'm going to socket a 2nd STacy motherboard that I have and set it up again for PiSTorm testing.
Success sure seems to be a long way off at this point in time but hey, one never knows...
As soon as I finish my STacy upgrades and get it back together (and working - that would be nice!),
I'm going to socket a 2nd STacy motherboard that I have and set it up again for PiSTorm testing.
Success sure seems to be a long way off at this point in time but hey, one never knows...
Welcome To DarkForce! www.darkforce.org "The Fuji Lives.!"
Atari SW/HW based BBS-Telnet:darkforce-bbs.dyndns.org 1040
Atari SW/HW based BBS-Telnet:darkforce-bbs.dyndns.org 1040
Re: Another PiStorm Blog
Don't give up while Cryptodad keeps working on it even under his circumstances!
- stephen_usher
- Site sponsor

- Posts: 7454
- Joined: Mon Nov 13, 2017 7:19 pm
- Location: Oxford, UK.
- Contact:
Re: Another PiStorm Blog
It seems that the Exxos/Badwolf STE PiStorm is an order of magnitude more stable than the standard A500 Rev.B one.
Then again, people who are having successes all seem to have an IMP chipset in their ST/STE.
Then again, people who are having successes all seem to have an IMP chipset in their ST/STE.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
- stephen_usher
- Site sponsor

- Posts: 7454
- Joined: Mon Nov 13, 2017 7:19 pm
- Location: Oxford, UK.
- Contact:
Re: Another PiStorm Blog
Well, that doesn't look good... The bottom trace is /AS and the top A1...
This is while the ataritest program tries to clear memory. Basically it's changing the address whilst (a) having /AS still asserted and, (b) the data on the bus may or may not be changing. It's amazing that it works at all for some people.
This is while the ataritest program tries to clear memory. Basically it's changing the address whilst (a) having /AS still asserted and, (b) the data on the bus may or may not be changing. It's amazing that it works at all for some people.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
- stephen_usher
- Site sponsor

- Posts: 7454
- Joined: Mon Nov 13, 2017 7:19 pm
- Location: Oxford, UK.
- Contact:
Re: Another PiStorm Blog
This is going down one of these rabbit holes where you need a fully wired 68000 logic analyser set-up to see just what's going wrong.
P.S. It seems that the ataritest program is also blindly writing/reading from memory and ignoring /DTACK. When 'scoping /DTACK quite often the line would go low about 2/3rds or 3/4trs of the way through the /AS assertion and hence if this is assuming that it writing to memory it's not during a lot of those changes to the address bus.
P.S. It seems that the ataritest program is also blindly writing/reading from memory and ignoring /DTACK. When 'scoping /DTACK quite often the line would go low about 2/3rds or 3/4trs of the way through the /AS assertion and hence if this is assuming that it writing to memory it's not during a lot of those changes to the address bus.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
Re: Another PiStorm Blog
ataritest doesn't blindly read/write as you put it. The reads and writes follow the firmware state machine just as the emulator does.
DTACK assertion will vary; it depends upon the speed of the RAM/ROM. AS is asserted once the emulator (or ataritest) has setup the address, and only then, does the state machine proceed. Unfortunately, this can lead to longer bus-cycles if the Pi is distracted shall we say.
I have looked at your AS monitoring, and it has occurred to me that there is a problem with how the PiSTorm puts the address on the Atari bus, or more to the point, when it puts the address on the bus. So I have reworked that and a firmware has been uploaded on the Discord channel for you try if you wish.
DTACK assertion will vary; it depends upon the speed of the RAM/ROM. AS is asserted once the emulator (or ataritest) has setup the address, and only then, does the state machine proceed. Unfortunately, this can lead to longer bus-cycles if the Pi is distracted shall we say.
I have looked at your AS monitoring, and it has occurred to me that there is a problem with how the PiSTorm puts the address on the Atari bus, or more to the point, when it puts the address on the bus. So I have reworked that and a firmware has been uploaded on the Discord channel for you try if you wish.
ATARI STfm, STe, Mega ST, TT
Amstrad CPC464, CPC6128
PiStorm dev - https://github.com/gotaproblem/pistorm-atari
PiStorm JIT dev - https://github.com/gotaproblem/pistorm-atari-jit
Pico HDC - https://bbansolutions.co.uk
Amstrad CPC464, CPC6128
PiStorm dev - https://github.com/gotaproblem/pistorm-atari
PiStorm JIT dev - https://github.com/gotaproblem/pistorm-atari-jit
Pico HDC - https://bbansolutions.co.uk
- stephen_usher
- Site sponsor

- Posts: 7454
- Joined: Mon Nov 13, 2017 7:19 pm
- Location: Oxford, UK.
- Contact:
Re: Another PiStorm Blog
Thanks for that, I obviously misinterpreted what you said earlier in the week when you said that it didn’t use the full bus cycle as the emulator wasn’t running.
I’ll try the new firmware when I can. I’m unfortunately out all day today and so won’t be able to look at it.
I’ll try the new firmware when I can. I’m unfortunately out all day today and so won’t be able to look at it.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
Re: Another PiStorm Blog
Yeah you're right. I did say that.stephen_usher wrote: Sun Oct 06, 2024 7:48 am Thanks for that, I obviously misinterpreted what you said earlier in the week when you said that it didn’t use the full bus cycle as the emulator wasn’t running.
I’ll try the new firmware when I can. I’m unfortunately out all day today and so won’t be able to look at it.
ATARI STfm, STe, Mega ST, TT
Amstrad CPC464, CPC6128
PiStorm dev - https://github.com/gotaproblem/pistorm-atari
PiStorm JIT dev - https://github.com/gotaproblem/pistorm-atari-jit
Pico HDC - https://bbansolutions.co.uk
Amstrad CPC464, CPC6128
PiStorm dev - https://github.com/gotaproblem/pistorm-atari
PiStorm JIT dev - https://github.com/gotaproblem/pistorm-atari-jit
Pico HDC - https://bbansolutions.co.uk
