Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #include<menuet/os.h>
  2.  
  3. void __menuet__get_screen_max(__u16 * x,__u16 * y)
  4. {
  5.  __u32 v;
  6.  __asm__ __volatile__("int $0x40":"=a"(v):"0"(14));
  7.  if(x) *x=v>>16;
  8.  if(y) *y=v & 0xFFFF;
  9. }
  10.