New to OSLib
Erik Groenhuis
e.groenhuis at xs4all.nl
Mon Oct 29 09:44:31 GMT 2007
As Adam wrote on 27 Oct 2007:
> Actually, I thought the simplest solution would just be to extract the
> wimptextop bit of the source code but that's confused me. How does
> OSLib work? Is it not standard assembler?
I have done this occasionally, when I needed only one or two calls and
wanted to prevent clashes with other libraries.
The best way to do this in my opinion is to take the corresponding .swi
file from the OSLIB sources, and get the DefMod program working on your
system. Add some stuff to your makefile:
.SUFFIXES: .swi
.swi.o:; DefMod -l -o l.$* $(BYTEWIDE) -32bit < $<
LibFile -c -o $@ -via ViaFile
and make sure the .o file that is to be made from the .swi file is a
dependency of your target.
--
Erik Groenhuis http://www.xs4all.nl/~erikgrnh
=== http://www.irregularwebcomic.net/ ===
More information about the oslib-user
mailing list