Import backup from 2004-06-01
This commit is contained in:
1 parent
6d941b7b16
commit
b4aca026d4
17 files changed
+419
-161
No files matched your search
@@ -8,7 +8,7 @@
|
||||
#include "mm/vmm.h"
|
||||
|
||||
ModeInfoBlock video_mode;
|
||||
dword videoMode; //what video mode # we are in, 0 for console mode
|
||||
dword videoMode = 0; //what video mode # we are in, 0 for console mode
|
||||
word *vid_ptr16 = (word *)0xF0000000;
|
||||
byte *vid_ptr24 = (byte *)0xF0000000;
|
||||
dword *vid_ptr32 = (dword *)0xF0000000;
|
||||
@@ -35,14 +35,14 @@ void video_init()
|
||||
case 32:
|
||||
video_psetp = &video_psetp32;
|
||||
}
|
||||
|
||||
/* unsigned int vidPages = video_mode.XResolution * video_mode.YResolution * (video_mode.BitsPerPixel >> 3);
|
||||
|
||||
unsigned int vidPages = video_mode.XResolution * video_mode.YResolution * (video_mode.BitsPerPixel >> 3);
|
||||
if (vidPages % 4096)
|
||||
vidPages = (vidPages >> 12) + 1;
|
||||
else
|
||||
vidPages = (vidPages >> 12);
|
||||
vmm_mapn(0xF0000000, video_mode.PhysBasePtr, vidPages);
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
//Renders a character using stdfont[] as a bitmask
|
||||
|
||||
Reference in new issue
Block a user