|
|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 186 (0xba)
Types: TextFile
Notes: UNIX file
Names: »axis.c«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
└─⟦2d53db1df⟧ UNIX Filesystem
└─⟦this⟧ »frankh/gsrc/axis.c«
#include "graph.h"
axis()
{
long x1, x2, y1, y2;
x1 = XMAX;
y1 = YMAX;
x2 = x1 / 2.0;
y2 = y1 / 2.0;
line((int)x2, 0, (int)x2, (int)y1);
line(0, (int)y2, (int)x1, (int)y2);
}