[Coco] My Vcc project update.

Walter zambotti at iinet.net.au
Mon Jul 9 07:15:41 EDT 2018


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.

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.

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.

Walter

-----Original Message-----
From: Coco [mailto:coco-bounces at maltedmedia.com] On Behalf Of James Ross
Sent: Monday, 9 July 2018 1:43 PM
To: CoCoList for Color Computer Enthusiasts
Subject: Re: [Coco] My Vcc project update.

Nice going! Getting DirectX code converted to SDL seemed to be the most complicated part of making VCC multi-platform. You've combed through that code and re-organized it pretty thoroughly to accomplish that! 
I would have have started over from scratch. I'm impressed!  

What are you going to use for the UI elements (dialog boxes, etc)?  Qt, GDK, or other?   

James

________________________________________
From: Coco <coco-bounces at maltedmedia.com> on behalf of Walter <zambotti at iinet.net.au>
Sent: Monday, July 9, 2018 2:58 AM
To: 'CoCoList for Color Computer Enthusiasts'
Subject: Re: [Coco] My Vcc project update.

Latest update.

I have basic graphics (all modes) working in SDL.

The SDL window is not resizable (yet).

I have a short video of the directx and SDL windows running side by side for comparison.

https://1drv.ms/u/s!AgghqTS6bkpAi3dBeK0XclbgoZo3

Working on the keyboard/mouse input now.

Walter


-----Original Message-----
From: Coco [mailto:coco-bounces at maltedmedia.com] On Behalf Of L. Curtis Boyle
Sent: Friday, 6 July 2018 9:05 PM
To: CoCoList for Color Computer Enthusiasts
Subject: Re: [Coco] My Vcc project update.

Please complete the full 6309 implementation as well (current versions don’t do DIVD and DIVQ, for example).

L. Curtis Boyle
curtisboyle at sasktel.net

TRS-80 Color Computer Games website
http://www.lcurtisboyle.com/nitros9/coco_game_list.html




--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco

-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list