FreddyV wrote on 2020-12-08, 11:56:
I am interested to disassemble the PC1512 driver and optimize it, I may take a look and optimize these drivers as well, I see plenty of speed improvement that can be done 😀
(As You know, the PC1512 video is slow)
Is there any of these video mode supported by DOSBox ?
As keropi already said, use PCem! It is almost perfect for this kind of task.
However, you will need a convenient way to edit disk images. I'm using mtools.
If you already consider optimizing my code, as well, you could also try to write your own open source PC1512 driver and skip the disassembly process, entirely.
The Color 400 driver would be a good starting point. If you swap out the initialization and plane switching code, you should already get a picture, albeit with the wrong colors.
Then use two pixel format LUTs instead of one and four planes instead of two and you have a PC1512 driver!
To speed things up beyond code optimization, one could leave the intensity plane alone and create the 16 colors via dithering, instead, thanks to the pixel doubling.
It would not be ideal, but faster.
NewRisingSun wrote on 2020-12-08, 15:00:
You may denote in your github readme that the Tandy640 driver was written by me.
I'll put it in the next revamp of the readme. The existing "See Also" section is basically a dump of my bookmarks.
With a growing number of drivers, whether in the repository or linked, some sort of tabular layout with all the relevant information would look much cleaner.
Incidentally, I also discovered another Plantronics SCI driver on the web!
We have been wondering why nobody had written this kind of driver 30 years ago, earlier in this thread.
As it turns out someone had in fact written/modded a driver for Plantronics video, but had not published the result until 2019, namely in this PCem forum thread.
I have posted there a couple of weeks ago, but have not gotten an answer, yet.