Rev 8429 | Rev 8446 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8429 | Rev 8436 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include "kolibri.h" |
1 | #include "kolibri.h" |
2 | #include "string.h" |
2 | #include "string.h" |
- | 3 | #include |
|
Line 3... | Line 4... | ||
3 | 4 | ||
4 | 5 | ||
5 | extern char KOL_PATH[256]; |
6 | extern char KOL_PATH[256]; |
Line 467... | Line 468... | ||
467 | }; |
468 | }; |
Line 468... | Line 469... | ||
468 | 469 | ||
469 | void kos_blit(int dstx, int dsty, int w, int h, int srcx, |
470 | void kos_blit(int dstx, int dsty, int w, int h, int srcx, |
470 | int srcy,int srcw, int srch, int stride, char *d) |
471 | int srcy,int srcw, int srch, int stride, char *d) |
471 | { |
472 | { |
472 | struct blit_call image; |
473 | volatile struct blit_call image; |
473 | image.dstx=dstx; |
474 | image.dstx=dstx; |
474 | image.dsty=dsty; |
475 | image.dsty=dsty; |
475 | image.w=w; |
476 | image.w=w; |
476 | image.h=h; |
477 | image.h=h; |
Line 479... | Line 480... | ||
479 | image.srcw=srcw; |
480 | image.srcw=srcw; |
480 | image.srch=srch; |
481 | image.srch=srch; |
481 | image.stride=stride; |
482 | image.stride=stride; |
482 | image.d=d; |
483 | image.d=d; |
483 | asm ("int $0x40"::"a"(73),"b"(0),"c"(&image)); |
484 | asm("int $0x40"::"a"(73),"b"(0),"c"(&image)); |
- | 485 | ||
484 | } |
486 | } |