struct _SystemDiscs { collection list; int dev_num; void Get(); void Draw(); void DrawSelect(); void DrawOptions(); } SystemDiscs=0; void _SystemDiscs::Get() { char dev_name[10], sys_discs[10]; int i1, j1, dev_disc_num, real_dev_num; dword devbuf, diskbuf; list.drop(); devbuf = malloc(10000); ReadDir(19, devbuf, "/"); dev_num = real_dev_num = EBX; list.add("/sys"); dev_num++; if (dir_exists("/kolibrios")) { //need to check that /sys != /kolibrios list.add("/kolibrios"); dev_num++; } for (i1=0; i1