[LinksOS CVS Commit]kernel/hw/mouse mouse.cpp,1.2,1.3
Status: Inactive
Brought to you by:
terencevs
|
From: <bl...@to...> - 2003-01-17 02:38:27
|
Update of /cvsroot/linksos/kernel/hw/mouse In directory router-internal.tossell.net:/tmp/cvs-serv21601 Modified Files: mouse.cpp Log Message: Title: mouse.cpp compiles Changes: added int main and stdio.h Effects: mouse compiles. Still needs kernel implementation a= blokkie (tfe...@wa...) b= Index: mouse.cpp =================================================================== RCS file: /cvsroot/linksos/kernel/hw/mouse/mouse.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mouse.cpp 17 Jan 2003 02:10:25 -0000 1.2 --- mouse.cpp 17 Jan 2003 02:38:18 -0000 1.3 *************** *** 1,5 **** ! ! void show_mouse(void) ! { const int MAX_Y = 480; const int MAX_X = 640; --- 1,6 ---- ! #include <stdio.h> ! void show_mouse(void); // replace (void) with bipmap ! int main() ! { const int MAX_Y = 480; const int MAX_X = 640; *************** *** 7,11 **** "asm mov ax, 1\n" // Set ax to show the mouse "asm int 0x33\n" // Call the mouse interrupt ! // Constrain mouse horizontal movement "asm mov ax, 7\n" --- 8,12 ---- "asm mov ax, 1\n" // Set ax to show the mouse "asm int 0x33\n" // Call the mouse interrupt ! // Constrain mouse horizontal movement "asm mov ax, 7\n" *************** *** 21,24 **** "asm int 0x33\n"; // Call the mouse interrupt ! } } --- 22,25 ---- "asm int 0x33\n"; // Call the mouse interrupt ! } } |