🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1337

Re: 386 Protected Mode Interrupt Table..HELP

#1337
From: Jay B. Harlow
Date: Sun, 25 Feb 1990 23:21
47 lines
2277 bytes
In article <9002251653.AA12679@iris.ucdavis.edu> uucp@ucdavis.ucdavis.edu (uucp) writes:
>
>     Jay:
>	Thanx for your reply, I really appreciated.
>	Is there any book that you can refere for looking up hw ports
>	in order for me to write "pesudo-Bios" codes?
>	Thanx.

I had to refer to a number of books (plus my general knowledge) to set
up my I/O routines... some books that i find helpful are:

	"The Programmers's PC Source Book", Thom Hogan, MS Press 
		some useful information (keyboard tables...), sparatic

	"Programing the 80386", Crawford Gelsinger, SYBEX
		VERY GOOD book, gives C source for how instructions 
		and internals works

	"Inside the 80286", Ed Strauss, The Waite Group, Brady (Prentice
							Hall press)
		not as nice as above 386 book, but useful for 286 specific

	"Programmer's Guide to PC & PS/2 Vidio Systems",
			Richard Wilton, MS Press
		Good book on vidio displays

	"Keying on a Standard", Bob Smith, PC Tech Journal Vol 5 Num 7 P 134
		Good article on programming the Keyboard

Plus a number of other books and articles i have read over the years...
	( also a lot of 'BEATING' the machine to get it to work ;-)


A couple more hints,
	when i started out I would ask BIOS which vidio mode i was in
and tell it to go to a TEXT mode ie MGA = mode 7, CGA(EGA,VGA...)= mode 3
decide where my vidio buffer is ( MGA, CGA ) and do all the
I/O as text via a common segment selector (descriptor has base of vidio mem).
unlike MINIX which appears to have a selector for MGA, and a selector for CGA
then decides which one to use?? (i may be wrong on this)

			Jay
-- 
		Jay B. Harlow	<harlow@plains.nodak.edu>
	uunet!plains!harlow (UUCP)	harlow@plains (Bitnet)

Of course the above is personal opinion, And has no bearing on reality...
Technical Details
Message-ID: <3611@plains.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!ogicse!plains!harlow
References: <6840@ucdavis.ucdavis.edu> <9002251653.AA12679@iris.ucdavis.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!ogicse!plains!harlow
From: harlow@plains.UUCP (Jay B. Harlow)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Re: 386 Protected Mode Interrupt Table..HELP
Message-ID: <3611@plains.UUCP>
Date: 25 Feb 90 23:21:42 GMT
References: <6840@ucdavis.ucdavis.edu> <9002251653.AA12679@iris.ucdavis.edu>
Reply-To: harlow@plains.UUCP (Jay B. Harlow)
Organization: North Dakota State University, Fargo
Lines: 47