Wine only Emulates Windows (
WINdows
Emulator), there is another version called WineX, which emulates DirectX 8.1 as well.
Dark Basic Professional works under this upto Update 4.0 but not exactly stable. I mean upto 4.0 wasn't entirely stable on windows, but it's double so under WineX.
Thier new version (can't remember the name) which uses DirectX 9.0 which you have to purchase now, will run DBP upto 5.2 like it will on windows, the changes in 5.4+ seem to make some odd compatibility errors.
I have a personal build for unix i've been tinkering with which can run DirectX 9.0 now close to flawlessly, but still some bugs in DBP remain
have a feeling it's the windows libraries it is now using or how it is using them... at any rate compatibility isn't high enough to recommend using it yet.