Assembler header files

Philip Ludlam philip at philipnet.com
Tue Sep 17 21:33:43 BST 2002


Hi All,

Some assembler related C work got me looking at the header (OSLib.Hdr.*)
files in OSLib. Remembering past experiences with them I did wonder if
they would all compile. It seems not. Happy fixing :-) !

In CD, the symbols CD_Audio and CD_DriveReady are defined twice.

In FontDbox, the symbol FontDbox_Font is defined twice.

In Iconbar there are four reports of Toolbox_o being undefined.

Error: Bad global name at line 11 in file OSLIB:oslib.Hdr.OSF32
 included by GET/INCLUDE directive at line 11 in file "raFS::OSLIb.$.OsLib.OSlib.Hdr.OSCore32"
   11 00000000  GBLS $OS_F
Error: Unknown opcode at line 12 in file OSLIB:oslib.Hdr.OSF32
 included by GET/INCLUDE directive at line 11 in file "raFS::OSLIb.$.OsLib.OSlib.Hdr.OSCore32"
   12 00000000 $OS_F SETS OS_FW

In URL, the symbols URL_MethodCode and URL_MethodFlags are defined twice.

There are Multiply or incompatibility defined symbols (yuck!) messages
for Window and Menu. There maybe more for some of the other toolbox
related header files but ObjAsm's throwback is worse than useless in
tracking down errors in included files :-(.

I would offer solutions, but not knowing the inside of OSLib and/or
DefMod I wouldn't know where to start. But, in my opinion, backwards
compatibility can be hung. The files as they stand don't compile so make
whatever changes you feel are necessary to get them to.

Yours,

Phil L.




More information about the oslib-user mailing list