I need the header files conio.h, dos.h and all that to make it run in Keil Compiler.. Where do I get these?
I need the header files conio.h, dos.h and all that No, you don't. You need to try and understand what you're doing, so you'll know why you don't need these, and can't have them.
Oh sorry.. Guess I'm in the wrong track then.. Let's say I need to use the outportb() fn.. It requires dos.h header file.. Now how do I use that in Keil?
Let's say I need to use the outportb() fn.. It requires dos.h header file.. Now how do I use that in Keil? Ok, maybe I was not clear when I said The '51 ain't no PC so let me try this The '51 supported by Keil tools is NOT a PC because of this: the '51 supported by Keil tools does NOT operate under DOS the '51 supported by Keil tools does NOT support file commands (there is no I/O) The above has nothing to do with Keil, it has to do with the hardware (the '51) If you can not understand the above, find yourself another occupation. Erik
Let's say I need to use the outportb() fn.. No, let's not say that --- because it would be 100% wrong. You don't need that function, full stop. Erik says this a little more often than it strictly applies, but in your case he's 100% correct: you have to stop thinking of the 8051 as a PC. It's not. Not anywhere near it, actually. You lost your direction in a major way. So, please: stop whatever you're doing. Immediately. Go back at least half the way to the origins of the project you're in, and triple-check every single decision you made. Make sure you actually understand the reasons for making each and every choice along the way.
You lost your direction in a major way I guess sniffing chlorine will do that. Erik
View all questions in Keil forum