mirror of
https://github.com/cc65/cc65.git
synced 2025-01-13 09:31:53 +00:00
Added a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2976 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
368cdbf115
commit
3d8aa8c7d8
@ -35,7 +35,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Define a structure with the via register offsets */
|
/* Define a structure with the 6522 register offsets.
|
||||||
|
* NOTE: The timer registers are not declared as 16 bit registers, because
|
||||||
|
* the order in which the two 8 bit halves are written is important, and
|
||||||
|
* the compiler doesn't guarantee any order when writing 16 bit values.
|
||||||
|
*/
|
||||||
struct __6522 {
|
struct __6522 {
|
||||||
unsigned char prb; /* Port register B */
|
unsigned char prb; /* Port register B */
|
||||||
unsigned char pra; /* Port register A */
|
unsigned char pra; /* Port register A */
|
||||||
|
@ -38,7 +38,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Define a structure with the 6526 register offsets */
|
/* Define a structure with the 6526 register offsets.
|
||||||
|
* NOTE: The timer registers are not declared as 16 bit registers, because
|
||||||
|
* the order in which the two 8 bit halves are written is important, and
|
||||||
|
* the compiler doesn't guarantee any order when writing 16 bit values.
|
||||||
|
*/
|
||||||
struct __6526 {
|
struct __6526 {
|
||||||
unsigned char pra; /* Port register A */
|
unsigned char pra; /* Port register A */
|
||||||
unsigned char prb; /* Port register B */
|
unsigned char prb; /* Port register B */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user