home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.misc
- Path: sparky!uunet!sun-barr!ames!pacbell.com!att!cbfsb!cbnewsg.cb.att.com!ashaw
- From: ashaw@cbnewsg.cb.att.com (andrew.shaw)
- Subject: Re: Windows == OS
- Message-ID: <1992Aug26.194050.10608@cbfsb.cb.att.com>
- Sender: news@cbfsb.cb.att.com
- Organization: AT&T
- References: <714807912.1@ttlg.ttlg.UUCP>
- Date: Wed, 26 Aug 1992 19:40:50 GMT
- Lines: 36
-
- From article <714807912.1@ttlg.ttlg.UUCP>, by Monroe.Thomas@ttlg.UUCP (Monroe Thomas):
- > I agree 100% with you... the GUI *should* be a separate entity from
- > the OS. Windows, up until 3.x has certainly inter-related OS and
- > GUI...
- >
- > *However*, can we make assumptions about the types of terminals
- > attached to our OS? Unix doesn't. I think what is falling out is
- > that there should be hooks in the OS to make GUI apps easier to
- > produce. After all, perhaps one of the resources that often gets
- > neglected in the definition of an OS is the graphical monitor.
- > Screenspace deserves to be managed too, IMNSHO. The question is, can
- > the OS provide general enough screen managemnt tools so that the GUI
- > flavour remains unaffected??? I dunno.
- >
-
- I'm not sure that I like putting application-specific hooks in the OS.
- What I do like is the UNIX(R) solution of having the hardware come
- with drivers. The drivers are supposed to conform to the published
- conventions and can use already existing kernel services (eg mask
- interrupts). At installation time you parameterize the driver with
- the specifics of your hardware setup (I/O address, IRQ, etc) and
- then the driver is incorporated into the kernel. So the old OS
- provides hooks in the form of read/write/ioctl system calls that
- are directed to the particular driver based on the device passed.
- The new OS (kernel) provides hooks in the form of the driver for
- the device, eg writing to /dev/ega should update the screen. If
- you change to another card, just do the same thing, and then
- writing to /dev/vga should update the screen. This way the apps
- do not need to know the specifics of the hardware: they can
- merely look to see if /dev/svga, /dev/vga, /dev/ega, /dev/cga,
- /dev/tty exist and open the desired one. I realize that using
- graphics is a bad example here, since under X all of this
- would be taken care of by the X server, with yet another API,
- but...
-
-
-