T.R | Title | User | Personal Name | Date | Lines |
---|
1428.1 | Common Lisp small and massive | AITG::WISNER | Disconnect before disconnecting connecting connectors | Thu May 19 1988 13:32 | 21 |
| HOORAY!!!!!!!!!!!!!!!!!!!! If you do this I'll be your biggest
fan. Want help???
I fairly sure you can access library routines with their symbol
names. I'll look it up in the docs tonight.
"This summer I startup my attempt to port Kyoto Common Lisp to the
amiga. It's a full Common Lisp with a compiler. It compiles lisp
functions to C, then calls your C compiler and linker. I have to
give it the capability of loading executable code dynamically.
Yikes! I have the code for this for many systems (SUNS, PYRAMID,
VAX, etc). There are about 4meg of source files. Most are lisp.
You build a base system in C then load in the Lisp files, compile
them, and save the full version. A hard disk and a C compiler will
be required to use the system, and probably 2meg of ram. This is
alot of fun."
I think XLISP is great. I used it for all my projects in the A.I.
course and some math courses too. I was wishing for graphics.
-Paul Wisner
|
1428.2 | oh really? | COOKIE::WECKER | Official DEC Houseplant | Thu May 19 1988 19:09 | 10 |
| re: .1
a. Where did you get it?
b. How much?
c. What sort of license?
d. Is it on the E-NET?
e. Can I get my paws on it?
dave
|
1428.3 | | AITG::WISNER | Disconnect before disconnecting connecting connectors | Fri May 20 1988 17:40 | 7 |
| Sorry to have lead this topic off the subject of accessing functions
in amiga libraries.
re: .2 more info about KCL in note 1432.
Haven't been home since yesterday. So I haven't looked up the answer
to your question.
|
1428.4 | OpenLibrary is it (sort of) | TLE::RMEYERS | Randy Meyers | Sat May 21 1988 23:54 | 14 |
| Re: .0
Yes and No.
Yes: The Amiga OpenLibrary function is equivalent to LIB$FIND_IMAGE_SYMBOL
in that it binds a library of code to the program dynamically at runtime.
No: Unlike LIB$FIND_IMAGE_SYMBOL, OpenLibrary does not find the address
to use for an entry point. Instead, offsets off the library vector
are coded into the program. Like VMS, Amiga Libraries have a transfer
vector associated with them.
See pages A-2 to A-4 of "Amiga ROM Kernel Reference Manual: Libraries and
Devices."
|
1428.5 | entry point tables? | AITG::WISNER | Disconnect before disconnecting connecting connectors | Mon May 23 1988 18:08 | 17 |
|
I looked for a way to access a library routine without hardcoding
it's vector offset into your program. I didn't find anything built
into the exec.
ALTERNATE APPROACH:
AmigaBASIC has .FDL files associated with each library. I suspect
the these files contain the vector offset for each routine name.
You could create similiar entry point/routine name tables for your
programs libraries. To calculate the routines vector:
LibBase - &Routine()
There must be a better way.... anyone?
|