China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-31 23:53
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » How to pass parameters to an interrupt handler ISR? View 1,299 Replies 1
Original Poster Posted 2003-07-12 00:00 ·  中国 浙江 台州 电信
初级用户
Credits 105
Posts 1
Joined 2003-07-12 00:00
23-year member
UID 6816
Gender Male
Status Offline
Compiler: Borland C++ 3.1 for DOS

Use setvect() to set the interrupt vector
setvect(0x0C, isr_name);
The prototype of isr_name in C++ is void interrupt (*isr_name)(...);

How do I pass parameters to isr_name
Floor 2 Posted 2003-07-15 00:00 ·  新加坡 星和视界(StarHub)宽带
初级用户
Credits 169
Posts 29
Joined 2003-07-09 00:00
23-year member
UID 6654
Gender Male
Status Offline
global variables
Forum Jump: