flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > Function 43 |
Author |
|
spideros1 10 Dec 2004, 07:23
it's sys_outport system call. someone has probably forgotten to add it to documentation.
|
|||
10 Dec 2004, 07:23 |
|
Madis731 10 Dec 2004, 10:07
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. |
|||
10 Dec 2004, 10:07 |
|
spideros1 10 Dec 2004, 10:43
43 = SEND DATA TO DEVICE
bx=port cl=data return: eax = 0 if OK otherwise error |
|||
10 Dec 2004, 10:43 |
|
mike.dld 10 Dec 2004, 10:49
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. |
|||
10 Dec 2004, 10:49 |
|
profkid13 23 Dec 2004, 08:31
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 |
|||
23 Dec 2004, 08:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.