incubator-nuttx/examples/pashello
patacongo e72dce9e1b Consolidate buffer dumping; fix all occurrences of 'the the'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1951 42af7a65-404d-4744-a932-0658087f49c3
2009-06-25 17:44:35 +00:00
..
Makefile Fix a problem that was causing tools/incdir.sh to generate inappropriate paths for Cygwin tools 2009-06-24 20:57:34 +00:00
README.txt Add pascal test 2008-02-01 20:47:32 +00:00
device.c Consolidate buffer dumping; fix all occurrences of 'the the' 2009-06-25 17:44:35 +00:00
hello.h Pascal P-Code binaries are now big-endian 2008-02-06 15:44:29 +00:00
hello.pas Script clobbered pascal test file 2008-02-06 15:35:40 +00:00
hello.pex Pascal P-Code binaries are now big-endian 2008-02-06 15:44:29 +00:00
mkhello.sh Explicitly use /bin/bash vs /bin/sh for Ubuntu compatibility 2008-03-04 00:40:49 +00:00
pashello.c Various fixes for buffered R/W I/O and seeking 2008-02-05 18:13:13 +00:00
pashello.h errno now defined to be *get_errno_ptr() 2008-02-01 21:23:19 +00:00

README.txt

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/pashello in the psuedo filesystem.