You can't have platform independent paging code. It's CPU specific!quanganht wrote:My faults. Somehow, when I extract the zipped file, some files are missed. But ".s" ? Relying on Asm is not good. Pure C code will be much easier to understand and maintain, without platform dependent. And OSkit provide much more modules and libs.
OSkit ?
Re: OSkit ?
-
- Member
- Posts: 368
- Joined: Sun Sep 23, 2007 4:52 am
Re: OSkit ?
Your tutorial has paging code in a c file, and I agree, it's stupid.JamesM wrote:You can't have platform independent paging code. It's CPU specific!quanganht wrote:My faults. Somehow, when I extract the zipped file, some files are missed. But ".s" ? Relying on Asm is not good. Pure C code will be much easier to understand and maintain, without platform dependent. And OSkit provide much more modules and libs.
Re: OSkit ?
How do you mean "stupid" ?Craze Frog wrote:Your tutorial has paging code in a c file, and I agree, it's stupid.
"Programmers are tools for converting caffeine into code."
Re: OSkit ?
I get the impression he was trying to be funny. Although JamesM's paging code is in C, that doesn't mean its trying to be architecture independent.
Cheers,
Adam
Cheers,
Adam