/* no errors--but when I use this function, any strings I have written to the screen don't show up. The print string function works properly. */ static inline void mov_cur(void) { cur_pos = x + y * 80; /* 0x3d4 */ outportb(CRTC_INDEX, 14); /* MSB of offset to CRTC reg 14 */ outportb(CRTC_DATA, (char)cur_pos >> 8); outportb(CRTC_INDEX, 15); /* LSB of offset to CRTC reg 15 */ outportb(CRTC_DATA, (char)cur_pos); cur_pos *= 2; return; }