Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-05

Need help identifying purpose of function/procedures

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Trevor Jenkins

I'm porting an ancient MS-DOS program to Linux. It has two source files. One is Pascal the other assembler. I can cope with much of the Pascal; I used to hack the internals of the Nagel Pascal compiler on DECsystem-10s. And probably much of the assembler code too, which I plan to convert to calls to the appropriate RTL routines (they mostly provide keyboard and screen access).

However, I've found some routines/data structures that don't appear to be in the RTL and aren't in the assembler module. I've grep the RTL soruces and been through the on-line documentation without success. Here they are:

FUNCTION ALLHQQ (wants: WORD): WORD; EXTERNAL;
FUNCTION ALLMQQ (wants: WORD): ADSMEM; EXTERNAL;
FUNCTION DOSXQQ (command, parameter: WORD): BYTE; EXTERNAL;
FUNCTION GetDTA: ADSMEM; EXTERNAL;
FUNCTION GETUQQ (VAR f:FCBFQQ; len: WORD; dst: ADSMEM): WORD; EXTERNAL;
FUNCTION PUTUQQ (VAR f:FCBFQQ; len: WORD; dst: ADSMEM): WORD; EXTERNAL;
FUNCTION TICS: WORD; EXTERNAL;

Does anyone recognise these functions and the FCBFQQ structure? (I know that the structure is a DOS FCB but I need the exact layout of the structure.) I'd appreciate any assistance you can render.

Reply by email