Hello, When using gcc 3, there is something that must be modified in OS bindings, in the assembly macros calling the various traps. It is related to the clobber list of registers, where the output register must not appear with gcc 3. So along with this small modification (at the start of osbind.h, definition of OSBIND_CLOBBER_LIST), I made some cleanup in the header files: - in the assembly macros routines, when you output the source code generated by gcc, all the instructions don't reside on the same line, making it easier to read (useful). - Change all functions opcodes to hexa, and replacing spaces by tabs (less useful, if not useless). -- Patrice Mandin WWW: http://membres.lycos.fr/pmandin/ Programmeur Linux, Atari Spécialité: Développement, jeux
Attachment:
mintlib-osbindings.diff.gz
Description: Binary data