I've been having serious problems with my paging setup code (which I have now deleted, but am convinced was perfectly correct). I'm convinced it was correct because I've now found that the following code just does not do anything like what it's supposed to.
Code: Select all
unsigned long *PD = (unsigned long*) 0xD0000;
*PD = 0x12345678;
What gives - am I missing something? It seems bizarre that the problem in the code was something so simple... Now of course, I will have to start from scratch with my paging code... But I have absolutely no idea as to why this isn't writing where it's meant to.