REV 3 - REV 5 - The beginning (ST536)

All about the ST536 030 ST booster.
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - The beginning

Post by exxos »

Been looking at the TTRAMTOS program and it looks like its patching all sorts in TOS :roll: problem is, its all hardwired into the code, so any TOS version we compile will break its patch locations :roll:

So when @Icky catches up with my 27 emails, I hope we can actually fix TOS to stop all this sillyness and not have to bother with TOS patch bodges at all.
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
Badwolf
Posts: 2231
Joined: Tue Nov 19, 2019 12:09 pm

Re: REV 3 - The beginning

Post by Badwolf »

exxos wrote: Wed May 05, 2021 10:45 pm Been looking at the TTRAMTOS program and it looks like its patching all sorts in TOS :roll: problem is, its all hardwired into the code, so any TOS version we compile will break its patch locations :roll:

So when @Icky catches up with my 27 emails, I hope we can actually fix TOS to stop all this sillyness and not have to bother with TOS patch bodges at all.
One of my (many and far off) long term goals is to patch TOS4 to allow software blitting again. That'd be a precursor to only using hardware blitting when going from ST to ST RAM and therefore, in effect, baking in BLITFIX.

Whilst none of this work is directly related, hopefully it give the whole TOS patching movement a bit more impetus. :)

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
DSTB1 Open source 16Mhz 68k and AltRAM accelerator for the ST
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - The beginning

Post by exxos »

The plot thickens... The floppy malfunctions only when the caches are on, but only when TOS is running from fast ram...BUT.. It only malfunctions when the -38 DMA is used.. When I swapped to a IMP DMA everything works fine... Which makes no sense at all...
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
JezC
Posts: 2081
Joined: Mon Aug 28, 2017 11:44 pm

Re: REV 3 - The beginning

Post by JezC »

exxos wrote: Fri May 07, 2021 11:37 am The plot thickens... The floppy malfunctions only when the caches are on, but only when TOS is running from fast ram...BUT.. It only malfunctions when the -38 DMA is used.. When I swapped to a IMP DMA everything works fine... Which makes no sense at all...
Ah, when I get a couple of these boards from you along with the H5C (and the rest of the bits from Farnell!) then I might be in a position to compare/confirm your findings - I have a few IMP DMA chips as well as the more standard -38 devices...
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - The beginning

Post by exxos »

JezC wrote: Tue Jun 29, 2021 5:42 pm Ah, when I get a couple of these boards from you along with the H5C (and the rest of the bits from Farnell!) then I might be in a position to compare/confirm your findings - I have a few IMP DMA chips as well as the more standard -38 devices...
Yeah, its a odd one. 2 brands of DMA causing different things.. :shrug:
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
JezC
Posts: 2081
Joined: Mon Aug 28, 2017 11:44 pm

Re: REV 3 - The beginning

Post by JezC »

@exxos Well, won't be the first time and probably not the last.

If we can find a working combination in the meantime then we can get other people going and try to dig further from there.

At least it works...and I wonder if the floppy problems I have with the rev 2 TF536 are related?
Didn't have the IMP DMA to try before... might be worth a go now that I do....
User avatar
stephen_usher
Posts: 5580
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: REV 3 - The beginning

Post by stephen_usher »

exxos wrote: Fri May 07, 2021 11:37 am The plot thickens... The floppy malfunctions only when the caches are on, but only when TOS is running from fast ram...BUT.. It only malfunctions when the -38 DMA is used.. When I swapped to a IMP DMA everything works fine... Which makes no sense at all...
Well, it could be the noise or voltage level tolerances in the chip design It could be just the attenuation or length of the track runs in the chip or the layout of the components. Or it could be the mask registration was slightly different on the production line etc. The DMA chip seems marginal at the best of times.
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.
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - The beginning

Post by exxos »

I think TOS just doesn't like running from fast ram. Problem being as well, programs like maprom use PP's hacking code to patch TOS to run at all. As anders is unlikely to develop the software further, it's just not gong to be fixed. Even so I'm not sure it's worth the trouble anyway.

TOS could be compiled to run at a different address but that would take some doing, would need some sort of bootloader to load TOS into RAM..it's just one big messy hackjob. I'm not sure how EMUTOS operates with fast ram or how to copy it there. Programs seem non-existent.

I think aside from the 32bit aspect, I'll think about copying ROM into SRAM. In fact flashy clock was designed to do just that. But it didn't happen as I ran out of space in the PLD :roll:

I'm plotting a 3.3v board for the H5. Mostly because its needed for the SEC booster. Plus when we get faster bus speeder on the H5, this board is ready to go anyway. Point being ROM will still run from its proper address space only it will be copied to a small SRAM on power up. Then no ugly code hacks are needed at all.
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
Badwolf
Posts: 2231
Joined: Tue Nov 19, 2019 12:09 pm

Re: REV 3 - The beginning

Post by Badwolf »

exxos wrote: Wed Jul 28, 2021 3:56 pm I think TOS just doesn't like running from fast ram. Problem being as well, programs like maprom use PP's hacking code to patch TOS to run at all. As anders is unlikely to develop the software further, it's just not gong to be fixed. Even so I'm not sure it's worth the trouble anyway.
That's interesting. I'm not much of an assembly coder so I wasn't clear what was going on, but I was looking at MapROM as an example of MMU usage and didn't notice TOS patches.

https://github.com/agranlund/tftools/bl ... C/MAPROM.S

I've not really understood the problem entirely, but MapROM will obviously only work with the CPU. Any DMA access to ROM will still go to the motherboard-accessible location. Any chance that's an issue? (Although I can't immediately see how the floppy would need to access ROM or the low RAM.)

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
DSTB1 Open source 16Mhz 68k and AltRAM accelerator for the ST
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: REV 3 - The beginning

Post by exxos »

Badwolf wrote: Wed Jul 28, 2021 4:40 pm
That's interesting. I'm not much of an assembly coder so I wasn't clear what was going on, but I was looking at MapROM as an example of MMU usage and didn't notice TOS patches.

https://github.com/agranlund/tftools/bl ... C/MAPROM.S
I don't remember exactly, but i think TOS does jumps to specific ROM locations, rather than jumps to labels or whatever. So the patch table has a list of addresses to patch.. Which varies on TOS version, language etc so it pretty much renders maprom useless as it uses the patch tables PP created. I never got RAMTOS to work with any ROM image. But problem is, I doubt it was ever tested much. There could be other ROM jumps not patched which may only show up on a 030 CPU. As you can imagine, the whole concept is a hacky mess.
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.
Post Reply

Return to “ST536 030 ST ACCELERATOR”