mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-22 00:51:23 +03:00
Compare commits
2 Commits
c762489408
...
8ece779b4b
Author | SHA1 | Date | |
---|---|---|---|
|
8ece779b4b | ||
|
a218a83bd5 |
@ -1223,10 +1223,10 @@ KOSAPI void _ksys_debug_puts(const char* s)
|
||||
KOSAPI void ksys_draw_bitmap_palette(void* bitmap, int x, int y, int w, int h, int bpp, void* palette, int offset)
|
||||
{
|
||||
asm_inline(
|
||||
"pushl %%ebp,\n\t" // save EBP register
|
||||
"movl 0x24(%%ebp), %%ebp\n\t" // 0x24 - "offset" param
|
||||
"pushl %%ebp\n\t" // save EBP register
|
||||
"movl 0x24(%%ebp), %%ebp\n\t" // 0x24 - "offset" param
|
||||
"int $0x40\n\t"
|
||||
"popl %%ebp" // restore EBP register
|
||||
"popl %%ebp" // restore EBP register
|
||||
:
|
||||
: "a"(65),
|
||||
"b"(bitmap),
|
||||
|
Loading…
Reference in New Issue
Block a user