flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
spideros1
it's sys_outport system call. someone has probably forgotten to add it to documentation.
|
|||
![]() |
|
Madis731
Anyone looking this thread - knowing how to call 43 - please post us some documentation.
Maybe one with enough power could update manuetos.org with this document. ![]() |
|||
![]() |
|
spideros1
43 = SEND DATA TO DEVICE
bx=port cl=data return: eax = 0 if OK otherwise error |
|||
![]() |
|
mike.dld
Code: 43 = SEND/READ DATA TO/FROM DEVICE OUTPUT: bx : port # cl : data result : eax = 0 if OK, error code otherwise INPUT: ecx : port # (31st bit must be set) result : eax = 0 if OK, error code otherwise bl = data Before any I/O operations, port (or group of ports) must be reserved (and freed when no longer needed): Code: 46 = RESERVE/FREE PORT AREA ebx 0 reserve 1 free ecx port area start edx port area end result: eax = 0 if OK, 1 if error. |
|||
![]() |
|
profkid13
spideros1 wrote: 43 = SEND DATA TO DEVICE how comes not all the functs are in sysfuncs.txt? and shouldnt it be cx = port and bl = data ?:p |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.