c++ - bios.h outportb
- Ben (21/21) Oct 28 2004 Hi, I'm probably posting to the wrong place. For a start my
Hi, I'm probably posting to the wrong place. For a start my query is with C not C++, but I'm a little desperate, so thought I'd try here ... I've been given some old code that I hope to use to control a couple of stepper motors as part of a final year project. I need to make some modifications however, and to do that I have to be able to recompile it (I have the source)It uses bios.h and dos.h, so only runs on 98 and older machines. I've tried compiling it with DigitalMars, and it compiles fine, but when linking gives the following errors: Dualstep.obj(Dualstep) Error 42: Symbol Undefined _outportb Dualstep.obj(Dualstep) Error 42: Symbol Undefined _inportb Dualstep.obj(Dualstep) Error 42: Symbol Undefined _delay Does anyone know what this means, and what I might be able to do about it? I don't know what compiler the original source was compiled under, so that may be the problem ... Thanks, Ben
Oct 28 2004