robert.rozee Guru
 Joined: 31/12/2012 Location: New ZealandPosts: 2552 |
| Posted: 02:42am 27 Mar 2016 |
|
|
|
an excellent concept that looks extremely useful. i would love to see something similar included within the next micromite 2 firmware release.
might i suggest one more function:
a$ = readlogline(CS, i)
this would be used thus:
i = 0
do
a$ = readlogline(CS, i)
if (i>0) print a$
loop until (i=0)
calling with i=0 would initialize to the start of the flash chip. the variable i would return containing addressing information for the next line to read (could be page number and offset into page), or 0 if there is no next line to read.
with this addition, a flash chip could be used to hold data that an mmbasic program could itself make use of.
cheers,
rob :-)Edited by robert.rozee 2016-03-28 |