|
|
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: 270 (0x10e)
Types: TextFile
Notes: UNIX file
Names: »dtext2.c«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
└─⟦926b8033d⟧ UNIX Filesystem
└─⟦this⟧ »u/demo/slide/dtext2.c«
#include <stdio.h>
#define SEG1 ((unsigned int *)0x3b000000L)
main()
{
int c;
printf("\033[H\033[21B");
while((c = getchar()) != EOF) putchar(c);
printf("\033[H");
}
bwipe()
{
register unsigned int *sp = SEG1;
sp[0] = 0xffff;
ldir(sp+1,sp,(800-512)*(1024/16));
}