summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-06 15:44:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-06 15:44:29 +0000
commitbecb5eaead8f70e3da15ad138ef08fbbf028ddf5 (patch)
tree290569a4877b107c318d2b4359758044af2c13fb
parent8fc0346a821d144d7073a68d76eb8dcf90deb59c (diff)
downloadnuttx-becb5eaead8f70e3da15ad138ef08fbbf028ddf5.tar.gz
nuttx-becb5eaead8f70e3da15ad138ef08fbbf028ddf5.tar.bz2
nuttx-becb5eaead8f70e3da15ad138ef08fbbf028ddf5.zip
Pascal P-Code binaries are now big-endian
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@639 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/ChangeLog1
-rw-r--r--nuttx/Documentation/NuttX.html1
-rw-r--r--nuttx/TODO9
-rw-r--r--nuttx/examples/pashello/hello.h22
-rw-r--r--nuttx/examples/pashello/hello.pexbin232 -> 232 bytes
5 files changed, 14 insertions, 19 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index b502b1e26..834812fe0 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -326,6 +326,7 @@
(4) fseek() flushes read/write data when before moving the file pointer
(5) When read data is flushed, reposition the file pointer to account for
buffered, but unreand data
+ * Pascal P-Code files are now standardized to big-endian for portability
diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html
index 998f55ad4..a7e6caae9 100644
--- a/nuttx/Documentation/NuttX.html
+++ b/nuttx/Documentation/NuttX.html
@@ -984,6 +984,7 @@ nuttx-0.3.8 2008-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
(4) fseek() flushes read/write data when before moving the file pointer
(5) When read data is flushed, reposition the file pointer to account for
buffered, but unreand data
+ * Pascal P-Code files are now standardized to big-endian for portability
pascal-0.1.2 2008-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
diff --git a/nuttx/TODO b/nuttx/TODO
index 36ec79808..5b79a5773 100644
--- a/nuttx/TODO
+++ b/nuttx/TODO
@@ -11,7 +11,7 @@ NuttX TODO List (Last updated January 6, 2008)
(2) USB (drivers/usbdev)
(3) Libraries (lib/)
(2) File system (fs/, drivers/)
- (2) Pascal add-on (pcode/)
+ (1) Pascal add-on (pcode/)
(2) Documentation (Documentation/)
(3) Build system
(0) Applications & Tests (examples/)
@@ -236,13 +236,6 @@ o Pascal Add-On (pcode/)
Status: Open
Priority: Medium
- Description: POFF file is generated in the native endian-ness of the
- host machine (little-endian for x86 hosts). They will
- not run at present on big-endian targets. Solution: the
- POFF files must be independent of endian-ness.
- Status: Open
- Priority: Medium
-
o Documentation (Documentation/)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/nuttx/examples/pashello/hello.h b/nuttx/examples/pashello/hello.h
index 82f1f749c..818e5e4a5 100644
--- a/nuttx/examples/pashello/hello.h
+++ b/nuttx/examples/pashello/hello.h
@@ -1,15 +1,15 @@
unsigned char hello_pex[] = {
- 0x50, 0x4f, 0x46, 0x46, 0x01, 0x01, 0x00, 0x00, 0x14, 0x00, 0x05, 0x00,
- 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
- 0x01, 0x06, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x7c, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x01, 0x03, 0x00, 0x00,
- 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8d, 0x00, 0x00, 0x00,
- 0x0f, 0x00, 0x00, 0x00, 0x05, 0x00, 0x04, 0x00, 0x1f, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x9c, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
- 0x06, 0x00, 0x08, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0xa0, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
- 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x00, 0x00, 0x00,
- 0x38, 0x00, 0x00, 0x00, 0xb1, 0x00, 0x00, 0x74, 0x0e, 0xf9, 0x00, 0x00,
+ 0x50, 0x4f, 0x46, 0x46, 0x01, 0x01, 0x00, 0x00, 0x00, 0x14, 0x00, 0x05,
+ 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18,
+ 0x01, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x11, 0x01, 0x03, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8d,
+ 0x00, 0x00, 0x00, 0x0f, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x1f,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x9c, 0x00, 0x00, 0x00, 0x04,
+ 0x06, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x10, 0x03, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0,
+ 0x00, 0x00, 0x00, 0x38, 0xb1, 0x00, 0x00, 0x74, 0x0e, 0xf9, 0x00, 0x00,
0x25, 0xb5, 0xff, 0xfc, 0xf9, 0x00, 0x00, 0x20, 0x3f, 0x48, 0x65, 0x6c,
0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x21, 0x21, 0x21, 0x00,
0x07, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/nuttx/examples/pashello/hello.pex b/nuttx/examples/pashello/hello.pex
index 0f14eb101..c23610598 100644
--- a/nuttx/examples/pashello/hello.pex
+++ b/nuttx/examples/pashello/hello.pex
Binary files differ