|
|
| Author |
Message |
drew
|
|
PC hardware information wanted
|
Jun 9 22:46 UTC 1996 |
Rumor has it that somewhere on the net is a file documenting every single
interrupt service routine known to the PC. Is this true, and if so, where
would it be found? And would it also contain information on the I/O ports
(the ones accesses by in ax,port and out port,ax instructions)?
I am particularly interested in information on controlling the speaker that
comes with each PC-compatible. I already have routines that (a) set the
speaker to producing a tone of any frequency from <100Hz to around 17KHz;
and (b) turning the speaker off. I want to go further than that, though, and
control the voltage level across the speaker wires directly, varying it in
a pattern of my choosing. Does anyone have detailed information on how to
do this?
|
| 24 responses total. |
scott
|
|
response 1 of 24:
|
Jun 10 00:58 UTC 1996 |
The info you seek is available in one or more massive books I've seen
commerically available.
Also, I think the PC speaker is simply on/off at various frequencies, so maybe
you could do something with a low-pass filter and controlling the duty cycle
of the square wave?
|
srw
|
|
response 2 of 24:
|
Jun 10 01:11 UTC 1996 |
You might want to look around on the web, or try some web searches.
This looks like it might be a useful place to start on yahoo:
http://www.yahoo.com/Computers_and_Internet/Programming_Languages/Assembly/
Int
el_80x86/
(long URL, sorry, you have to put it all on one line)
(no guarantees)
|
ajax
|
|
response 3 of 24:
|
Jun 10 03:23 UTC 1996 |
There was a shareware database program released about 4 years ago,
called HelpPC, that had quite a thorough list of interrupts and such,
including some handy undocumented stuff. I got it off CompuServe, but
I imagine it's available elsewhere as well.
|
wfy
|
|
response 4 of 24:
|
Jun 10 05:00 UTC 1996 |
The Best PC Hardware Book :
The Winn Rosch Hardware Bible
You may buy it from the Borders Bookstore
612 E. Liberty Ann Arbor.
|
rcurl
|
|
response 5 of 24:
|
Jun 10 05:31 UTC 1996 |
Hmm....would this item be better linked to micros or to hardware?
|
arthurp
|
|
response 6 of 24:
|
Jun 11 00:05 UTC 1996 |
It is called Ralph Brown's Interrupt List. It has everything. I use it lots.
It is huge. It is great. It is huge. It is widely available. It is chok
full o' stuff. Ports, Ints, Memory map. Data structures.
Unfortunately the speaker *is* 1 bit on or off. So you have to do everything
by timing the pulses. I use the C library to play tones in one voice.
Programming to do more voices could be done, but it isn't my current area of
interrest. I have the RB List compiled into a windows help file. About 6
megs, but if yer local, maybe we could work out something...
|
rcurl
|
|
response 7 of 24:
|
Jun 11 06:16 UTC 1996 |
Spring agora Item 102 has been linked to hardware Item 110 (well, it
does say "PC hardware...").
|
drew
|
|
response 8 of 24:
|
Jun 12 22:46 UTC 1996 |
Very well, then. I would like a copy of Ralph Brown's Interrupt List. Is there
an ftp site with it? Both I and my equipment are more comfortable using ftp.
I believe I can work something out with a one-bit voltage-level speaker. (The
TRS-80, of course, had two bits controlling the voltage level of the cassette
port.) However, in addition to the interrupts, I shall still need to know what
bit of what port to output to (and what input port data to OR it with).
|
arthurp
|
|
response 9 of 24:
|
Jun 13 04:22 UTC 1996 |
The speaker is controlled through the PIC (Programable Interval Timer). Timer
2 is for the speaker and cassette. It is port 42h. The control register for
the timer chip is at 43h. For info on setting up the timers, I would
recommend reading RBIL, or a PC hardware book. I think you could probably
find RBIL at oak.oakland.edu in a directory about programming and assembly
stuff for the x86 line. I don't remember where I got my most recent copy.
Good luck. :)
|
drew
|
|
response 10 of 24:
|
Jun 13 23:49 UTC 1996 |
Thank you.
You have a copy??? If my search of oak.oakland.edu fails, I might beg a copy.
|
arthurp
|
|
response 11 of 24:
|
Jun 15 00:41 UTC 1996 |
I would be happy to get you a copy. Trouble is my copy is 6 MB. I think we
would have to call eachother direct to send it...
|
drew
|
|
response 12 of 24:
|
Jun 15 01:09 UTC 1996 |
In my directory is a program called split (both source and executable) whose
purpose is to break a text file up into manageable chunks. Use a size of
around 10K or so, that I might have a reasonable chance with each chunk, and
send over as many chunks at a time as you deem appropriate.
UOr else, if you have a laptop and you attend anything m-net/grex related,
let me know when/where this will be, and I can go there with the palmtop. It
should fit on my 10M card, where I think I'm going to keep a copy anyways.
I went to oak.oakland.edu, and discovered a couple of obsticles: I do not know
the actual filename of the list; and ftp has no equivalent to find. There is
an index, running about 1.6M, that I will download when I get a chance, to
go thru it to see what's there.
|
drew
|
|
response 13 of 24:
|
Jun 15 06:13 UTC 1996 |
The index search paid off. Once in my RAMdrive, it was a fairly easy task
togrep it for all lines containing "inter". I found a series of six zip files
that looked like they could be it, so I brought 'em down and checked out the
first one. It had a file called RBROWN plus some large files in it.
I have yet to start going through it tosee what's there. But there are a lot
of interrupts mentioned.
|
scott
|
|
response 14 of 24:
|
Jun 15 12:43 UTC 1996 |
Cool, a RAMdrive! Sign of a veteran DOS head. :)
|
drew
|
|
response 15 of 24:
|
Jun 15 18:57 UTC 1996 |
Also useful for PGP work, and disk operations wherein you don't want to put
unnecessary wear on a hard drive.
Anyways, this is it, and fairly up to date, too. Now secured on the hard drive
(ready to be backed up) and on the 10MB PCMCIA card. Came with some neat test
programs. And I got my PORTS.LST!
When I was unzipping them, I got a message saying that at least one of the
files has been "tampered with" for each zipfile. The data *seems* to have come
out intact, however. Anyways it's all text, or at least the important parts
are.
|
arthurp
|
|
response 16 of 24:
|
Jun 17 04:17 UTC 1996 |
They files from the several zips will probably be most useful if you use one
of his utilities to 'compile' it into one of several formats. Makeing the
windows help file takes about 25 Megs of disk space, and about 45 minutes on
my 486x33. Some of the other output formats may be easier to deal with...
|
rcurl
|
|
response 17 of 24:
|
May 15 16:46 UTC 1999 |
I asked about this somewhere else but can't find it.... I have a IBM
Thinkpad with two PCMCIA cards for modem (Optima 144 model 5118AM) and
ethernet (Xircom IIPS model PSCE2-10), but no cables/adapters/interfaces
for them. In the other item someone said these are easily found, but I
haven't found that to be true. They are not in the PC catalogs (paper and
web) I have searched. (Also, in an advertisement for an integral card that
had the RJ11 or 45 sockets built in, they said that it was better than the
cable adapters that "are easily damaged or lost and hard to find".) Where
would I find the proper cables/adapters/interfaces?
|
jshafer
|
|
response 18 of 24:
|
Jun 21 21:23 UTC 1999 |
Hey rane, I somewhere have a big box O' random adapters. If you are
still in need, let me know what to look for & I'll see if I've got
anything...
|
rcurl
|
|
response 19 of 24:
|
Jun 21 22:17 UTC 1999 |
I found a Xircom adapter (new) at MIcro Medic but still need the one for
the Optima card. Everyone says they are "proprietary" and since Hayes is
gone, their adapters are not longer available. It seems to me, though,
that it is just the matter of a plug going to a inline jack. If you have a
Hayes compatible pcmcia adapter, I'd like to buy it. (Or maybe two? The
card seems to have jacks for two plugs, unless it is a rather wide single
plug. is that the usual "line" and "phone" choice? There's nothing on the
card - except a triangle marking next to one of the jacks on the card.)
|
jshafer
|
|
response 20 of 24:
|
Jun 23 08:32 UTC 1999 |
Hmm, I'm unable to visualize what you're in need of, & I really doubt
any of the random adapters I've got are for PCMCIA, but I can send 'em
along with toking or something...
|
rcurl
|
|
response 21 of 24:
|
Jun 23 14:18 UTC 1999 |
I'm pretty ignorant of PCMCIA cards myself.. :). Now that I look at
them more carefully...the Xircom ethernet card has one 15 pin socket
along its edge, while the Optima modem card has two sockets, one with 12 pins
and the other with 13 pins.
|
mdw
|
|
response 22 of 24:
|
Jun 27 05:21 UTC 1999 |
Intel and several other companies that made 14.4K pcmcia modems used a
funny connector for the pcmcia card that looked very much like "two
connectors next to each other".
|
rcurl
|
|
response 23 of 24:
|
Jun 28 05:08 UTC 1999 |
That would "fit". Where can I get one?
|
mdw
|
|
response 24 of 24:
|
Jun 30 09:23 UTC 1999 |
Beats me. If you find out, though, let me know. I have an intel card
whose cord seems to have wandered off...
|