From: "Anthony Q. Bachler" Newsgroups: comp.os.msdos.djgpp Subject: Need help on ISR Date: 22 Mar 1997 08:57:02 GMT Organization: Apcad Engineering Lines: 67 Message-ID: <01bc369e$5a5b5940$LocalHost@anthonyb> NNTP-Posting-Host: 208.16.64.195 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Can someone help me with this code? I want to set up the function Timer to execute every time the System timer interupt is called (0x1c on PC's). The code compiles just fine, but when I run it the program crashes and gives me either a Segment violation or an invalid instruction. -- ::-) ---------------------------------------------------------------------------- --- C code is like assholes, everyone's stinks but your own. Looking at C code is like looking at your bedroom, a complete mess to everone else, but you can tell them where every little thing is. C code is like Ex-Lax, great when it works but a pain in the ass when it doesn't. Explaining why C is better than Pascal is like explaining why peanut butter is better than toe jam. Explaining why Assembler is better than anything is like explaining why deafness is better than listening to 'The artist formerly known as Prince'. begin 600 main.c M+RH)2&%C:R!A;F0 AT 4VQA0T*9&ES=')I8G5T92!T:&4@&5C=71A8FQE('9EF4@=&AE(&=A;64 AT 86YD(')U;B!T:&4 AT 9V%M92!L M;V]P+B @06QL(&=A;64-"B\O("!F=6YC=&EO;G,@87)E(&QE9G0@=7 @=&\@ M=&AE(&EN9&EV:61U86P AT 9G5N8W1I;VYS+@T*(VEN8VQU9&4@/'-T9&QI8BYH M/@T*(VEN8VQU9&4@/'-T9&EO+F@^#0HC:6YC;'5D92 \#%##0H- M"@T*#0IS=&%T:6,@7V=O,S)?9'!M:5]S96=I;F9O(%1I;65R7T]L9%])&ET7TA3/3 [#0H-"FEN M="!4:6UEPT*#0H)=&EM92LK.PT*"6EF("A%>&ET7TA3(#T](#$I>PT* M(" @(" @7V=O,S)?9'!M:5]S971?5]CF4H*2 ]/2 Q*7L-"@D)PT*"0ER971UPT*"0ER971U6QO;W [ ;#0H-"B @(&=O=&\@9V%M96QO;W [#0H)?0T* ` end