BlitzMax + 64-bit + DirectX
BlitzMax Forums/Brucey's Modules/BlitzMax + 64-bit + DirectX
| ||
Hallo :-) I've been beavering away on getting BRL.D3D9Max2D working with bmx-ng this weekend. It has required rewriting all the glue code, but it has all gone surprisingly smoothly, and appears to work very well ! Here's a small 64-bit DX9 demo of the breakout sample for your amusement. http://brucey.net/programming/blitz/bmx_ng/demos/breakout_dx9_64.7z (375 kb) :o) |
| ||
Very interesting! (Just synced reposity, but getting an error on rebuild modules myself, using MinGW 5.1.0: [ 50%] Processing:d3d9max2d.bmx [ 51%] Compiling:d3d9max2d.bmx.debug.win32.x64.c [ 53%] Archiving:d3d9max2d.debug.win32.x64.a c:/code/BlitzmaxNG510/MinGW32/bin/ar.exe: creating c:/code/BlitzmaxNG510/mod/brl.mod/d3d9max2d.mod/d3d9max2d.debug.win32.x64.a [ 55%] Processing:d3d7max2d.bmx Compile Error: Expecting expression but encountered 'type' [c:/code/BlitzmaxNG510/mod/brl.mod/d3d7max2d.mod/d3d7max2d.bmx;726;0] Build Error: failed to compile (-1) c:/code/BlitzmaxNG510/mod/brl.mod/d3d7max2d.mod/d3d7max2d.bmxPress any key to continue |
| ||
That's great news Brucey! If you need a more complex code to test, please let me know... :o) |
| ||
... getting an error on rebuild modules... Sorry. That's what comes of committing stuff in the middle of the night... fixed. |
| ||
Sorry. That's what comes of committing stuff in the middle of the night... fixed. Thanks, rebuilding mods without error now |
| ||
64BIT Blitzmax? Nice one Brucey :-) |
| ||
In addition, I decided to implement DX9 support for the SDL backend, which introduces the SDL.D3D9SDLMax2D module. This gives a bit more flexibility for Windows people. (SDL uses its own event and window management) It appears to function appropriately on 64-bit too. |