Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - bios.h outportb
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
|