Last change
on this file since 26 was 4, checked in by Mattia Monga, 14 years ago |
Importazione sorgenti libro
|
File size:
516 bytes
|
Rev | Line | |
---|
[4] | 1 | /* Addresses and magic numbers for miscellaneous ports. */
|
---|
| 2 |
|
---|
| 3 | #ifndef _PORTS_H
|
---|
| 4 | #define _PORTS_H
|
---|
| 5 |
|
---|
| 6 | #if (CHIP == INTEL)
|
---|
| 7 |
|
---|
| 8 | /* Miscellaneous ports. */
|
---|
| 9 | #define PCR 0x65 /* Planar Control Register */
|
---|
| 10 | #define PORT_B 0x61 /* I/O port for 8255 port B (kbd, beeper...) */
|
---|
| 11 | #define TIMER0 0x40 /* I/O port for timer channel 0 */
|
---|
| 12 | #define TIMER2 0x42 /* I/O port for timer channel 2 */
|
---|
| 13 | #define TIMER_MODE 0x43 /* I/O port for timer mode control */
|
---|
| 14 |
|
---|
| 15 | #endif /* (CHIP == INTEL) */
|
---|
| 16 |
|
---|
| 17 | #endif /* _PORTS_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.