mirror of
https://github.com/cc65/cc65.git
synced 2024-08-28 18:29:20 +00:00
32 lines
493 B
C
32 lines
493 B
C
|
/*
|
||
|
* _6551.h
|
||
|
*
|
||
|
* Ullrich von Bassewitz, 22.09.1998
|
||
|
*
|
||
|
* Internal include file, do not use directly.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
|
||
|
|
||
|
#ifndef __6551_H
|
||
|
#define __6551_H
|
||
|
|
||
|
|
||
|
|
||
|
/* Define a structure with the 6551 register offsets */
|
||
|
struct __6551 {
|
||
|
unsigned char data; /* Data register */
|
||
|
unsigned char status; /* Status register */
|
||
|
unsigned char cmd; /* Command register */
|
||
|
unsigned char ctrl; /* Control register */
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
/* End of _6551.h */
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|