home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
vrac
/
biosin.zip
/
DEMO.PRG
< prev
next >
Wrap
Text File
|
1994-04-18
|
946b
|
32 lines
/*
Clipper Samples.
Copyright (c) 1994 Jeffrey C. Moxon
*/
Function Samples()
Local atypes := { "None", "360 KB", "1.2 MB", "720 KB", "1.44 MB" }
Local cputype := { "8088", "8086", "NEC v20", "NEC v30", "80188", ;
"80186", "80286", "80386", "80486" }
Local nCursor
Set Cursor Off
Clear
FILL_SCR(" Moxon's Utilities ", 78) //Does Not Work in Protected Mode
SetPos(1,1)
? "Current System Configuration:"
? "Drive A is: " + atypes[GET_FLOPPY(0)]
? "Drive B is: " + atypes[GET_FLOPPY(1)]
? "Hard Disk 0 is type: " + Str(GET_HTYPE(0))
? "Hard DIsk 1 it type: " + Str(GET_HTYPE(1))
? "Currently on Drive " + CHR(GET_DRIVE() + 65) + ":"
? "Total of " + Str(F_SIZES("*.*")) + " Bytes in directory."
? "Conventional Memory: " + Str(GET_MEM(0)) + " KB"
? "Extended Memory: " + Str(GET_MEM(1)) + " KB"
? "CPU: " + cputype[GET_CPU()]
//inkey(0)
//BOOT(0) //Uncomment to Re-Boot
Return