forked from KolibriOS/kolibrios
revert 1b88ec0ac2
revert update comments for ksys_draw_bitmap_palette && add .vscode dir to .gitignore Yes, I use vscode. Я перепутал ветки :(
This commit is contained in:
parent
2f928c25de
commit
7859c6d46f
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,6 +7,3 @@ ehthumbs_vista.db
|
|||||||
### macOS ###
|
### macOS ###
|
||||||
.DS_Store
|
.DS_Store
|
||||||
._*
|
._*
|
||||||
|
|
||||||
# vscode folder
|
|
||||||
.vscode/
|
|
||||||
|
@ -1224,8 +1224,8 @@ KOSAPI void ksys_draw_bitmap_palette(void* bitmap, int x, int y, int w, int h, i
|
|||||||
{
|
{
|
||||||
asm_inline(
|
asm_inline(
|
||||||
"pushl %%ebp\n\t" // save EBP register
|
"pushl %%ebp\n\t" // save EBP register
|
||||||
"movl %0, %%ebp\n\t" // mov offset to EBP register
|
"movl %0, %%ebp\n\t" // 0x24 - "offset" param
|
||||||
"int $0x40\n\t" // system call
|
"int $0x40\n\t"
|
||||||
"popl %%ebp" // restore EBP register
|
"popl %%ebp" // restore EBP register
|
||||||
::
|
::
|
||||||
"X"(offset),
|
"X"(offset),
|
||||||
|
Loading…
Reference in New Issue
Block a user