ironing out the bugs in my kernel--need make few functions-dont know how they work
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
printf and all the things it calls directly or indirectly adds up to a lot of library routines.
From your other threads, I got the idea you were linking without standard libraries. Where are all those library functions coming from? If you let the (Turbo C) library functions into your link, it will be quite a bit of effort to catch and correct all the things that depend on DOS. If you don't, then the likely bugs are in the replacements you've coded for those library routines. Either way, posting your top level code is nearly useless.
Also, where did you get vsprintf.c? Is it a copy compatible with your 16 bit environment? Including a .c file in another .c file sometimes causes problems. I think you said you were using .cpp. Including a .c file in a .cpp is even more likely to cause problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.