feat: put_pixel

dark example
This commit is contained in:
2024-03-30 17:36:54 -04:00
committed by Sweetbread
parent 20f46098ec
commit 78f050e20c
5 changed files with 144 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ section '.text'
public _start_window_draw
public _end_window_draw
public _define_window
public _put_pixel
public _display_message
public _wait_event
public _pressed_key
@@ -50,6 +51,14 @@ _define_window:
pop edi
ret
_put_pixel:
mov eax, SF_PUT_PIXEL
mov ebx, dword [esp + 4 * 1]
mov ecx, dword [esp + 4 * 2]
mov edx, dword [esp + 4 * 3]
int 0x40
ret
_display_message:
push esi edi
mov eax, SF_DRAW_TEXT