Welcome, Guest. Please login or register.

Author Topic: NDK 3.1 Include file problem.  (Read 5008 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Joloo

Re: NDK 3.1 Include file problem.
« on: February 03, 2011, 08:02:56 PM »
Well, as far as only the LVOs are concerned, you can manually create them using the fd2pragma program:

fd2pragma TO SPECIAL 23

Unfortunately, the CALLXXX (CALLGRAF,CALLDOS) macros will not be created by fd2pragma, nor the basename macro (GRAFNAME,DOSNAME).

If I am not mistaken, I never override my NDK 3.0 include files with that of NDK 3.1 because there were a bunch of errors in those ASM-include files and I never was in the mood to fix them.

If you like, I can upload my ASM include files covering the 3.0 API.

Quote

After obtaining the NDK 3.1 include files, I've been unable to use any _LVOxxx names in my source code, such as _LVOOpenLibrary and _LVOOpenScreenTagList.


Quiet normal I would say. All versions of the SDK/NDK came without the assembler LVOs and only EXEC and REXX came with the FUNCDEF and LIBDEF defined LVOs, in addition, they can't work out of the box because the important FUNCDEF macro is put out of order (exec/libraries.i). Next, I wouldn't rely on these macro defined LVOs at all because (at least for NDK3.9) by mistake some v36 include files went into the NDK which should have been v40...
It was and is still better to create these LVOs on your own.