I am facing an interesting problem. In short: I have function A and B. When Calling B from inside A my code stops the execution and nothing happens from that point on. A is called from kmain() function (yes I am saving the world and writing yet another OS ) I have no idea why that happens.
The line that 'breaks' my code is at line 44 here
https://github.com/fenistil/ToyToyOS/bl ... nel/scrn.c
If I comment it out like it is now on the git website, bochs has no trouble running it. Seems to be working the way I want it to work. I compile the c file with these options:
Any help would be appreciated-c -g3 -Wall -Wextra -Werror -nostdlib -nostartfiles -nodefaultlibs -I./include