nuttx-apps/system/prun
2014-09-07 07:19:19 -06:00
..
.gitignore Move P-Code execution logic from interpreters/prun to system/prun 2014-05-09 11:09:43 -06:00
Kconfig Move prun from interpreters/ to system/; And an NSH built-in appliation that can be used to execute P-Code files from the NSH command line 2014-05-09 12:30:07 -06:00
Makefile Determine the main object name from the main source name in every kernel build Makefile 2014-09-07 07:19:19 -06:00
pexec_main.c Use more standard *argv[] instead easier **argv 2014-09-06 09:23:23 -06:00
prun.c Move P-Code execution logic from interpreters/prun to system/prun 2014-05-09 11:09:43 -06:00
prun.h Move P-Code execution logic from interpreters/prun to system/prun 2014-05-09 11:09:43 -06:00
README.txt Move P-Code execution logic from interpreters/prun to system/prun 2014-05-09 11:09:43 -06:00

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.