Page 168 of 172
Re: Raven. A homemade Atari-like computer
Posted: 05 Oct 2026 19:58
by agranlund
Got struck with an idea while driving home from work and had to try it..
It's not a crazy performance bump, but for only a few lines of code it's not a bad free performance boost.
For now only applied on the SVGA driver but I should be able to make this global so it effects ET4000 and Mach as well.
There are further optimisations which could be made in the same spirit but requires more work.
Cirrus GD5434 now vs previous driver:

- gd5434_ci_vs_cp.png (898.67 KiB) Viewed 262 times

- gd5434_ci.png (901.7 KiB) Viewed 262 times

- gd5434_ci_vs_cp_kronos.png (562.14 KiB) Viewed 262 times
Re: Raven. A homemade Atari-like computer
Posted: 05 Oct 2026 20:30
by PhilC
@agranlund that's a pretty good increase for just a few lines of code.
Re: Raven. A homemade Atari-like computer
Posted: 06 Oct 2026 22:47
by agranlund
PhilC wrote: 05 Oct 2026 20:30
@agranlund that's a pretty good increase for just a few lines of code.
Yep, I realised if I tag the vram pages as cache-inhibited-imprecise to take advantage of the storebuffer fifo then the cpu can keep doing a little bit of meaningful work while an ISA transfer is happening.
Re: Raven. A homemade Atari-like computer
Posted: 07 Oct 2026 08:43
by PhilC
agranlund wrote: 06 Oct 2026 22:47
PhilC wrote: 05 Oct 2026 20:30
@agranlund that's a pretty good increase for just a few lines of code.
Yep, I realised if I tag the vram pages as cache-inhibited-imprecise to take advantage of the storebuffer fifo then the cpu can keep doing a little bit of meaningful work while an ISA transfer is happening.
I wish I had room in my brain for stuff like that, let alone coming up with the idea whilst driving home :D
Re: Raven. A homemade Atari-like computer
Posted: 07 Oct 2026 11:25
by mikro
agranlund wrote: 06 Oct 2026 22:47
Yep, I realised if I tag the vram pages as cache-inhibited-imprecise to take advantage of the storebuffer fifo then the cpu can keep doing a little bit of meaningful work while an ISA transfer is happening.
You could have asked me, I did the same for CTPCI and SuperVidel years ago. ;)
Re: Raven. A homemade Atari-like computer
Posted: 07 Oct 2026 20:57
by agranlund
mikro wrote: 07 Oct 2026 11:25
agranlund wrote: 06 Oct 2026 22:47
Yep, I realised if I tag the vram pages as cache-inhibited-imprecise to take advantage of the storebuffer fifo then the cpu can keep doing a little bit of meaningful work while an ISA transfer is happening.
You could have asked me, I did the same for CTPCI and SuperVidel years ago. ;)
Actually, yes! It's hard to ask about what you don't know but yes, it makes sense you did the same for those way back then :)
Probably worth me having a look at more of those sources in case there are other nice tidbits to learn from.
Or if you still have some ancient knowledge of other clever things that was done for CT60/PCI/SV that I could benefit from.
Re: Raven. A homemade Atari-like computer
Posted: 08 Oct 2026 00:28
by mikro
agranlund wrote: 07 Oct 2026 20:57It's hard to ask about what you don't know but yes, it makes sense you did the same for those way back then :)
Fair point. ;-)
Probably worth me having a look at more of those sources in case there are other nice tidbits to learn from.
Actually, there is nothing to look at. I had a conversation with the Nature brothers back in 2014 where they mentioned that they are disabling cache for the whole SV memory area. I looked into 68060 UM how it's done and discovered that there are two models, precise and imprecise. So I just tried to change the PMMU to mark them as imprecise and voila. However the precise model has its use (naturally), for instance for areas which work with DMA you can't have it as imprecise.
Or if you still have some ancient knowledge of other clever things that was done for CT60/PCI/SV that I could benefit from.
Haha. The only thing I can think of is my measurements, as published on AF:
https://www.atari-forum.com/viewtopic.p ... 85#p478885 &
https://www.atari-forum.com/viewtopic.p ... 89#p478889.
TL; DR version is that: always use move16 when copying between TT and VRAM (any combination) and always use move.l when copying to ST RAM.
Re: Raven. A homemade Atari-like computer
Posted: 08 Oct 2026 15:00
by agranlund
Good read, funny you had the same idea 12 years earlier.
agranlund 2026: hmm, wonder if this might work. it does! I am so clever!
mikro 2014: hold my beer...
Re: Raven. A homemade Atari-like computer
Posted: 13 Oct 2026 07:02
by Atarian Computing
@agranlund Yo! I'm about to update my Raven to the latest release, but I can see you're about to release a new one. Is that imminent, and should I wait, or should I go ahead with the current release?
Re: Raven. A homemade Atari-like computer
Posted: 13 Oct 2026 12:11
by agranlund
Atarian Computing wrote: 13 Oct 2026 07:02
@agranlund Yo! I'm about to update my Raven to the latest release, but I can see you're about to release a new one. Is that imminent, and should I wait, or should I go ahead with the current release?
I’ll package the latest stuff tonight. Better to wait for that as it fixes some stuff I broke in the previous release :)