Results 1 to 8 of 8

Thread: The Console

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2001
    Location
    Little Rock, Ar
    Posts
    151

    Question The Console

    Is the console just an DOS emulator or part of the Windows Interface?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Under 9x, command.com interfaces to the underlying DOS (which is still there even with ME ).

    With NT, you have cmd.exe which is just a command interpreter working alongside NT, and plays by all the usual rules. command.com is available, but it sits in the usual DOS sandbox.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2001
    Location
    Little Rock, Ar
    Posts
    151
    What I want to know, is the console it's self is part of the windows interface. Anyone has written a Win32 Console application with VC++ knows it won't work unless you are in windows and there is are functions in the win API for the console. Wouldn't this make the console part of the windows interface instead of just being there to provide support for DOS crap.

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Under Windows, the Console is a window acting as a console. When you run a "command prompt" program, it will create a console and put all the text input/output through that, automatically.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jan 2001
    Location
    Little Rock, Ar
    Posts
    151
    I want to know if the console is part of Windows Interface?

    I got into an argument about this with one of my teachers. He said that the console is not apart of the windows interface and is only there to provide suport for DOS porgrams. I say that it is apart of the interface.

    I just want to know who is right (or close to being right). Or maybe this is one of those chicken and the egg paradoxes.
    Last edited by KingDavid; Jul 18th, 2002 at 10:19 PM.

  6. #6
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Perhaps you're both right...I will consult my magic 8-ball.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  7. #7
    New Member
    Join Date
    Jul 2002
    Posts
    8
    This could get far to complicated but never mind.

    Under Windows the command box is whats known as a x86 emulated task (yes i hear you clicking the back button on your browser), this is the way the intel processors simulate real mode (16bit) programs under protected (32bit mode). Windows provides a set of special drivers called VxD drivers which are ring 0 (they have the abillity to use all of the processors functions) which have the main job of emulating the way DOS device interaction works. They aren't really emulated in the conventional sence (i.e. software emulators) however they aren't really native so...

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Unless you count cmd.exe...
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width