ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
Offline
Gender: 
Last Login: Yesterday at 08:07:39
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765
Total Post Ratings: +151
|
 |
« Reply #75 on: 26 January, 2012, 20:45:02 » |
0
|
Extending nspire_emu to detect it shouldn't be too hard.
|
|
|
|
|
Logged
|
|
|
|
Goplat
LV5 Advanced (Next: 300)
   
Offline
Gender: 
Last Login: Today at 06:16:35
Date Registered: 08 December, 2009, 13:17:47
Posts: 289
Total Post Ratings: +77
|
 |
« Reply #76 on: 26 January, 2012, 20:57:07 » |
0
|
Reading from the screen can't be a problem specific to Ndoom - Both boot2 and the OS do it during initialization, and so does Ndless ploaderhook (line 65: "memcpy(savedscr, SCREEN_BASE_ADDRESS, SCREEN_BYTES_SIZE);"), but Ndoom doesn't do it.
I think the problem is related to the memory access size. I've seen the bug happen in my own programs when using byte-sized accesses, but never when using word-sized accesses.
|
|
|
|
|
Logged
|
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo
|
|
|
critor
Editor
LV10 31337 u53r (Next: 2000)
Offline
Gender: 
Last Login: Today at 09:09:53
Date Registered: 14 July, 2009, 23:57:37
Location: Aix-Marseille, France
Posts: 1715
Topic starter
Total Post Ratings: +366
|
 |
« Reply #77 on: 26 January, 2012, 21:51:30 » |
0
|
I do use byte-sized accesses to the screen buffer... 
|
|
|
|
« Last Edit: 26 January, 2012, 21:51:43 by critor »
|
Logged
|
|
|
|
|