First three lines are printed in assembly code. The fourth line is printed in C code with my printf function. The thing is, that if I don't print the last line, the first line doesn't have that space at the beginning. I have totally no idea how that space appears at the beginning of the first line -- it shouldn't be there, obviously. This is how I print the fourth line:
Code: Select all
_printf("%b[CPU] Remapping PIC and enabling interrupts... \n");
Code: Select all
case 'b':
y = (*(int *)0x450) + 1;
screen_idx = y*80 + x;
x = 0;
break;
Code: Select all
mov al, byte[CurY]
mov [0x450], al
Regards,
--benjii