It finally works. It is still a mess but at least compiles and works.
The problem was that you've completely mixed up .c and .h files. In short: In .h files you should declare functions and stuff. In .c files you should define functions. That means you should never put function bodies in .h file nor you should ever do #include "something.c" (unless you REALLY know what you're doing) or you'll get yourself into huge mess after a short while. There were also some preprocessor and symbol conflicts with my and your existing code.
You should consider reading something about C (and general) coding practices and how preprocessing, compiling and linking processes work.
x86 asm bios interrupts in C
Re: x86 asm bios interrupts in C
- Attachments
-
- Slidoor-OS-master.tar.gz
- (16.05 KiB) Downloaded 38 times
Re: x86 asm bios interrupts in C
Thanks you!now it works