Re: [Sdcc-user] Can't figure out how to write interrupt handlers for Z80 using SDCC

2017-06-05 Thread alvin albrecht
> but can't figure out how to use the above example crt0.s file with SDCC for a > Z80 target. Using the --use-crt switch doesn't seem to work. > unknown compiler option '--use-crt=crt0.s' ignored Have a look here for an example of using a custom crt.s: https://github.com/z88dk/z88dk/tree/master/

Re: [Sdcc-user] Can't figure out how to write interrupt handlers for Z80 using SDCC

2017-06-05 Thread Maarten Brock
Hello Adam, I think you're supposed to take our crt.s and modifiy it to your needs with the missing jumps. https://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/device/lib/z80/crt0.s Assemble it and then link it with the rest of your application. Maarten > Hi, > > I'm developing a program in