home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,471 of 4,255   
   mutazilah@gmail.com to All   
   Re: windows   
   20 Nov 22 18:14:35   
   
   From: muta...@gmail.com   
      
   On Monday, November 21, 2022 at 9:16:29 AM UTC+8, JJ wrote:   
      
   > There is none. There's nothing in 16-bit Windows NE module which is similar   
   > to PE module's subsystem field which define a console. Microsoft doesn't   
   > define any for 16-bit Windows NE module. 16-bit Windows NE module is always   
   > a GUI program.   
      
   I think if that's their attitude, my attitude will just be   
   that a 16-bit Windows NE module is always a   
   console mode program when run on PDOS/86   
   (or some 16-bit variant).   
      
   > > But instead of having a DOS application waiting on the   
   > > other end of the "con" pipe, that is something that   
   > > PDOS/86 provides as standard (and in fact, only).   
   > >   
   > > Is that feasible?   
      
   > Yes, the CON pipe would be precreated for each application process created.   
   > And if the module is of your console type, the system would automatically   
   > create the console window and connect it to the CON pipe for the   
   > application.   
      
   Ok, cool. So what does my Windows NE module need   
   to do to write to that pre-allocated CON pipe to   
   display a "hello world"?   
      
   Is it still a call to WriteFile?   
      
   > > And later I may wish to run that in CM16. But I'll   
   > > start with RM16.   
   > >   
   > > Unless I'm missing something?   
      
   > Real mode is not possible in CM16, since V86 is absent in CM16. CM16 is pure   
   > protected mode. The closest thing is Unreal Mode.   
      
   I don't need real mode in order to run a 16-bit Windows NE   
   module writing to a CON pipe, do I?   
      
   I can create a 16/32/64-bit pseudo-OS that exists between   
   64-bit Windows and the 16-bit Windows NE application.   
      
   Or 64-bit Windows is replaced by 64-bit PDOS if that's   
   the only realistic way to get CM16 exercised.   
      
   BFN. Paul.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca