WonderWitch/IL/IlibIL

From WSdev Wiki
Revision as of 12:51, 19 October 2024 by Asie (talk | contribs) (Created page with "IlibIL is a library used to load other indirect libraries present on the system. == Functions == === open === <code>int open(const char far *name, IL far *buffer);</code> Load the specified IL <code>name</code> from <code>/rom0</code> or <code>/kern</code>. The IL header is copied to the provided <code>buffer</code> with addresses appropriately relocated to match the IL's location in ROM. === open_system === <code>int open_system(const char far *name, IL far *buffe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

IlibIL is a library used to load other indirect libraries present on the system.

Functions

open

int open(const char far *name, IL far *buffer);

Load the specified IL name from /rom0 or /kern. The IL header is copied to the provided buffer with addresses appropriately relocated to match the IL's location in ROM.

open_system

int open_system(const char far *name, IL far *buffer);

Works like open, except only /kern is queried for the presence of the library.