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

This commit is contained in:
kieron
2018-04-17 00:18:56 +00:00
parent 1e78c537aa
commit 2ee011ea3c
11 changed files with 7 additions and 197 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
File diff suppressed because it is too large Load Diff
+6 -7
View File
@@ -152,22 +152,23 @@ begin
if Packet.y_sign then y32:= y32 OR $FFFFFF00;
if x32 <> 0 then begin
if x32 > 0 then begin
inc(Current.x);
inc(Current.x, (Packet.x_movement div 4));
end else begin
Dec(Current.x);
Dec(Current.x, (Packet.x_movement div 4));
end;
end;
if y32 <> 0 then begin
if y32 > 0 then begin
inc(Current.y);
if y32 < 0 then begin
inc(Current.y, (Packet.y_movement div 4));
end else begin
dec(Current.y)
dec(Current.y, (Packet.y_movement div 4))
end;
end;
if Current.x < 0 then Current.x:= 0;
if Current.y < 0 then Current.y:= 0;
if Current.x > 1279 then Current.x:= 1279;
if Current.y > 1023 then Current.y:= 1023;
DrawCursor;
end;
{console.writestring('Packet[0]: ');
console.writeintln(Mouse_Byte[0]);
@@ -176,8 +177,6 @@ begin
console.writestring('Packet[2]: ');
console.writeintln(Mouse_Byte[2]);}
Cycle:= 0;
DrawCursor;
end;
pop_trace;
end;
+1 -1
View File
@@ -246,7 +246,7 @@ begin
tracer.push_trace('kmain.DEVDRV');
console.outputln('KERNEL', 'DEVICE DRIVERS: INIT BEGIN.');
keyboard.init(keyboard_layout);
mouse.init();
//mouse.init();
testdriver.init();
E1000.init();
IDE.init();