There are bbcw program that use windows lower level graphic api directly not directx how can these be converted to sdl ? Do you need specific knowledge of each api .some just use pure BBC basic command just needs a screen size definition
From moonfruit web site
Converting BBC basic windows to sdls
-
- Posts: 327
- Joined: Wed 04 Apr 2018, 06:36
Re: Converting BBC basic windows to sdls
I'm afraid that I don't understand your question. Can you post an example or two of what you are asking about?
Re: Converting BBC basic windows to sdls
Hi Repton,
Programs that only use BBC BASIC commands should transfer pretty much "as is". If you are using Windows API commands (using SYS) you will need to find the SDL equivalent: the difficulty of conversion will depend on how similar the commands are!
Richard has produced equivalent versions of most libraries, so if you can manage the things you want through libraries, again conversion should be pretty straightforward.
Hope that's helpful - do come back with clarifications/examples if not!
Best wishes,
D
PS I've deleted the apparent duplicate post: if that was wrong, let me know (and why!)
Programs that only use BBC BASIC commands should transfer pretty much "as is". If you are using Windows API commands (using SYS) you will need to find the SDL equivalent: the difficulty of conversion will depend on how similar the commands are!
Richard has produced equivalent versions of most libraries, so if you can manage the things you want through libraries, again conversion should be pretty straightforward.
Hope that's helpful - do come back with clarifications/examples if not!
Best wishes,
D
PS I've deleted the apparent duplicate post: if that was wrong, let me know (and why!)