R4A for Android & linux?

18 views
Skip to first unread message

lab...@gmail.com

unread,
Aug 6, 2018, 7:28:52 AM8/6/18
to reda4
Pending Cc: to comp.lang.forth

Thanks for R4A, which I'm trying to use to access the hidden inners
of my Android Tablet.

Editing the tail of procedure/word ": Main "
in /storage/emulated/0/r4/r4/dev/editors/gestos.txt
to add the 2nd-last line:
verde "Trace GREENLINE " print
is confirmed, when I tap "gestos" on the <running screen>.

? Since /storage/emulated/0/r4/r4/dev/editorscrayon.txt
has procedure/word "loadfile "
what files of the file-tree can R4A read,
and what is possible R4A code to confirm,
via eg. a minimal output/trace of the file read by `loadfile` ?
-------
Since the documentation shows:
" Registers A and B, for address memory and peek and poke values

>A | a --
A> | -- a
...
Move and fill memory

MOVE | de sr cnt -- Copy CNT dword from SouRce to DEstination
...
Memory and Files

MEM | -- dir Start Free memory
LOAD | d "filename" -- e Load file in memory
SAVE | d n "filename" - Save memory in file
..."
? do these functions refer to the memory of the VirtualMachine and
the real files of the AdroidDevice ?

? Can I access the Android's fileSystem including the
external/mounted SDcard ?



== TIA

Sent from USBstik-based: uname -a ==
Linux box 4.2.9-tinycore64 #1999 SMP Mon Jan 18 19:59:34 UTC
2016 x86_64 GNU/Linux


Pablo Hugo Reda

unread,
Aug 6, 2018, 10:41:05 AM8/6/18
to reda4
Hi


El lunes, 6 de agosto de 2018, 8:28:52 (UTC-3), lab...@gmail.com escribió:
Pending Cc: to comp.lang.forth

Thanks for R4A, which I'm trying to use to access the hidden inners
of my Android Tablet.

Editing the tail of procedure/word ": Main "
in /storage/emulated/0/r4/r4/dev/editors/gestos.txt
to add the 2nd-last line:
verde "Trace GREENLINE " print
is confirmed, when I tap "gestos" on the <running screen>.

? Since /storage/emulated/0/r4/r4/dev/editorscrayon.txt
has procedure/word "loadfile "
what files of the file-tree can R4A read,
and what is possible R4A code to confirm,
via eg. a minimal output/trace of the file read by `loadfile` ?


 
-------
Since the documentation shows:
" Registers A and B, for address memory and peek and poke values

>A | a --
A> | -- a
...

These changes are not in the android version, if you have the availability to make the executables I can help you to add the latest modifications. Although it is possible to translate to the words that I modify.
 
Move and fill memory

MOVE | de sr cnt -- Copy CNT dword from SouRce to DEstination
...
Memory and Files

MEM | -- dir Start Free memory
LOAD | d "filename" -- e Load file in memory
SAVE | d n "filename" - Save memory in file
..."
? do these functions refer to the memory of the VirtualMachine and
the real files of the AdroidDevice ?

yes, I guess
 

? Can I access the Android's fileSystem including the
external/mounted SDcard ?

I guess yes, I use fopen, fwrite,etc  from C using the ndk access in android,
 

I have a problem when make the apk for android, this apk recreate a folder in memory for work,
see lines 1049 in 
Reply all
Reply to author
Forward
0 new messages