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

⟦0d1a2a5b7⟧ TextFile

    Length: 403 (0x193)
    Types: TextFile
    Notes: UNIX file
    Names: »canon.h«

Derivation

└─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image
    └─⟦8281d0872⟧ UNIX V7 Filesystem
        └─ ⟦294235107⟧ »vol3.fd« UNIX V7 Filesystem
            └─ ⟦this⟧ »usr/include/canon.h« 
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦2d53db1df⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »include/canon.h« 
└─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image
    └─⟦5ec4c54f2⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »usr/include/canon.h« 

TextFile

/*
 * Coherent.
 * Canonical conversion routines for the Z8001.
 */

int	_canw();
long	_canl();

#define	canshort(i)	((i)=_canw(i))
#define	canint(i)	((i)=_canw(i))
#define	canlong(l)	((l)=_canl(l))
#define	canvaddr(v)	((v)=_canl(v))
#define	cansize(s)	((s)=_canl(s))
#define	candaddr(d)	((d)=_canl(d))
#define	cantime(t)	((t)=_canl(t))
#define	candev(d)	((d)=_canw(d))
#define	canino(i)	((i)=_canw(i))