revert update comments for ksys_draw_bitmap_palette && add .vscode dir to .gitignore
Yes, I use vscode.
Я перепутал ветки :(
This commit is contained in:
Егор 2024-11-17 09:51:46 +01:00
parent 2f928c25de
commit 7859c6d46f
2 changed files with 4 additions and 7 deletions

3
.gitignore vendored
View File

@ -7,6 +7,3 @@ ehthumbs_vista.db
### macOS ###
.DS_Store
._*
# vscode folder
.vscode/

View File

@ -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 %0, %%ebp\n\t" // mov offset to EBP register
"int $0x40\n\t" // system call
"popl %%ebp" // restore EBP register
"pushl %%ebp\n\t" // save EBP register
"movl %0, %%ebp\n\t" // 0x24 - "offset" param
"int $0x40\n\t"
"popl %%ebp" // restore EBP register
::
"X"(offset),
"a"(65),