|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 667 (0x29b) Types: TextFile Notes: UNIX file Names: »rico.h«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code └─⟦2d53db1df⟧ UNIX Filesystem └─ ⟦this⟧ »hr/hdr/rico.h«
#define uchar unsigned char #define ushort unsigned short #define uint unsigned #define ulong unsigned long #define bool char #define TRUE (0 == 0) #define FALSE (not TRUE) #define not ! #define and && #define or || #define loop for (; ; ) #ifndef nel #define nel( a) (sizeof( a) / sizeof( (a)[0])) #endif #define endof( a) (&(a)[nel( a)]) #define ctrl( c) ((c) - 0100) #define tab( col) (((col)|7) + 1) #define streq( s0, s1) (strcmp( s0, s1) == 0) #define roundup( n, q) ((n) + (q) - (n)%(q)) #define hiword( l) ((int) ((long)(l)>>16)) #define loword( l) ((int) ((long)(l)&0xFFFF)) #define makelong( h, l) ((long)(h)<<16 | (l)) #define toascii( c) ((c) & 0177)