Import backup from 2003-09-30

This commit is contained in:
Josh Holtrop 2003-09-30 22:00:00 -04:00
parent 82da40c9f0
commit 3dc0fe5e2b
5 changed files with 52 additions and 1 deletions

View File

@ -1 +0,0 @@
mm_palloc() and mm_pfree() working, coalescing successfully!!

View File

@ -43,6 +43,11 @@ void k_init()
video_rectf(VXR*5/11, VYR/5, VXR*6/11, VYR*4/5, 0x00000088);
video_rectf(VXR*9/11, VYR/5, VXR-1, VYR*2/5, 0x00000088);
video_rectf(VXR*8/11, VYR*3/5, VXR*10/11, VYR*4/5, 0x00000088);
video_vert(10, 10, 16, 0x00ffff00); //should be yellow 'H'
video_horiz(13, 10, 14, 0x00ffff00);
video_vert(14, 10, 16, 0x00ffff00);
mm_init();
enable_ints();
console_cls();

7
tetris.c Normal file
View File

@ -0,0 +1,7 @@
// tetris.x
// Author: Josh Holtrop
// Date: 09/30/03

27
vmm.c Normal file
View File

@ -0,0 +1,27 @@
// vmm.c
// Author: Josh Holtrop
// Date: 09/30/03
void *malloc(dword bytes)
{
}
int free(void *ptr);
{
}

13
vmm.h Normal file
View File

@ -0,0 +1,13 @@
// vmm.h
// Author: Josh Holtrop
// Date: 09/30/03
void *malloc(dword bytes);
int free(void *ptr);