Subversion Repositories Kolibri OS

Rev

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

Rev 5576 Rev 5582
Line 31... Line 31...
31
};
31
};
Line 32... Line 32...
32
 
32
 
33
 
33
 
34
:void DrawDate(dword x, y, color, in_date)
34
:void DrawDate(dword x, y, color, in_date)
35
{
35
{
36
	//char text[10];
36
	char text[15];
37
	EDI = in_date;
37
	/*EDI = in_date;
38
	EAX = 47;
38
	EAX = 47;
39
	EBX = 2<<16;
39
	EBX = 2<<16;
40
	EDX = x<<16+y;
40
	EDX = x<<16+y;
Line 45... Line 45...
45
	ECX = EDI.date.month;
45
	ECX = EDI.date.month;
46
	$int 0x40;
46
	$int 0x40;
47
	EDX += 18<<16;
47
	EDX += 18<<16;
48
	EBX = 4<<16;
48
	EBX = 4<<16;
49
	ECX = EDI.date.year;
49
	ECX = EDI.date.year;
50
	$int 0x40;
50
	$int 0x40;*/
Line 51... Line 51...
51
	
51
 
52
	//sprintf(#text,"%d.%d.%d",EDI.date.day,EDI.date.month,EDI.date.year);
52
	//sprintf(#text,"%s","ddf");
53
	//WriteText(x, y, 0x80, 0x80<<24+color, #text);
53
	WriteText(x, y, 0x80, color, "adas\0");
Line 54... Line 54...
54
}
54
}
55
 
55