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

⟦1dbb3681c⟧ TextFile

    Length: 354 (0x162)
    Types: TextFile
    Notes: UNIX file
    Names: »stubs.c«

Derivation

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

TextFile

#include "smgr.h"
extern MESSAGE msg;
dummy(i)
int i;
{
	peteprint("DUMMY %d  \n", i);
}

int SM_Poly(){dummy(1);}           int SM_ToPoly(){ dummy(2); }
int SM_Wedge(){ dummy(6); }        int SM_Rrect(){ dummy(9); }
int SM_Oval(){ dummy(16);}
int SM_Arc(){ dummy(17);} 

int SM_Rect()
{
	msgCmd = WM_ACK;
	msgBytL0 = sizeof(MSHAPE);
	sendmsg( &msg );
}