delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/25/12:33:59

From: removeme DOT markus DOT klinge AT minden DOT netsurf DOT de (Count Floyd)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Thnx ! Ending this...
Date: Tue, 24 Jun 1997 23:50:09 GMT
Organization: KKF Datensysteme GmbH, Minden, Germany
Lines: 38
Message-ID: <33b15d2f.8248692@news.kkf.de>
References: <339fdb32 DOT 501485 AT news DOT kkf DOT de> <i04LpNAyxBpzEwKg AT talula DOT demon DOT co DOT uk> <33aa7a36 DOT 9071899 AT news DOT kkf DOT de> <+f88jAAhuapzEwbu AT talula DOT demon DOT co DOT uk> <33a7a20b DOT 2353000 AT news DOT kkf DOT de> <q6$paYAs8vpzEwL$@talula.demon.co.uk>
NNTP-Posting-Host: ppp4.minden.netsurf.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Tue, 17 Jun 1997 22:18:36 +0100, Shawn Hargreaves
<Shawn AT talula DOT demon DOT co DOT uk> wrote:

>I'm afraid I still don't follow you: Win95 _always_ starts DOS apps up
>in a text mode window, and the Allegro programs later switch into
>graphics mode. There's no function to open up a "DOSBOX", it's something
>that Win95 does without the program having any involvement in it...

Yep, I know. But isn't this "DOSBOX" only opened when there's
input/output to the normal dos window ? Correct me if I'm wrong...(yes
I'm a Newbie :))

>Could the difference be whether Win95 is starting the programs in
>fullscreen mode, or windowed? Try editing the program properties (right
>click on the exe file), and changing the Full-screen vs. Window settings
>in the Screen tab. Does this make any difference? Also, try running the
>programs from the DOS prompt command line, both in fullscreen and
>windowed modes. That's the only thing I can think of that would explain
>what you are describing, because there isn't anything special in ex15
>that the other programs don't contain: honest! :-)

I tried all of the above with different settings & all fail after a
random time. In plain DOS (without booting Win95) it runs...I haven't
got a single clue for this.
Uuuhh and that example 15. As I already said before, it's really not
limited to example 15, instead all examples (and also my own program)
which use the Allegro Keyboard Handler and stay in MS-DOS Textmode (or
setup a GFX-Mode later) crash...
 
I now removed the Allegro Keyboard Handler and use standard lib
getkey() instead. Works well...also under Windows.
Too be continued...
      markus DOT klinge AT minden DOT netsurf DOT de * countfloyd AT geocities DOT com
   ______       __  ______   __   _____   __  __    _____     _____
  / __  // /\\ / ///_ ___// / // / _  // / / / // / _ __//   __ ___ 
 / /_/ // /  \/ //  / //   / // / // // / /_/ // /  _--    __ nOiSeS   
/_/ /_// /_/\__//  /_//   /_// /___\_\\/_____// /_____//  ____________     
           http://www.geocities.com/SunSetStrip/Palms/7271/                                   

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019