[A83] Re: 83p os


[Prev][Next][Index][Thread]

[A83] Re: 83p os



> > For example, Windows tells programmers not to write to
> > memory outside of their programs. It's up to them to comply, and if
> > they don't, well, their program crashes. Same thing with this.
>
> Well, it's a bit different.  Windows OS will "know" when an app violates
the
> rule because the processor will generate a page fault interrupt, so that
the
> operating system can prevent corruption of memory belonging to itself by
> user programs.  The TI-OS has no way of detecting such things, and will
> probably crash if the program was not careful in writing to OS memory.
>
>

Big deal.  The current OS will crash if a programmer writes faulty code,
too.  As it has been said many times on this list already, the z80 was never
meant to be powerful enough to be able to trap writes to bad memory
locations or in this case setting the interrupt mode to mode 2.

In any case, good luck.
- - Joe P.




Follow-Ups: References: