I/O and tick_rate()-- Sorted
- Posted by socathome <socathome at NETSCAPEONLINE.CO.UK> Nov 14, 2000
- 425 views
"I'm working on a program which communicates to an ISA I/O card. I can talk to it correctly with the routines in "ports.e" but to make the programming easier I wanted to use the tick_rate() command to set the clock accuracy to abot 1/1000th of a second. However if I try to change the tick_rate() to any value the computer locks up. Yet if I don't include the ports.e routines then changing tick_rate() works fine!? Does changing the tick rate mess up the machine code in ports.e, if so can I get round the problem?" I have found the source of this problem. Whenever I was editing my program I would run it from ed by pressing escape-e. If I run the program by exiting ed and calling ex the program works fine! I don't know what the reason is but I now know how to get round it. Stephen Crossley