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

⟦01afc1f8a⟧ TextFile

    Length: 332 (0x14c)
    Types: TextFile
    Notes: UNIX file
    Names: »jl16.c«

Derivation

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

TextFile

#include	<jlib.h>

extern	int	myfd;
extern	struct	jqueue	sendq,
			runq,
			s_replyq;

int	G_Scroll(wid, flag, dir, lines)
int	wid;
char	flag;
char	dir;
int	lines;
{
	MsgReceiver = SMGR;
	MsgCmd   = SM_SCROLL;
	MsgWid   = wid;
	MsgBytL0 = (flag ? 1 : 0);
	MsgData1 = (dir ? 1 : 0 );
	MsgData2 = lines;
	sendmess( );
	return(0);
}