Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
#include
2
 
3
void __menuet__set_background_size(__u32 xsz,__u32 ysz)
4
{
5
 __asm__ __volatile__("int $0x40"::"a"(15),"b"(1),"c"(xsz),"d"(ysz));
6
}
7
 
8
void __menuet__write_background_mem(__u32 pos,__u32 color)
9
{
10
 __asm__ __volatile__("int $0x40"::"a"(15),"b"(2),"c"(pos),"d"(color));
11
}
12
 
13
void __menuet__draw_background(void)
14
{
15
 __asm__ __volatile__("int $0x40"::"a"(15),"b"(3));
16
}
17
 
18
void __menuet__set_background_draw_type(int type)
19
{
20
 __asm__ __volatile__("int $0x40"::"a"(15),"b"(3),"c"(type));
21
}
22
 
23
void __menuet__background_blockmove(char * src_ptr,__u32 bgr_dst,__u32 count)
24
{
25
 __asm__ __volatile__("int $0x40"::"a"(15),"b"(3),"c"(src_ptr),"d"(bgr_dst),"S"(count));
26
}