malikto999 escribió:If you have any questions about the above, please ask.
Hi,
thanks a lot for your kind explanations. The Disk Operating System, being made by Microsoft, uses the disk space the same way it does for the
CoCo computers. Dragon DOS is absolutely different, for instance each track has 18 sectors and there is no 1st cluster associated to the directory entry, instead the whole list of used sectors is included in the directory entry ...
The program works flawlessly and will be perfect for program/games that use the whole screen, say 320x200
; -----------------------------------------------------------------------------------------------------------
But, when converting Shark/Tiburón for the FM77AV, we must stick to the Dragon resolution, unless we do change all of the screens,
this means using 256x156 with uses only 4992 bytes and worst of all, they are not contiguous. After each line (32 bytes) there must be 8 zero bytes
to skip the not used VRAM area on the right of the screen.
Probably we could pad these lines with the 8 zeroes so that they could be read straight away without calculations needed to fill each plane
Doing so will create screens 320x156 using 6240 bytes that's a 25% extra space used, but I think we can asume it ...
Using that patched file, we would need to read 24 sectors per plane.
Every plane change will need, mandatory, a bit of code to skip the unused lines from 157 till 200, changing the VRAM mapping to the
begining of each plane. Seems doable!
The last pitfall is the fact that the image file will come with the palette at the beginning, say 1 sector (256 bytes)
As we will be working in RAM mode, I was thinking of changing the address of the read buffer for the DOS, setting it to $7F00 instead of $8000
and then for each plane change we will set it at $8000. Of course the very first pass we should read 7 sectors instead of just 6.
That way we could use the palette that would stay in RAM while the plane contents will be redirected to VRAM
I am just thinking out loud.
Any hint/observation about that brainstorming will be highly appreciated
I know that part of this should fit better in the Shark thread, but asking for technical support seems better here, I hope
cheers!
pere