home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / msdos / programm / 3223 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.6 KB  |  48 lines

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!clarkson!kennehra
  3. From: kennehra@craft.camp.clarkson.edu (Rich"TheMan"Kennehan)
  4. Subject: STRANGE zenith hardware behavior!!!
  5. Message-ID: <kennehra.727903265@craft.camp.clarkson.edu>
  6. Sender: news@news.clarkson.edu
  7. Nntp-Posting-Host: logic.camp.clarkson.edu
  8. Organization: Clarkson University
  9. Date: Sun, 24 Jan 1993 19:21:05 GMT
  10. Lines: 36
  11.  
  12.  
  13.  
  14.  
  15. Hi.  I have some questions about the hardware of the Zeniths.  I know that 
  16. they are IBM compatible, but when I was tinkering around I found some
  17. inconsistencies between what I've seen in manuals and what actually goes on.
  18.  
  19. Ok, first of all I found a pin diagram of the 9 pin male serial mouse port.
  20. One of the pins is supposed to supply +5 volts, but when I put my meter on it
  21. it registered +12 volts!!!  What the...???  (I did measure it in DC voltage
  22. too)
  23.  
  24.  
  25. Second, I hooked my printer up to my printer port and turned it on, got it
  26. ready, and printed out a file by typing "type file1 > lpt1", and it printed
  27. out like it should.  Then I wrote a short assembler program to read the
  28. status of the printer port.  Here is the main part of the code that does the
  29. actual reading of the port:
  30.  
  31. mov ax,0
  32. mov dx,03BCh
  33. in ah,dx
  34.  
  35. This is supposed to read the status of the printer, and put the status byte 
  36. into ah.  I ran the program using Turbo Debugger, and after the "in" 
  37. statement, ah was FF.  
  38.  
  39. Well, then I DISCONNECTED my printer from the printer port, and ran the 
  40. program again.  ah was STILL FF!!!  What the...???
  41.  
  42. If you could please explain this strange behavior of my hardware, I would
  43. greatly appreciate it!
  44.  
  45. - Rich
  46.   kennehra@logic.camp.clarkson.edu
  47.  
  48.