diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-05-09 08:52:11 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-05-09 08:52:11 -0600 |
commit | b373fc5405bc34fe4889a67d9a856c9228ae1240 (patch) | |
tree | 4dcde4ad339f61611ef2a291d3e52644d91ea4a8 /apps/interpreters/prun/README.txt | |
parent | 56078d9f356c73497be755f6a912b7d2da6c66e8 (diff) | |
download | nuttx-b373fc5405bc34fe4889a67d9a856c9228ae1240.tar.gz nuttx-b373fc5405bc34fe4889a67d9a856c9228ae1240.tar.bz2 nuttx-b373fc5405bc34fe4889a67d9a856c9228ae1240.zip |
Create P-Code execution helper in apps/interpreters/prun; The P-Code binary format is functional except that there are still some modularity and kernel build issues that need to be addressed.
Diffstat (limited to 'apps/interpreters/prun/README.txt')
-rw-r--r-- | apps/interpreters/prun/README.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/apps/interpreters/prun/README.txt b/apps/interpreters/prun/README.txt new file mode 100644 index 000000000..8287d6a6d --- /dev/null +++ b/apps/interpreters/prun/README.txt @@ -0,0 +1,34 @@ +README +^^^^^^ + +hello.pas + + This is a sample "Hello, World!" Pascal Program + +hello.pex + + This is the compiled, linked P-Code executable that results + when hello.pas is compiled. + +hello.h + + This file defines an initialized C array holds a copy of + hello.pex. This file as created by: + + xxd -i hello.pex >hello.h + +mkhello.sh + + This is a scripts that can be used to rebuild both hello.pex + and hello.h. + +device.c + + The hello.pex file must be provided to the interpreter as a file + in the file system. Normally this would be done using real storage + medium. In this example, we will use device.c: + + device.c implements a simple device driver. Reads from this device + will access the in-memory copy of hello.pex This device driver is + registered as /dev/prun in the pseudo filesystem. + |