Thanks! It's really cool to see that it's working. Especially knowing what goes on in the background :)ijor wrote: 26 Jul 2022 20:48 Very nice! :) But why are you using an interrupt routine to copy the data? Can't you just write to fast RAM on the fly? Or you don't have enough CPLD resources to implement that?
There is certainly a huge struggle fitting everything on the CPLD at the moment, but to be honest another big factor is my own lack of experience.
I'm quite comfortable around software and how to interact with and (ab)use hardware on a low level but I consider myself a bit of a beginner when it comes to making hardware.
The very first proof-of-concept was a rather convoluted full-software implementation using the MMU to write protect pages for trapping and emulating hardware writes.. The current cpld assisted solution is much less complicated, but being primarily a software guy actually took me longer to implement :)
Would be better to let the data into fastram on the fly as you said, and I think there's enough info available to let that happen (given more cpld resources).
