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

⟦8f80ebb3e⟧ TextFile

    Length: 136 (0x88)
    Types: TextFile
    Notes: UNIX file
    Names: »clocksh.c«

Derivation

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

TextFile

#include <signal.h>
#include <smgr.h>

MESSAGE	m = {WMGR+3, 127, 0, 0, 0};

main()
{
	loop {
		sleep(1);
		ioctl(0, CIOSENDM, &m);
	}
}