1
Programming / Re: SDL_mixer?
« on: Today at 04:14:38 am »
It's easy to build, or use digi's build of SDL1, http://os2.snc.ru/product-SDL.html
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I wonder then, how SDL work then. There is not one mention of WM_VRN*. It just blits the whole SDL surface to the buffer (no direct VRAM access).
* This function uses DIVE to write those portions of the surface identified
* by @rect directly to the screen buffer. It only supports 32- or 24-bit
* full-color video modes. To avoid painting overlapping or child windows,
* it must perform all of the visible-region calculations that GPI normally
* handles. Despite this, it provides a significant improvement in speed
* compared to using GPI functions.
// Don't use DIVE if the Panorama video driver is in use
// unless its shadow buffer is turned off.
HMODULE hmod;
if (!DosQueryModuleHandle("PANOGREX", &hmod)) {
char str[8];
if (PrfQueryProfileString(HINI_USERPROFILE, "PANORAMA", "VBEShadowBuffer",
0, str, sizeof(str)) && !strcmp(str, "0")) {
sUseDive = TRUE;
printf("Video driver is Panorama - shadow-buffer is disabled\n");
}
else
printf("DIVE is disabled - Panorama's shadow-buffer is enabled\n");
return;
}
sUseDive = TRUE;
Hi Jochen,
This last version does open the browser on the register page - thanks!
Regards,
F:\games\ClassiCube>ClassiCube.exe
Starting ClassiCube 1.3.6 ..
Adding http://cs.classicube.net/client/builds.json (type 0)
Fetching http://cs.classicube.net/client/builds.json (GET)
HTTP: result 0 (http 200) in 322 ms (94 bytes)
Going back to sleep...
Going back to sleep...
DIVE is disabled - Panorama's shadow-buffer is enabled
[calBackendLoader] Using libical backend at Z:\mozprofiles\Mozilla\SeaMonkey\Profiles\2nf8z26q.new\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\components\libical-manifest
DIVE is disabled - Panorama's shadow-buffer is enabled
Closing ClassicCube left the cmd prompt looking like it was still open and when I pressed CTRL-C, not only did ClassicCube finish closing, so did SeaMonkey.Thanks all, unfortunately, I don't have the .7z file anymore, just the ISO. It's bought and paid for, but it was a couple of years ago now, so I can't re-download it. So I guess the tools I need to make an installer aren't freely available? If not, I'll try Arca Noae.
Cheers
Garry
export CFLAGS=-Zomf
export CXXFLAGS=-Zomf
export ASFLAGS=-Zomf
export 'CPPFLAGS=-idirafter w:/usr/include/os2tk45'
export 'LIBS=-lcx -Zomf'
This thread is immensely useful and a great complement (or replacement) to BitWise Works wiki page on how to build qt5 (https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt)
Considering there's an official developer page through EDM2, perhaps the very first article should be "how to get started", with this information? Also, should anyone have a script to automate some of this yak shaving setup, it could reduce the friction that many hobbyist developers have to face when approaching OS/2 development...
Hi,
If I'm not wrong most of it is already covered in some other places of these forums. Yet I must say I'm doing much research (in my almost zero spare time) to try and get up-and-running in as few steps as possible.
I'll try to gather and organize as much information as possible and try to contribute to what has already been written. Ad EDM/2 column would be really useful (provided it doesn't already exist!).
Mentore
Quoting myself because I came across an interesting problem.
If I try to set variables like CFLAGS like thisCode: [Select]set CFLAGS=-O2 -g
configure and autoreconf work correctly. But I can't set options like -march or -mtune. If I try to set these in double quotes as inCode: [Select]set CFLAGS="-O2 -g -march=generic"
even after autoreconf, configure fails giving me troubles in gcc, gxx and cpp - even if I tweak the script.
How can I include -march / -mtune and similar options?
This happens also if I try to use export directive in a shell script...
Mentore
sh configure 'CFLAGS=-O2 -g -march=generic' 'LDFLAGS=-Zomf -Zhigh-mem'