Skip to content

GCC 6.x IRQs

Manuel Montoto edited this page Aug 15, 2018 · 3 revisions

Para que funcionen las IRQs:

Usar las opciones de compilación: -fbaserel32 -fomit-frame-pointer

Después en el código definir la función SIN el atributo __interrupt, pero CON el atributo __saveds para que no se corrompa A4.


Extra:

De https://github.com/bebbo/amigaos-cross-toolchain/issues/59


if you want to use the small data model (-fbaserel) with custom chips, use the far keywords for pointers to hardware.
You should only set the Z-flag if you determine that the interrupt really belongs to your code. There are many sources for the same interrupt.```

Clone this wiki locally