Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Programmers Reference 0.02b - <b>printer adapter(s)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Printer adapter(s)

   LPT1  (MDA)   LPT2
   378h  (3BCh)  278h     Printer Data port

                                           Data 0 - 7   (pins 2 - 9)

   379h  (3BDh)  279h     Printer Status port (input)

                      Bit 7 6 5 4 3 2 1 0
                          x . . . . . . .  Busy         (pin 11)
                          . x . . . . . .  -Acknowlegde (pin 10)
                          . . x . . . . .  Paper end    (pin 12)
                          . . . x . . . .  Select       (pin 12)
                          . . . . x . . .  -Error       (pin 14)
                          . . . . . x x x  nc

   37Ah  (3BEh)  27Ah     Printer Control port

                      Bit 7 6 5 4 3 2 1 0
                          x x x . . . . .  nc
                          . . . x . . . .  IRQ enable
                          . . . . x . . .  -slct in     (pin 17)
                          . . . . . x . .  -init        (pin 16)
                          . . . . . . x .  -autofeed    (pin 14)
                          . . . . . . . x  -strobe      (pin  1)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson