git-svn-id: https://spexeah.com:8443/svn/Asuro@544 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

This commit is contained in:
kieron 2018-04-26 16:55:27 +00:00
parent 11542b4c34
commit 6d3f6ccbf3
13 changed files with 6 additions and 6 deletions

BIN
Asuro.iso

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.

Binary file not shown.

View File

@ -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);
@ -224,7 +224,7 @@ begin
fgcolor32:= fgcolor OR (fgcolor SHL 16); fgcolor32:= fgcolor OR (fgcolor SHL 16);
mask:= puint32(@Std_Mask[uint32(c) * (16 * 8)]); mask:= puint32(@Std_Mask[uint32(c) * (16 * 8)]);
dest:= puint16(multibootinfo^.framebuffer_addr); dest:= puint16(multibootinfo^.framebuffer_addr);
dest:= dest + (y*1280) + x; dest:= dest + (y * 1280) + x;
dest32:= puint32(dest); dest32:= puint32(dest);
for i:=0 to 15 do begin for i:=0 to 15 do begin
dest32[(i*640)+0]:= (dest32[(i*640)+0] AND NOT(mask[(i*4)+0])) OR (fgcolor32 AND mask[(i*4)+0]); dest32[(i*640)+0]:= (dest32[(i*640)+0] AND NOT(mask[(i*4)+0])) OR (fgcolor32 AND mask[(i*4)+0]);

View File

@ -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);

View File

@ -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();