DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦96aca940d⟧ TextFile

    Length: 674 (0x2a2)
    Types: TextFile
    Notes: UNIX file
    Names: »rico.h«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦f4b8d8c84⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »hrtty/h/rico.h« 

TextFile



#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 | (uint)(l))
#define	toascii( c)	((c) & 0177)