A86: Re: new shell idea


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

A86: Re: new shell idea




Wow, an asm question, not crap about networking!!!

_asm_exec_ram isn't cleared out after a program executes.  So, the data from
the old program is still there (but don't trust that!).  And, another bad
thing (feature?  not that I can see...it sucks!) is that if you hit enter to
run a program again, it's not reloaded!  So, it's sort of like having
writeback.  And it can fool a new programmer into thinking that writeback
exists, when it doesn't.

The downside to this is that if you corrupt your program's code space, then
run it again, it will crash the calc.  This happens when you move stuff
around, like say copy your program to page 1 and use the _asm_exec_ram area
for variable storage.  If anyone knows of a flag to tell the OS to reload
the program, please let me know!!!

> On a side note what happens to asm_exec_ram after a prog is ran? Say i run
a
> large prog that fills the area, then i run a small prog (say only 100
bytes)
> what would be in the area of (asm_exec_ram+200)??  Would it be some random
> number or would it be empty




References: