Mail Archives: djgpp/2000/06/07/16:45:47
> > IMO, it is best to just make a note of what key was pressed (store
> > that in a queue, probably). Later, the program would make checks for
> > necessary keys. Bloating the interrupt handler code can cause strange
> > problems (especially for timer interrupts).
> >
> > Also, lock any data that you may be using for obvious reasons.
> >
> I am thinking about disabling all virtual memory for now. I now this
> might make things slower in the real world, but is safer for learning
> purposes..
How can this be? Locked data/code should run faster since they always
lie in the physical memory. So by disabling VM (using
_CTR0_FLAG_LOCKALL) you are actually making things faster. And to me
it looks like a good idea since most systems today generally have at
least 32/64M or RAM which is far too much for most applications.
- Raw text -