Re: [Flashforth-devel] Strange behavior DO ... LOOP
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2017-04-11 20:14:25
|
Hi, you can use x@ x! to fetch and store cells on 64, 128 and 256 KB devices. The adresses are unmapped double numbers. There is also xdump. Here are examples from atm2560 pfl ok<$,ram> 3200 33200. hex 40 xdump 033200: 5c f5 86 66 6f 72 67 65 74 ff 0f 94 10 f8 0f 94 \..forget....... 033210: 7a f4 0f 94 23 f8 0f 94 d0 fe 0f 94 c5 f4 0f 94 z...#........... 033220: da f6 0f 94 ba f4 02 97 9a 93 8a 93 0f 94 d0 fe ................ 033230: 0f 94 da f6 9a 93 8a 93 0f 94 45 f0 0f 94 5a f0 ..........E...Z. ok<$,ram> see forget 320a 940f f810 call bl 320e 940f f47a call word 3212 940f f823 call latest 3216 940f fed0 call @ 321a 940f f4c5 call (f) 321e 940f f6da call ?abort? 3222 940f f4ba call c>n 3226 9702 3228 939a st -y r25 322a 938a st -y r24 322c 940f fed0 call @ 3230 940f f6da call ?abort? 3234 939a st -y r25 3236 938a st -y r24 3238 940f f045 call flash 323c 940f f05a call dp 3240 940f fe93 call ! 3244 940f fed0 call @ 3248 940f f823 call latest 324c 940f fe93 call ! 3250 940d f053 jmp ram ok<$,ram> 33200. x@ ok<$,ram> f55c 1234 12400. x! ok<$,ram> 12400. x@ ok<$,ram> 1234 On 2017-04-11 21:44, Oleg Voitiuk wrote: > Hello, Mikael. > > Many thanks, now everything works well! > > I still want to know how to deal with flash memory which is above > 64kb, is it possible to use it now or will it be possible to use it in > the near future? > > Cheers, > Oleg. |