|
|
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.
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?
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)
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.
The Best PC Hardware Book : The Winn Rosch Hardware Bible You may buy it from the Borders Bookstore 612 E. Liberty Ann Arbor.
Hmm....would this item be better linked to micros or to hardware?
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...
Spring agora Item 102 has been linked to hardware Item 110 (well, it does say "PC hardware...").
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).
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. :)
Thank you. You have a copy??? If my search of oak.oakland.edu fails, I might beg a copy.
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...
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.
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.
Cool, a RAMdrive! Sign of a veteran DOS head. :)
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.
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...
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?
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...
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.)
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...
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.
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".
That would "fit". Where can I get one?
Beats me. If you find out, though, let me know. I have an intel card whose cord seems to have wandered off...
Response not possible - You must register and login before posting.
|
|
- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss