maybe that's way ?

this was i found searching, is well commented and easy to modify, i was wondering how much channel is possible to drive if I put out analog in and change pic to 18f452 with pll_en (40mhz)
or is it clever (or possible) to port (interrupt driven) triac drivers and dmx receiver into a asm interrupt handler subroutine in bas file, so i can touch other not critical pieces of code...

I know it is not easy to do, but can be interesting to everyone in this thread...

my programming knowledge i poor when talking about asm_interrupt but I will give a try..

http://epanorama.net/digipack/Digi_Pack/dmx_pack.asm