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

⟦24998b370⟧ TextFile

    Length: 185 (0xb9)
    Types: TextFile
    Notes: UNIX file
    Names: »grid.c«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦926b8033d⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »u/demo/slide/grid.c« 

TextFile

#define MAXX 1024
#define MAXY 800
#define DX 20
#define DY 20
main() 
{
	short i;
	for(i = 0; i < MAXX; i+= DX)
		line(i,0,i,MAXY);
	for(i = 0; i < MAXY; i+= DY)
		line(0,i,MAXX,i);
}