[Coco] My Vcc project update.
Mark D. Overholser
marko555.os2 at gmail.com
Mon Jul 9 16:58:02 EDT 2018
On 09-Jul-18 04:15, Walter wrote:
> I left the tcc1014graphic.c module as it was. I could see it was
> directly manipulating a pixel memory buffer/area and that shouldn't
> change between directx or SDL.
>
> The main changes are in the DirectDrawInterface.cpp module. I had to
> rewrite that SDLinterface.c. Fortunately to make things easier 1.
> directx appears to be more complicated than SDL and 2. I made a
> decision to only support 32 bit pixel formats as most modern PCs will
> have 32 bit graphics cards.
>
Other Color Depths can be supported later...
> Then I slipped in the calls to SDLinterface.c into vcc.c and coco.c
> next to where I found the calls for DirectDrawInterface.cpp.
>
Nice Work...
> When I have it all going I will remove the calls to
> DirectDrawInterface.cpp leaving just SDL. I suspect some issues will
> pop up then.
>
Hopefully, Minimal....
> Walter
>
Keep Up the Good Work....
MarkO
More information about the Coco
mailing list