DOS/32 Advanced DOS Extender - Programmer's Reference 3.44 - DOS function 0FF80h - DOS/32 Advanced Magic Function
In: | AX = 0FF80h EBX = first argument(s) ECX = second argument(s) DS:EDX = pointer to ASCIIZ string
Out: | string written to STDOUT
Notes: a) This call is specific to DOS/32 Advanced DOS Extender only, and is not supported by standard DOS. b) This function writes a formatted ASCIIZ string to STDOUT, and is equal to DOS function AH=09h, except that it takes argument parameters passed in the EBX and ECX registers. c) The string may contain optional modifiers which will be converted to the ASCII codes by the DOS Extender. The valid modifiers are: %c - convert argument to an ASCII character (8-bit) %d - convert argument to a decimal number in range 0..2^16 (16-bit) %b - convert argument to a heximal number in range 0..2^8 (8-bit) %w - convert argument to a heximal number in range 0..2^16 (16-bit) %l - convert argument to a heximal number in range 0..2^32 (32-bit) d) This function can accept the maximum of two 32-bit arguments passed in the EBX and ECX registers or four 8- and 16-bit arguments passed in the respective high/low words of EBX and ECX registers (the 8-bit arguments are zero-extended to 16-bit values internally). e) The maximum length of the *formatted* string is 256 bytes. f) This function may be called from interrupt and exception handlers. Copyright © Supernar Systems, Ltd. 1996-2002 All Rights Reserved.