old-MTGos-old/user/test.c
Morten Delenk dc6b62e64e Renamed the PMM to QDPMM (quick & dirty physical memory manager)
Added skeleton of the new PMM, which uses QDPMM
2016-05-05 21:12:36 +02:00

15 lines
251 B
C

void temp() {
static unsigned short* videomem = (unsigned short*) 0xb8000;
int i;
for (i = 0; i < 3; i++) {
*videomem++ = (0x07 << 8) | ('0' + i);
}
}
void _start(void)
{
int i;
for(i=0;i<100;i++)
temp();
while(1);
}