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

⟦05d326346⟧ TextFile

    Length: 668 (0x29c)
    Types: TextFile
    Notes: UNIX file
    Names: »mlib.h«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦2d53db1df⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »hr/hdr/mlib.h« 

TextFile

 
/*
 *		Defines for getting to fields of messages 
 */
#define MsgSender	my->j_m.msg_Sender
#define MsgReceiver	my->j_m.msg_Sender
#define MsgCmd		my->j_m.msg_Cmd
#define MsgData0	(my->j_m.msg_Data[0])
#define MsgData1	(my->j_m.msg_Data[1])
#define MsgData2	(my->j_m.msg_Data[2])
#define MsgBytH0	(* ((char *)  &MsgData0) )
#define MsgBytL0	(* (((char *) &MsgData0) + 1) )
#define MsgBytH1	(* ((char *)  &MsgData1) )
#define MsgBytL1	(* (((char *) &MsgData1) + 1) )
#define MsgBytH2	(* ((char *)  &MsgData2) )
#define MsgBytL2	(* (((char *) &MsgData2) + 1) )
#define MsgWid		(MsgBytH0)
#define MsgPt		(* (POINT *) &MsgData1)
#define MsgPtr		(* (char **) &MsgData1)