feat: put_pixel
dark example
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user