Subversion Repositories Kolibri OS

Rev

Rev 5548 | Rev 5572 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5548 Rev 5549
Line 57... Line 57...
57
	dword w, h, data;
57
	dword w, h, data;
58
};
58
};
Line 59... Line 59...
59
 
59
 
60
:struct mouse
60
:struct mouse
61
{
61
{
62
	signed x,y,lkm,pkm,hor,vert;
62
	signed x,y,lkm,mkm,pkm,hor,vert;
63
	void get();
63
	void get();
Line 64... Line 64...
64
};
64
};
65
 
65
 
Line 77... Line 77...
77
	if (y>6000) y-=65535;
77
	if (y>6000) y-=65535;
78
	EAX = 37;
78
	EAX = 37;
79
	EBX = 2;
79
	EBX = 2;
80
	$int	0x40
80
	$int	0x40
81
	$mov	ebx, eax
81
	$mov	ebx, eax
-
 
82
	$mov	ecx, eax
82
	$and	eax, 0x00000001
83
	$and	eax, 0x00000001
83
	$shr	ebx, 1
84
	$shr	ebx, 1
84
	$and	ebx, 0x00000001
85
	$and	ebx, 0x00000001
-
 
86
	$shr	ecx, 2
-
 
87
	$and	ecx, 0x00000001
85
	lkm = EAX;
88
	lkm = EAX;
86
	pkm = EBX;
89
	pkm = EBX;
-
 
90
	mkm = ECX;
87
	EAX = 37; //áªà®««
91
	EAX = 37; //áªà®««
88
	EBX = 7;
92
	EBX = 7;
89
	$int	0x40
93
	$int	0x40
90
	$mov	ebx, eax
94
	$mov	ebx, eax
91
	$shr	eax, 16
95
	$shr	eax, 16