struct _SystemDiscs { collection list; int dev_num; void Get(); void Draw(); void DrawSelect(); void DrawOptions(); void Click(); } SystemDiscs=0; void _SystemDiscs::Get() { bool kolibrios_exists=false; char dev_name[10], sys_discs[10]; int i1, j1, dev_num_i, dev_disc_num; dword devbuf, diskbuf; list.drop(); devbuf = malloc(10000); ReadDir(19, devbuf, "/"); dev_num = dev_num_i = EBX; for (i1=0; i1