- move(16,0); printw("Extent: %3d",((buf[entrystart+12]&0xff)+((buf[entrystart+14]&0xff)<<5))/drive.extents);
- printw(" (low: ");
- if (offset==12) attron(A_REVERSE);
- printw("%2d",buf[entrystart+12]&0xff);
- attroff(A_REVERSE);
- printw(", high: ");
- if (offset==14) attron(A_REVERSE);
- printw("%2d",buf[entrystart+14]&0xff);
- attroff(A_REVERSE);
- printw(")");
- move(17,0); printw("Last extent record count: ");
- if (offset==15) attron(A_REVERSE);
- printw("%3d",buf[entrystart+15]&0xff);
- attroff(A_REVERSE);
- move(18,0); printw("Last record byte count: ");
- if (offset==13) attron(A_REVERSE);
- printw("%3d",buf[entrystart+13]&0xff);
- attroff(A_REVERSE);
- move(19,0); printw("Data blocks:");
+ term_xy(0,16); term_printf("Extent: %3d",((buf[entrystart+12]&0xff)+((buf[entrystart+14]&0xff)<<5))/drive.extents);
+ term_printf(" (low: ");
+ if (offset==12) term_reverse(1);
+ term_printf("%2d",buf[entrystart+12]&0xff);
+ term_reverse(0);
+ term_printf(", high: ");
+ if (offset==14) term_reverse(1);
+ term_printf("%2d",buf[entrystart+14]&0xff);
+ term_reverse(0);
+ term_printf(")");
+ term_xy(0,17); term_printf("Last extent record count: ");
+ if (offset==15) term_reverse(1);
+ term_printf("%3d",buf[entrystart+15]&0xff);
+ term_reverse(0);
+ term_xy(0,18); term_printf("Last record byte count: ");
+ if (offset==13) term_reverse(1);
+ term_printf("%3d",buf[entrystart+13]&0xff);
+ term_reverse(0);
+ term_xy(0,19); term_printf("Data blocks:");