Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / XP compatibility

Author
Message
Unseen Ghost
22
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 10th Feb 2005 11:04
Hi,

I just installed DarkBasic Classic 2 times on my xp computer and it doesn't work right.I just tried something simple. Here is my code. Can someone help ? The color of the rectangle should be a shade of purple. It was a dingy aqua. I tried it without the ink statement and it turned up an even more dingy aqua.

Unseen Ghost
PiratSS
22
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 10th Feb 2005 11:14
sync on
set display mode 800,600,16
color backdrop rgb(100,000,100)

do
sync
loop
Unseen Ghost
22
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 10th Feb 2005 11:29
sorry,

it turned up a dingy green now.

I have all the updates to DarkBasic and I have XP, 524MB ram, 2.8ghz processor, 256MB nvidia pci graphics card, 54x read only cd-rom. I have no idea what it could be.

Unseen Ghost
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 10th Feb 2005 11:44
Make sure you have the latest video card drivers for your card and the newest version of DirectX installed. Your code worked fine for me...XP Pro, 512 Ram AMD Athlon 2000+ ATI Radeon 9600xt 256 mb.

NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 10th Feb 2005 19:07 Edited at: 10th Feb 2005 19:11
Unseen Ghost,

I do agree that you should check and update your divers, if needed. The color is fine on my screen and my specs. are significantly lower grade than hyritcher's. I do want to suggest, in curtosy, a better way to write this simple program. Here is a
. 1.)I have turned on syncronization and brought down it's rate of refresh to keep the purple box from appearing to flash. 2.)The clr has been removed from the start of the code, due to there being no reason to clear the screen when nothing has been drawn onto it. It has been placed after sync, the screen refresher. This also helps keep the box from appearing to flash on the screen, clearing the screen after it is updated. 3.)I have placed the code to form the box, inside of the do loop, just before the sync, cls, and loop commands. All of these changes together keep the box and the screen from flashing, making a more sophisticated program. I hope this comes to you useful. Enjoy.

+NanoBrain+
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 10th Feb 2005 19:44
NVidia drivers page:

http://www.nvidia.com/content/drivers/drivers.asp


Latest version of DirectX (9.0c, I believe):

http://www.microsoft.com/directx

(Just click on 'Get DirectX' or something.)

Avatar - white cat in a snowstorm. Look closely.
Unseen Ghost
22
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 11th Feb 2005 09:49
I have directx 9c already, but I will see about my graphics drivers. I thought I had the latest. I will get back to you all about it.

Unseen Ghost
Unseen Ghost
22
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 11th Feb 2005 12:04
I'm back!

It was my graphics drivers. I thought I had the latest ones, but I guess I didn't. Thanks a lot everyone for your help.

Unseen Ghost

Login to post a reply

Server time is: 2025-05-25 04:45:35
Your offset time is: 2025-05-25 04:45:35