/* Very simple screen I/O XXX: Probably should add very simple serial I/O? These functions are in .inittext so they can be used to signal error during initialization.  */
void __attribute__((section(".inittext")))
/* Very simple screen I/O XXX: Probably should add very simple serial I/O? These functions are in .inittext so they can be used to signal error during initialization.  */
void __attribute__((section(".inittext")))
{
	struct biosregs ireg;
	if (ch == '\n')
		putchar('\r');
	initregs(&ireg);
	ireg.bx = 0x0007;
	ireg.cx = 0x0001;
	ireg.ah = 0x0e;
	ireg.al = ch;
	intcall(0x10, &ireg, NULL);
}