forked from KolibriOS/kolibrios
update comments for ksys_draw_bitmap_palette && add .vscode dir to .gitignore
Yes, I use vscode.
This commit is contained in:
parent
f78b47b814
commit
1b88ec0ac2
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,3 +7,6 @@ ehthumbs_vista.db
|
|||||||
### macOS ###
|
### macOS ###
|
||||||
.DS_Store
|
.DS_Store
|
||||||
._*
|
._*
|
||||||
|
|
||||||
|
# vscode folder
|
||||||
|
.vscode/
|
||||||
|
@ -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)
|
KOSAPI void ksys_draw_bitmap_palette(void* bitmap, int x, int y, int w, int h, int bpp, void* palette, int offset)
|
||||||
{
|
{
|
||||||
asm_inline(
|
asm_inline(
|
||||||
"pushl %%ebp\n\t" // save EBP register
|
"pushl %%ebp\n\t" // save EBP register
|
||||||
"movl %0, %%ebp\n\t" // 0x24 - "offset" param
|
"movl %0, %%ebp\n\t" // mov offset to EBP register
|
||||||
"int $0x40\n\t"
|
"int $0x40\n\t" // system call
|
||||||
"popl %%ebp" // restore EBP register
|
"popl %%ebp" // restore EBP register
|
||||||
::
|
::
|
||||||
"X"(offset),
|
"X"(offset),
|
||||||
"a"(65),
|
"a"(65),
|
||||||
|
Loading…
Reference in New Issue
Block a user