git-svn-id: https://spexeah.com:8443/svn/Asuro@544 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
11542b4c34
commit
6d3f6ccbf3
13 files changed
+5
-5
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -196,7 +196,7 @@ begin
|
|||||||
dest:= puint16(multibootinfo^.framebuffer_addr);
|
dest:= puint16(multibootinfo^.framebuffer_addr);
|
||||||
dest:= dest + (y * 1280) + x;
|
dest:= dest + (y * 1280) + x;
|
||||||
dest64:= puint64(dest);
|
dest64:= puint64(dest);
|
||||||
getPixel64:= dest64[0];
|
getPixel64:= dest64^;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure drawPixel64(x : uint32; y : uint32; pixel : uint64);
|
procedure drawPixel64(x : uint32; y : uint32; pixel : uint64);
|
||||||
@@ -208,7 +208,7 @@ begin
|
|||||||
dest:= puint16(multibootinfo^.framebuffer_addr);
|
dest:= puint16(multibootinfo^.framebuffer_addr);
|
||||||
dest:= dest + (y * 1280) + x;
|
dest:= dest + (y * 1280) + x;
|
||||||
dest64:= puint64(dest);
|
dest64:= puint64(dest);
|
||||||
dest64[0]:= pixel;
|
dest64^:= pixel;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure outputCharToScreenSpace(c : char; x : uint8; y : uint8; fgcolor : uint16);
|
procedure outputCharToScreenSpace(c : char; x : uint8; y : uint8; fgcolor : uint16);
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ begin
|
|||||||
end;}
|
end;}
|
||||||
for y:=0 to 7 do begin
|
for y:=0 to 7 do begin
|
||||||
for x:=0 to 1 do begin
|
for x:=0 to 1 do begin
|
||||||
drawPixel64(Last.x + x * 4, Last.y + y, BackPixels[x][y]);
|
drawPixel64(Last.x + (x * 4), Last.y + y, BackPixels[x][y]);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@@ -86,7 +86,7 @@ begin
|
|||||||
end;}
|
end;}
|
||||||
for y:=0 to 7 do begin
|
for y:=0 to 7 do begin
|
||||||
for x:=0 to 1 do begin
|
for x:=0 to 1 do begin
|
||||||
BackPixels[x][y]:= GetPixel64(nx + x * 4, ny + y);
|
BackPixels[x][y]:= GetPixel64(nx + (x * 4), ny + y);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
outputCharToScreenSpace(char(0), nx, ny, $FFFF);
|
outputCharToScreenSpace(char(0), nx, ny, $FFFF);
|
||||||
|
|||||||
+1
-1
@@ -287,7 +287,7 @@ begin
|
|||||||
|
|
||||||
tracer.push_trace('kmain.END');
|
tracer.push_trace('kmain.END');
|
||||||
|
|
||||||
outputCharToScreenSpace(char(0), 10, 10, $FFFF);
|
//outputCharToScreenSpace(char(0), 10, 10, $FFFF);
|
||||||
|
|
||||||
while true do begin
|
while true do begin
|
||||||
mouse.DrawCursor();
|
mouse.DrawCursor();
|
||||||
|
|||||||
Reference in new issue
Block a user