No, I didn't create minimig
![Wink ;)](./images/smilies/icon_e_wink.gif)
Great, any support with testing would be appreciated.apolkosnik wrote: ↑Fri Jul 03, 2020 1:17 pm I'd like to help with any of the menial tasks for any of these things.
Perhaps this could be useful to chaos https://github.com/michalsc/Emu68
i could connect your name with minimig , so it was AGA
In quality 68040 on the side of ARM it is possible to use implementation from https://github.com/aranym/aranymchaos wrote: ↑Tue Jul 07, 2020 9:02 amGreat, any support with testing would be appreciated.apolkosnik wrote: ↑Fri Jul 03, 2020 1:17 pm I'd like to help with any of the menial tasks for any of these things.
Perhaps this could be useful to chaos https://github.com/michalsc/Emu68
At the moment it's just a dumb framebuffer running from the same SDRAM as the Minimig memory (since that's all we have on MiST and TC64) - no blitter or hardware sprite. Max pixel clock of 56.75MHz in 15-bit, and 113.5MHz in 8-bit, but write speed suffers if you max it out.
Not directly, no - I think it would be as much work to make it run directly as it would be to run within the MiSTer framework - probably more since it assumes the availability of regular rather than DDR SDRAM.
Currently it's only implemented on the Turbo Chameleon 64, which has the same FPGA as the MiST (as opposed to MiSTer) but no supporting host CPU. It shouldn't be too difficult to port to other devices though. (It does also work on the DE10-lite, since I use one of those as a dev platform - but that's a totally different board, not remotely similar to the DE10-nano.)
I do, yes - however I had to make some changes when porting the core to TC64 which broke the MiST build in my repo - I haven't got around to un-breaking it yet!
Thanks for the offer - it's much appreciated. However, I think wheels are already in motion to bring a MiSTer my way - I'll let you know if for any reason it doesn't happen, if that's OK?
checking if the care package has departed lol
Well having done it once, the software side's easy for me now.
Sure - I did say that would be necessary for a *direct port* of what I already have working - but I realise on the MiSTer there's a better approach.Modification is SDRAM is not required. SDRAM is only for Chip RAM.
Awesome - many thanks for that.
OK, so the timings created in Picasso96Mode will be irrelevant - only the dimensions and pixel format will be needed.Grabulosaure wrote: ↑Sun Jul 19, 2020 8:48 pm The idea is to use the scaler to generate the image. You provide image size, colour depth, base address and a switch to activate the thing and it will display your framebuffer instead of the existing MiniMig core output.
OK, I've just done a quick test and it doesn't look like rounding up the row size will be a problem.Constraint is that line length is rounded to 256 bytes (example 800 pixels, 24bits = 2400 bytes => 2560 bytes per line)
ascal has been changed already current version in template has stride granularity of 16 bytes so it should be not a problem for RTG resolutions.robinsonb5 wrote: ↑Sun Jul 19, 2020 9:40 pm OK, I've just done a quick test and it doesn't look like rounding up the row size will be a problem.
Yes and no. HSync/Vsync has to be generated anyway from the core as scaler does sync to video. So basically scaler needs to know how fast to draw the video. But anyway it can be simplified as you don't need to generate blanking. Just HSync/Vsync will be enough.robinsonb5 wrote: ↑Sun Jul 19, 2020 9:40 pm OK, so the timings created in Picasso96Mode will be irrelevant - only the dimensions and pixel format will be needed.
this is why i've wrote above that even in framebuffer mode the core should generate the hsync/vsync.Grabulosaure wrote: ↑Wed Jul 29, 2020 11:44 am @robinsonb5
@sorgelig
When using vsync_adjust=2, the scaler (actually a separate block in sys) tries to synchronise input video with scaled output. If the framebuffer mode is used, that same block willl still try to synchronize video, even if the "input video" isn't displayed anymore.
I don't know how RTG boards work, but if some boards used synchro pulses as interrupts, or for double buffering, then the hsync/vsync signals generated by the scaler will be needed as inputs.