1. Windows XP & graphic mode 261

I have a bunch of graphics programs I've written using mode 261. 
Recently I upgraded my system from Millenium to XP.  
Now none of my programs will work -- I just get a black screen until I quit the
program.
What gives?  They worked just fine before.  XP is the only difference.
Any ideas, suggestions, clues?

new topic     » topic index » view message » categorize

2. Re: Windows XP & graphic mode 261

Rick Hatfield wrote:
> 
> I have a bunch of graphics programs I've written using mode 261. 
> Recently I upgraded my system from Millenium to XP.  
> Now none of my programs will work -- I just get a black screen until I quit
> the program.
> What gives?  They worked just fine before.  XP is the only difference.
> Any ideas, suggestions, clues?

Hi Rick,

Windows 2000/XP onwards don't support DOS based graphics mode.
This I beleive was to increase security.

I quick google brings up:

http://www.columbia.edu/~em36/wpdos/textmode.html

Seems to be some utility? and some Q&A.


You can probably do something very similiar with a Windows based graphics
library.

e.g. SDL or euallegro - http://raymondsmith.com/wiki/Euallegro (note: I wrote
euallegro ;))

Hope that helps,

Regards,

Ray Smith
http://RaymondSmith.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: Windows XP & graphic mode 261

Rick Hatfield wrote:

> 
> I have a bunch of graphics programs I've written using mode 261. 
> Recently I upgraded my system from Millenium to XP.  
> Now none of my programs will work -- I just get a black screen until I quit
> the program.
> What gives?  They worked just fine before.  XP is the only difference.
> Any ideas, suggestions, clues?

Hi Rick,

Works OK here -- XP SP2, IBM NetVista 1.8 GHz, nVIDIA,
all pixel modes of EU, lw.ex in 261, sanity.ex in 261,
all my 261 programs without any problems --
EU 2.5 official, EU 2.5 bilingual, EU 3.0.0.

Maybe something wrong with XP video-driver on your machine?

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

4. Re: Windows XP & graphic mode 261

Rick Hatfield wrote:
> 
> I have a bunch of graphics programs I've written using mode 261. 
> Recently I upgraded my system from Millenium to XP.  
> Now none of my programs will work -- I just get a black screen until I quit
> the program.
> What gives?  They worked just fine before.  XP is the only difference.
> Any ideas, suggestions, clues?

Rick:

     Did you try use_vesa() at the top of your program ?

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view message » categorize

5. Re: Windows XP & graphic mode 261

Actually, no it doesn't help at all.  
It appears to be about WORD PERFECT for DOS and its various utilities.
Meanwhile, several years worth of my programming efforts have just been 
rendered totally useless by microsoft's high-handed & arbitrary changes.
And I really don't want to have to start all over again in another language.
And I especially don't want to have to switch to windows programming, 
which is about 10 times more complicated, and seriously sucks.
To hell with this crap; I give up.

new topic     » goto parent     » topic index » view message » categorize

6. Re: Windows XP & graphic mode 261

Rick Hatfield wrote:
> Actually, no it doesn't help at all.  
> It appears to be about WORD PERFECT for DOS and its various utilities.
> Meanwhile, several years worth of my programming efforts have just been 
> rendered totally useless by microsoft's high-handed & arbitrary changes.
> And I really don't want to have to start all over again in another language.
> And I especially don't want to have to switch to windows programming, 
> which is about 10 times more complicated, and seriously sucks.
> To hell with this crap; I give up.

use_vesa() sometimes helps, but if it doesn't,
can you at least run the Language War demo in euphoria\demo\langwar?
    ex lw.ex
It uses mode 18, which seems to work on every machine I've ever tried.
It's 640x480 with 16 colors. Actually mode 19 and lower should all work.
They are part of the VGA standard. It's SVGA (mode 256 and higher)
that was never well standardized, and sometimes doesn't work right
"out of the box".

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

7. Re: Windows XP & graphic mode 261

Rick Hatfield wrote:
> 
> Actually, no it doesn't help at all.  
> It appears to be about WORD PERFECT for DOS and its various utilities.
> Meanwhile, several years worth of my programming efforts have just been 
> rendered totally useless by microsoft's high-handed & arbitrary changes.
> And I really don't want to have to start all over again in another language.
> And I especially don't want to have to switch to windows programming, 
> which is about 10 times more complicated, and seriously sucks.
> To hell with this crap; I give up.


Well, there's always dosbox ( http://dosbox.sf.net ). 

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

8. Re: Windows XP & graphic mode 261

Matt Lewis wrote:
> 
> Rick Hatfield wrote:
> > 
> > Actually, no it doesn't help at all.  
> > It appears to be about WORD PERFECT for DOS and its various utilities.
> > Meanwhile, several years worth of my programming efforts have just been 
> > rendered totally useless by microsoft's high-handed & arbitrary changes.
> > And I really don't want to have to start all over again in another language.
> > And I especially don't want to have to switch to windows programming, 
> > which is about 10 times more complicated, and seriously sucks.
> > To hell with this crap; I give up.
> 
> 
> Well, there's always dosbox ( <a
> href="http://dosbox.sf.net">http://dosbox.sf.net</a> ).
> 
> Matt Lewis

That's what I use to run obsolete code. Works good.
It's my second command prompt :)


Chris Bensler
~ The difference between ordinary and extraordinary is that little extra ~
http://empire.iwireweb.com - Empire for Euphoria

new topic     » goto parent     » topic index » view message » categorize

9. Re: Windows XP & graphic mode 261

Matt Lewis wrote:
> 
> Rick Hatfield wrote:
> > 
> > Actually, no it doesn't help at all.  
> > It appears to be about WORD PERFECT for DOS and its various utilities.
> > Meanwhile, several years worth of my programming efforts have just been 
> > rendered totally useless by microsoft's high-handed & arbitrary changes.
> > And I really don't want to have to start all over again in another language.
> > And I especially don't want to have to switch to windows programming, 
> > which is about 10 times more complicated, and seriously sucks.
> > To hell with this crap; I give up.
> 
> 
> Well, there's always dosbox ( <a
> href="http://dosbox.sf.net">http://dosbox.sf.net</a> ).
> 
> Matt Lewis
Hi

Have you got dosbox to work with euphoria. Whenever I've tried, I've got dos
extender incompatabilities, so I gave up with that in the end.

And Ray's right, any old dos program should be very easily convertible, and look
a lot nicer  with euallegro, and is surprisingly unwindows programming (and
written by Ray)

Chris

http://euallegro.wikispaces.com
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu