Question about Flash memory mapping
#1
Posted 01 May 2003 - 05:42 PM
#2
Posted 01 May 2003 - 06:14 PM
#3
Posted 02 May 2003 - 06:30 AM
#4
Posted 02 May 2003 - 09:35 AM
Read the value which is in it.
It should be from A0h to A7h. And I'm sure this 0x56 port is not in write only mode
Then translate the value read to the correct segment.
See this link:
http://www.graph100....p?p=28509#28509
I've put some segments to give you an idea.
But this is just an idea, I can't tell you if it will work!
#5
Posted 09 May 2003 - 07:15 PM
#6
Posted 10 May 2003 - 08:54 AM
Obviously, this is not a very good method of doing it, and all empty flash drives will be the same, but since the ports are read only, I sure don't know many better solutions
Why do you wanna know which segment is currently mapped anyway?
Guess this is for some feature of Touche, so good luck with it
#7
Posted 10 May 2003 - 09:07 PM
#8
Posted 10 May 2003 - 11:19 PM
if so, you can just check if TOUCHE is present on the currently selected segment/drive
#9
Posted 11 May 2003 - 05:30 PM
It could be dangerous to modifie TOUCHE because now it cans write on the flash so if it crashes it may erase and/or even damage the flash...
#10
Posted 11 May 2003 - 05:44 PM
That's the best way for testing.
#11
Posted 12 May 2003 - 01:49 AM
btw, is the drive currently in use always mapped on 0x40000 to 0x60000 ? I know it is right for ROM 1.02 but I'm not sure for other ROM versions...
#12
Posted 12 May 2003 - 11:10 AM
oki ?
i think you should not accept to write on the current mapped flash on 4000:0 -> 6000:0 so you'll be fine !
#13
Posted 12 May 2003 - 02:42 PM
#14
Posted 12 May 2003 - 03:31 PM
The "La Graph100" manuall, by Olivier Coupelon is quite good
The french isn't a problem for me, since all of it is technical stuff, and I can understand it from the context.. however, others might struggle with the language, so an english one would be nice
#15
Posted 12 May 2003 - 09:55 PM
No I cannot simply denie writting on 0x4000:0 -> 0x6000:0 because a drive can be mapped several times at different places...
#16
Posted 13 May 2003 - 07:27 AM
#17
Posted 13 May 2003 - 07:42 PM
Shut up! I gave up a long time agoAsk to Killer83z
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users