private void readFCB(int dir, FCB fcb) { int offset = dir * 32; int sector = offset / 128; offset = offset % 128; readSector(sector, fcbBuffer); fcb.setBuffer(fcbBuffer, offset); }