Calloc() and VBE... Need help.
Posted: Thu Jul 05, 2012 1:02 pm
Hello:
So the other day I started developing again(after my Windows problems), and I started with Graphics. The code in the Graphics tutorial here are for 16-bit real mode, and not 32-bit protected mode or 64-bit long mode, so I Googled for protected mode VBE info and found this and started implementing it, after adding the VBE and GFX interface, I noticed that "calloc()" and "free()" are used, and was wondering if it is possible to implement these functions with the current memory manager and code-base. I know I don't even have proper single or multitasking but, I know every one of us wants sparkling graphics for our OS.
While writing this, I thought about the James Molloy kernel development tutorials and it's multitasking tutorials, and I remember that an ordered array was used. I was wondering how to implement it, 'cause the one over there is C and I didn't compile properly.
Regards:
Jean-Pierre
So the other day I started developing again(after my Windows problems), and I started with Graphics. The code in the Graphics tutorial here are for 16-bit real mode, and not 32-bit protected mode or 64-bit long mode, so I Googled for protected mode VBE info and found this and started implementing it, after adding the VBE and GFX interface, I noticed that "calloc()" and "free()" are used, and was wondering if it is possible to implement these functions with the current memory manager and code-base. I know I don't even have proper single or multitasking but, I know every one of us wants sparkling graphics for our OS.
While writing this, I thought about the James Molloy kernel development tutorials and it's multitasking tutorials, and I remember that an ordered array was used. I was wondering how to implement it, 'cause the one over there is C and I didn't compile properly.
Regards:
Jean-Pierre