|
// Malta API void cls() { unsigned char *pntr = (unsigned char *)0xB8000; //setup the pointer const long size = 80*25; //console size long loop; //counter for (loop=0; loop *pntr++ = 0xF; } void MsgBox(msg, title); { unsigned char *pntr = (unsigned char *)0xB8000; //setup the pointer const long size = 80*25; //console size long loop; //counter framePrint("msgbox"); scrPrint("-------------------------------------/n"); scrColor(blue); scrPrint(" "title" /n"); scrDefault(); scrPrint("-------------------------------------/n'); scrPrint(true, msg); buttonPrint(msgbox, "OK"); scrPrint("-------------------------------------/n"); mouseEn(); if (okpressed = 1;) { cls(); } void Start() { loader(); } void GetProperitesOfFile(file); { read = 096:975:865 // translates to first sector on cy 0 and side 0 find = 100:000:000 // translates to second sector on cy 0 and side 0 var result = getIt(hdimg); } |