Morning All
I would like to port one of my programs from BB4W to BBCSDL, however it is littered with SYS calls and has failed at the first one!
Assuming that this is the case for the rest of the program the porting is going to be very difficult. As a start, is there a list of equivalent SYS calls for BBCSDL opposed to BB4W?
Thanks for the help
SYS calls
-
- Posts: 272
- Joined: Tue 18 Jun 2024, 09:32
Re: SYS calls
If you do not mind your program still being Windows-specific, even though it is running in BBCSDL, many Win32 SYS calls can still be used successfully. I don't recommend this approach, because it means you miss out on one of the main benefits of BBCSDL - the ability for programs to run on multiple platforms without modification - but it remains an option and can be a useful stepping-stone.
The Accessing the SDL 2.0 API section of the BBCSDL Help documentation lists some of the common replacements for the calls used in the similar Accessing the Windows API section of the BB4W Help Documentation. Otherwise, it's a case of browsing the SDL2 documentation in the same way as you presumably browsed the Windows documentation originally to discover the SYS calls you used then.is there a list of equivalent SYS calls for BBCSDL opposed to BB4W?