diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-07-27 18:46:50 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-07-27 18:46:50 +0000 |
commit | 644ec9e0cbef22696a3141656ad815fd68d16dc6 (patch) | |
tree | c697ad44d4661c49932dd477e9d0e7785bc59be1 /emulators | |
parent | b2f122946bef43497e48251043317ee2addab7a4 (diff) | |
download | ports-644ec9e0cbef22696a3141656ad815fd68d16dc6.tar.gz ports-644ec9e0cbef22696a3141656ad815fd68d16dc6.zip |
Nonpareil is a high-fidelity simulator for calculators. It currently
supports many HP calculators models introduced between 1972 and
1982. Simulation fidelity is achieved through the use of the actual
microcode of the calculators, thus in most cases the simulation
behavior exactly matches that of the real calculator.
WWW: http://nonpareil.brouhaha.com/
PR: ports/100834
Submitted by: trasz <trasz at pin.if.uz.zgora.pl>
Notes
Notes:
svn path=/head/; revision=168901
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/Makefile | 1 | ||||
-rw-r--r-- | emulators/nonpareil/Makefile | 86 | ||||
-rw-r--r-- | emulators/nonpareil/distinfo | 3 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-build_common | 610 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_SConscript | 73 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_debugger_gui.c | 14 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_proc.c | 17 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_proc_nut.c | 12 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_proc_woodstock.c | 12 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_sound.c | 11 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_state_read.c | 12 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_state_write.c | 12 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_util.c | 18 | ||||
-rw-r--r-- | emulators/nonpareil/files/patch-src_util.h | 11 | ||||
-rw-r--r-- | emulators/nonpareil/pkg-descr | 7 |
15 files changed, 899 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 2ab43706a30b..64ec0d387a39 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -94,6 +94,7 @@ SUBDIR += mupen64-sdlaudio SUBDIR += mupen64-sdlinput SUBDIR += mupen64-sound + SUBDIR += nonpareil SUBDIR += o2em SUBDIR += ods2reader SUBDIR += openmsx diff --git a/emulators/nonpareil/Makefile b/emulators/nonpareil/Makefile new file mode 100644 index 000000000000..243a27da816d --- /dev/null +++ b/emulators/nonpareil/Makefile @@ -0,0 +1,86 @@ +# New ports collection makefile for: nonpareil +# Date created: 24 Jul 2006 +# Whom: trasz <trasz@pin.if.uz.zgora.pl> +# +# $FreeBSD$ +# + +PORTNAME= nonpareil +PORTVERSION= 0.77 +CATEGORIES= emulators +MASTER_SITES= http://nonpareil.brouhaha.com/download/ + +MAINTAINER= trasz@pin.if.uz.zgora.pl +COMMENT= Simulator for many HP calculators + +BUILD_DEPENDS= pnmtopng:${PORTSDIR}/graphics/netpbm \ + bison2:${PORTSDIR}/devel/bison2 + +USE_SCONS= yes +USE_GNOME= gtk20 libxml2 +USE_SDL= mixer +USE_GCC= 3.4+ + +SCONS_ARGS+= prefix="${PREFIX}" + +PLIST_EXECS= bin/uasm bin/nonpareil bin/modutil +PLIST_DATA= lib/nonpareil/21.obj lib/nonpareil/25.obj \ + lib/nonpareil/32e.obj lib/nonpareil/33c.obj \ + lib/nonpareil/34c.obj lib/nonpareil/37e.obj \ + lib/nonpareil/38c.obj lib/nonpareil/38e.obj \ + lib/nonpareil/41cv.mod lib/nonpareil/41cx.mod \ + lib/nonpareil/82143a.mod lib/nonpareil/82182a.mod \ + lib/nonpareil/11c.obj lib/nonpareil/12c.obj \ + lib/nonpareil/15c.obj lib/nonpareil/16c.obj \ + lib/nonpareil/35.kml lib/nonpareil/45.kml \ + lib/nonpareil/55.kml lib/nonpareil/80.kml \ + lib/nonpareil/21.kml lib/nonpareil/25.kml \ + lib/nonpareil/32e.kml lib/nonpareil/33c.kml \ + lib/nonpareil/34c.kml lib/nonpareil/37e.kml \ + lib/nonpareil/38c.kml lib/nonpareil/38e.kml \ + lib/nonpareil/41cv.kml lib/nonpareil/41cx.kml \ + lib/nonpareil/11c.kml lib/nonpareil/12c.kml \ + lib/nonpareil/15c.kml lib/nonpareil/16c.kml \ + lib/nonpareil/35.png lib/nonpareil/45.png \ + lib/nonpareil/55.png lib/nonpareil/80.png \ + lib/nonpareil/21.png lib/nonpareil/25.png \ + lib/nonpareil/32e.png lib/nonpareil/33c.png \ + lib/nonpareil/34c.png lib/nonpareil/37e.png \ + lib/nonpareil/38c.png lib/nonpareil/41cv.png \ + lib/nonpareil/11c.png lib/nonpareil/12c.png \ + lib/nonpareil/15c.png lib/nonpareil/16c.png \ + lib/nonpareil/35.obj lib/nonpareil/35.lst \ + lib/nonpareil/45.obj lib/nonpareil/45.lst \ + lib/nonpareil/55.obj lib/nonpareil/55.lst \ + lib/nonpareil/80.obj lib/nonpareil/80.lst + +PLIST_FILES= ${PLIST_EXECS} ${PLIST_DATA} +PLIST_DIRS= lib/nonpareil +PORTDOCS= CREDITS DEBUGGING README TODO + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= Doesn't build on 4.x +.endif + +post-patch: + @${REINPLACE_CMD} -e 's,%%CFLAGS%%,${CFLAGS},' \ + -e 's,%%CC%%,${CC},' \ + ${WRKSRC}/src/SConscript + @${REINPLACE_CMD} -E "s|('/usr/local')|\1,PathOption.PathAccept|" \ + ${WRKSRC}/SConstruct + @${REINPLACE_CMD} -e 's,<stdint.h>,<inttypes.h>,g' \ + ${WRKSRC}/src/*.[cly] + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + ${CHOWN} 0:0 ${PLIST_FILES:S|^|${PREFIX}/|} + ${TOUCH} ${PLIST_FILES:S|^|${PREFIX}/|} + ${CHMOD} 644 ${PLIST_DATA:S|^|${PREFIX}/|} + ${CHMOD} 755 ${PLIST_EXECS:S|^|${PREFIX}/|} + +.include <bsd.port.post.mk> diff --git a/emulators/nonpareil/distinfo b/emulators/nonpareil/distinfo new file mode 100644 index 000000000000..8b4eec4341eb --- /dev/null +++ b/emulators/nonpareil/distinfo @@ -0,0 +1,3 @@ +MD5 (nonpareil-0.77.tar.gz) = b3aadd73fe28cf7cfa2118306a0519b9 +SHA256 (nonpareil-0.77.tar.gz) = 8e1dd0574bafc17e5946af3af15c1f7eb6bc9afb8436cd7d45ab7340660ed575 +SIZE (nonpareil-0.77.tar.gz) = 4903320 diff --git a/emulators/nonpareil/files/patch-build_common b/emulators/nonpareil/files/patch-build_common new file mode 100644 index 000000000000..f0c624fad9d8 --- /dev/null +++ b/emulators/nonpareil/files/patch-build_common @@ -0,0 +1,610 @@ +diff -urN build/common.orig/lgoose_png.c build/common/lgoose_png.c +--- build/common.orig/lgoose_png.c Thu Jan 1 01:00:00 1970 ++++ build/common/lgoose_png.c Wed Jul 26 02:19:39 2006 +@@ -0,0 +1,98 @@ ++const unsigned char lgoose_png [] = ++{ ++ 0x89,0x50,0x4e,0x47,0x0d,0x0a,0x1a,0x0a, ++ 0x00,0x00,0x00,0x0d,0x49,0x48,0x44,0x52, ++ 0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x2c, ++ 0x08,0x06,0x00,0x00,0x00,0x17,0x6f,0xfa, ++ 0x7b,0x00,0x00,0x00,0x04,0x73,0x42,0x49, ++ 0x54,0x08,0x08,0x08,0x08,0x7c,0x08,0x64, ++ 0x88,0x00,0x00,0x02,0xa2,0x49,0x44,0x41, ++ 0x54,0x58,0x85,0xed,0xd8,0x3b,0x88,0x15, ++ 0x67,0x18,0xc6,0xf1,0xdf,0x9a,0x88,0x45, ++ 0x52,0x24,0xc5,0x36,0x4b,0x14,0x95,0x40, ++ 0x82,0x60,0xa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b0,0x93,0xaa,0x3d,0x3a,0x48,0x63, ++ 0x72,0xba,0x55,0x16,0xf9,0x6d,0xac,0x46, ++ 0x5f,0x68,0x99,0x3b,0x76,0x33,0xe3,0x49, ++ 0xe3,0xfe,0x84,0x75,0x02,0x30,0x54,0x13, ++ 0x80,0xa1,0x9a,0x00,0x0c,0xd5,0x73,0x71, ++ 0xea,0xb6,0x98,0x3b,0xd7,0x3f,0xee,0x00, ++ 0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae, ++ 0x42,0x60,0x82 ++}; ++unsigned long lgoose_png_size = 747; +diff -urN build/common.orig/lgoose_png.h build/common/lgoose_png.h +--- build/common.orig/lgoose_png.h Thu Jan 1 01:00:00 1970 ++++ build/common/lgoose_png.h Wed Jul 26 02:19:39 2006 +@@ -0,0 +1,2 @@ ++extern const unsigned char lgoose_png []; ++extern unsigned long lgoose_png_size; +diff -urN build/common.orig/nonpareil_title_png.c build/common/nonpareil_title_png.c +--- build/common.orig/nonpareil_title_png.c Thu Jan 1 01:00:00 1970 ++++ build/common/nonpareil_title_png.c Wed Jul 26 02:19:38 2006 +@@ -0,0 +1,382 @@ ++const unsigned char nonpareil_title_png [] = ++{ ++ 0x89,0x50,0x4e,0x47,0x0d,0x0a,0x1a,0x0a, ++ 0x00,0x00,0x00,0x0d,0x49,0x48,0x44,0x52, ++ 0x00,0x00,0x01,0x7c,0x00,0x00,0x00,0x40, ++ 0x08,0x06,0x00,0x00,0x00,0x19,0x28,0xcc, ++ 0xa8,0x00,0x00,0x00,0x04,0x73,0x42,0x49, ++ 0x54,0x08,0x08,0x08,0x08,0x7c,0x08,0x64, ++ 0x88,0x00,0x00,0x0b,0x86,0x49,0x44,0x41, ++ 0x54,0x78,0x9c,0xed,0x9d,0x79,0xac,0x1d, ++ 0x55,0x19,0xc0,0x7f,0x0f,0x68,0x59,0x2c, ++ 0x16,0x8d,0x6d,0xd3,0xda,0x62,0x15,0xa2, ++ 0x45,0x03,0x02,0xb2,0x27,0x6e,0x04,0x94, ++ 0x4e,0xb5,0x45,0x0b,0x26,0x66,0xac,0x4b, ++ 0x8d,0x0b,0x1d,0x24,0x88,0x81,0xa8,0xb8, ++ 0x24,0x44,0x22,0x82,0xc4,0x16,0x1d,0x4a, ++ 0x15,0x8c,0x4b,0x47,0x6d,0x8c,0x90,0x16, ++ 0x18,0x0c,0xa6,0x14,0x0c,0x54,0xd3,0x52, ++ 0x6a,0x6a,0xac,0x14,0x4c,0xb1,0xa1,0xb5, ++ 0x0a,0xb6,0xb6,0x50,0x29,0x94,0xe2,0xf3, ++ 0x8f,0x73,0x6e,0xdf,0x7d,0xf7,0xdd,0x6d, ++ 0xce,0x32,0xcb,0x9d,0xef,0x97,0xbc,0xf4, ++ 0xde,0xe9,0xcc,0x99,0xdf,0xfb,0xce,0x9b, ++ 0xef,0xde,0x39,0x73,0xe6,0x9b,0xa1,0x34, ++ 0x89,0x11,0x04,0x41,0x10,0x06,0x9f,0xc3, ++ 0x8a,0x16,0x10,0x04,0x41,0x10,0xf2,0x41, ++ 0x12,0xbe,0x20,0x08,0x42,0x4d,0x90,0x84, ++ 0x2f,0x08,0x82,0x50,0x13,0x24,0xe1,0x0b, ++ 0x82,0x20,0xd4,0x04,0x49,0xf8,0x82,0x20, ++ 0x08,0x35,0x41,0x12,0xbe,0x20,0x08,0x42, ++ 0x4d,0x90,0x84,0x2f,0x08,0x82,0x50,0x13, ++ 0x24,0xe1,0x0b,0x82,0x20,0xd4,0x04,0x49, ++ 0xf8,0x82,0x20,0x08,0x35,0xe1,0x88,0xa2, ++ 0x05,0x7c,0x11,0x84,0xd1,0x34,0xe0,0x72, ++ 0xe0,0x04,0x60,0x3d,0xf0,0x3c,0x70,0xbe, ++ 0xa3,0xe6,0x57,0x03,0x77,0xa5,0x49,0xfc, ++ 0xac,0xa3,0xf6,0x4a,0x47,0xd9,0xe3,0x27, ++ 0x7e,0xe2,0x67,0xc1,0xc0,0x1f,0xbf,0x9d, ++ 0x28,0x65,0xc2,0x0f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f8,0xc3, ++ 0xc7,0x6d,0xdb,0x82,0x20,0x08,0x42,0x09, ++ 0x91,0x84,0x2f,0x08,0x82,0x50,0x13,0x24, ++ 0xe1,0x0b,0x82,0x20,0xd4,0x04,0x49,0xf8, ++ 0x82,0x20,0x08,0x35,0x41,0x12,0xbe,0x20, ++ 0x08,0x42,0x4d,0x90,0x84,0x2f,0x08,0x82, ++ 0x50,0x13,0x24,0xe1,0x0b,0x82,0x20,0xd4, ++ 0x04,0x49,0xf8,0x82,0x20,0x08,0x35,0x41, ++ 0x12,0xbe,0x20,0x08,0x42,0x4d,0x90,0x84, ++ 0x2f,0x08,0x82,0x50,0x13,0x24,0xe1,0x0b, ++ 0x82,0x20,0xd4,0x04,0x49,0xf8,0x82,0x20, ++ 0x08,0x35,0x41,0x12,0xbe,0x20,0x08,0x42, ++ 0x4d,0xf8,0x3f,0x2a,0x9a,0x75,0xc1,0x40, ++ 0xb9,0x67,0x50,0x00,0x00,0x00,0x00,0x49, ++ 0x45,0x4e,0x44,0xae,0x42,0x60,0x82 ++}; ++unsigned long nonpareil_title_png_size = 3023; +diff -urN build/common.orig/nonpareil_title_png.h build/common/nonpareil_title_png.h +--- build/common.orig/nonpareil_title_png.h Thu Jan 1 01:00:00 1970 ++++ build/common/nonpareil_title_png.h Wed Jul 26 02:19:38 2006 +@@ -0,0 +1,2 @@ ++extern const unsigned char nonpareil_title_png []; ++extern unsigned long nonpareil_title_png_size; +diff -urN build/common.orig/rgoose_png.c build/common/rgoose_png.c +--- build/common.orig/rgoose_png.c Thu Jan 1 01:00:00 1970 ++++ build/common/rgoose_png.c Wed Jul 26 02:19:38 2006 +@@ -0,0 +1,100 @@ ++const unsigned char rgoose_png [] = ++{ ++ 0x89,0x50,0x4e,0x47,0x0d,0x0a,0x1a,0x0a, ++ 0x00,0x00,0x00,0x0d,0x49,0x48,0x44,0x52, ++ 0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x2c, ++ 0x08,0x06,0x00,0x00,0x00,0x17,0x6f,0xfa, ++ 0x7b,0x00,0x00,0x00,0x04,0x73,0x42,0x49, ++ 0x54,0x08,0x08,0x08,0x08,0x7c,0x08,0x64, ++ 0x88,0x00,0x00,0x02,0xb0,0x49,0x44,0x41, ++ 0x54,0x58,0x85,0xed,0xd8,0x3f,0x88,0x14, ++ 0x57,0x1c,0xc0,0xf1,0xcf,0x69,0xd4,0x44, ++ 0x0b,0x2b,0x11,0x11,0x12,0x84,0x90,0xa8, ++ 0x68,0x23,0x9c,0x68,0xa3,0x8d,0x20,0x19, ++ 0x89,0x58,0xe4,0x52,0xb8,0x0a,0xa2,0x55, ++ 0x18,0xc4,0x22,0x85,0x41,0x53,0x68,0x71, ++ 0x85,0xa0,0x8d,0x32,0xa0,0xd8,0xa4,0x19, ++ 0x90,0xa0,0x41,0xc1,0x4c,0x2e,0x24,0x10, ++ 0x92,0xe2,0x9a,0x23,0x28,0x36,0x2a,0x08, ++ 0x16,0x6a,0x13,0x51,0x10,0x94,0x33,0x6a, ++ 0xee,0x52,0xcc,0x53,0x67,0xff,0xcc,0xae, ++ 0xde,0x3a,0xb3,0x16,0xf7,0x6d,0xf6,0xbd, ++ 0xb7,0x8f,0x99,0x2f,0xef,0xf7,0xde,0xef, ++ 0xfd,0x76,0x87,0xb2,0x34,0xf1,0x3e,0x33, ++ 0x67,0xd0,0x02,0xbd,0x98,0x15,0xec,0x97, ++ 0x0f,0x3a,0x0d,0x46,0x8d,0x78,0x0e,0x36, ++ 0xe1,0xcf,0x2c,0x4d,0xa6,0xeb,0x55,0x6a, ++ 0xa6,0x6c,0x05,0xa7,0xb1,0x0d,0x27,0xa3, ++ 0x46,0x3c,0xaf,0x46,0x9f,0x36,0x3a,0x0a, ++ 0x86,0x55,0xfb,0x09,0xdf,0xe0,0xaf,0xa8, ++ 0x11,0x2f,0xaf,0xd5,0xaa,0x40,0xb7,0x3d, ++ 0x38,0x81,0x3b,0xd8,0x80,0x89,0xa8,0x11, ++ 0xc7,0xf5,0x28,0x35,0x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xa5,0xd7,0x07,0x03,0x2e,0x84, ++ 0xe2,0xb5,0x76,0xda,0x04,0x43,0x78,0x87, ++ 0x0b,0x43,0x53,0xb8,0x58,0x9b,0x51,0x0b, ++ 0x9d,0x56,0x70,0x2d,0xb6,0x86,0xf6,0x34, ++ 0x8e,0x1a,0x50,0x78,0x69,0xa9,0x07,0xc3, ++ 0xea,0x1d,0xc4,0x87,0xb8,0x8d,0x51,0xfc, ++ 0x30,0xa8,0xf0,0xd2,0x5e,0xb0,0x6e,0x96, ++ 0x5f,0xfe,0xbf,0x63,0x67,0x96,0x26,0xf7, ++ 0xeb,0x57,0x6a,0xa6,0x55,0x70,0x18,0x3b, ++ 0x30,0x96,0xa5,0xc9,0x8b,0x01,0xf8,0xb4, ++ 0xd1,0xb3,0x58,0x18,0x34,0xef,0xfd,0x3f, ++ 0xac,0xb3,0x82,0xfd,0x32,0x2b,0xd8,0x2f, ++ 0xb3,0x82,0xfd,0xf2,0x3f,0x39,0x32,0xa9, ++ 0x4e,0x6d,0x31,0xbe,0xc4,0x00,0x00,0x00, ++ 0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60, ++ 0x82 ++}; ++unsigned long rgoose_png_size = 761; +diff -urN build/common.orig/rgoose_png.h build/common/rgoose_png.h +--- build/common.orig/rgoose_png.h Thu Jan 1 01:00:00 1970 ++++ build/common/rgoose_png.h Wed Jul 26 02:19:38 2006 +@@ -0,0 +1,2 @@ ++extern const unsigned char rgoose_png []; ++extern unsigned long rgoose_png_size; diff --git a/emulators/nonpareil/files/patch-src_SConscript b/emulators/nonpareil/files/patch-src_SConscript new file mode 100644 index 000000000000..36573db5fad5 --- /dev/null +++ b/emulators/nonpareil/files/patch-src_SConscript @@ -0,0 +1,73 @@ +--- src/SConscript.orig Tue Jun 28 04:53:44 2005 ++++ src/SConscript Wed Jul 26 20:37:54 2006 +@@ -37,20 +37,15 @@ + pkg_config_cmd = 'pkg-config' + pkg_config_cmd += ' --cflags --libs ' + +-sdl_pkg_config_cmd = 'sdl-config --cflags --libs' ++sdl_pkg_config_cmd = 'sdl11-config --cflags --libs' + + build_env.Append (CPPPATH = ['.']) + build_env.Append (CPPPATH = ['#/build/common']) # generated includes +-build_env.Append (CCFLAGS = ['-Wall']) ++build_env.Append (CCFLAGS = ['-Wall %%CFLAGS%%']) + build_env.Append (YACCFLAGS = [ '-d', '-v' ]) +- +-if build_env ['debug'] : +- build_env.Append (CCFLAGS = ['-g']) +-else: +- build_env.Append (CCFLAGS = ['-O2']) ++build_env.Replace (CC = '%%CC%%') + + if cross and ming and build_target_only: +- build_env.Replace (CC = '/usr/local/mingw/bin/i586-mingw32msvc-gcc') + build_env.Append (CCFLAGS = ['-mms-bitfields']) + build_env.Append (CPPPATH = ['/usr/local/gtkwin/include']) # libpng + build_env.Append (CPPPATH = ['/usr/local/gtkwin/SDL-1.2.8/include']) +@@ -189,46 +184,6 @@ + native_env.Append (BUILDERS = { 'Assemble': Assemble }, + UASM = uasm, + UASMCOM = "$UASM $UASMFLAGS $SOURCE -o $TARGET -l ${TARGETS[1]}") +- +- +-#----------------------------------------------------------------------------- +-# prepare graphics +-#----------------------------------------------------------------------------- +- +-if not build_target_only: +- str2png_env = native_env.Copy () +- +- # pull in X11-related environment variables to make gdk-pixbuf library happy +- for var in [ 'DISPLAY', 'XAUTHORITY' ]: +- if var in os.environ: +- str2png_env ['ENV'][var] = os.environ [var] +- +- title_env = str2png_env.Copy (STR2PNG_STRING = 'NONPAREIL', +- STR2PNG_OPTS = '-x 40 -y 44 -m 10') +- +- title_env.STR2PNG (target = 'nonpareil_title', +- source = build_env ['KML_41CV']) +- +- native_env.PNG2C (target = '#build/common/nonpareil_title_png.c', +- source = 'nonpareil_title.png') +- +- rgoose_env = str2png_env.Copy (STR2PNG_STRING = '.', +- STR2PNG_OPTS = '-x 40 -y 44') +- +- rgoose_env.STR2PNG (target = 'rgoose', +- source = build_env ['KML_41CV']) +- +- native_env.PNG2C (target = '#build/common/rgoose_png.c', +- source = 'rgoose.png') +- +- lgoose_env = str2png_env.Copy (STR2PNG_STRING = ',', +- STR2PNG_OPTS = '-x 40 -y 44') +- +- lgoose_env.STR2PNG (target = 'lgoose', +- source = build_env ['KML_41CV']) +- +- native_env.PNG2C (target = '#build/common/lgoose_png.c', +- source = 'lgoose.png') + + #----------------------------------------------------------------------------- + # prepare sounds diff --git a/emulators/nonpareil/files/patch-src_debugger_gui.c b/emulators/nonpareil/files/patch-src_debugger_gui.c new file mode 100644 index 000000000000..2a086d4650c2 --- /dev/null +++ b/emulators/nonpareil/files/patch-src_debugger_gui.c @@ -0,0 +1,14 @@ +--- src.orig/debugger_gui.c Thu Jul 27 19:48:05 2006 ++++ src/debugger_gui.c Thu Jul 27 19:49:43 2006 +@@ -34,6 +34,11 @@ + #include "display.h" + #include "proc.h" + ++#ifndef PRIx64 ++#define PRIx64 "llx" ++#define PRIu64 "llu" ++#define PRIo64 "llo" ++#endif + + static GtkWidget *reg_window; + static gboolean reg_window_visible; diff --git a/emulators/nonpareil/files/patch-src_proc.c b/emulators/nonpareil/files/patch-src_proc.c new file mode 100644 index 000000000000..406d465a57b2 --- /dev/null +++ b/emulators/nonpareil/files/patch-src_proc.c @@ -0,0 +1,17 @@ +diff -urN src.orig/proc.c src/proc.c +--- src.orig/proc.c Tue Jul 25 21:29:20 2006 ++++ src/proc.c Tue Jul 25 21:30:08 2006 +@@ -352,7 +352,13 @@ + // Microsoft freopen() isn't compliant with the C standard, which allows + // NULL for the filename if you're reopening an existing file handle. + #else ++ // XXX: for some reason this does not work. ++#if 0 + f = freopen (NULL, "r", f); ++#else ++ fclose(f); ++ f = fopen(fn, "rb"); ++#endif + #endif + if (! f) + { diff --git a/emulators/nonpareil/files/patch-src_proc_nut.c b/emulators/nonpareil/files/patch-src_proc_nut.c new file mode 100644 index 000000000000..5da903c4a0dc --- /dev/null +++ b/emulators/nonpareil/files/patch-src_proc_nut.c @@ -0,0 +1,12 @@ +--- src.orig/proc_nut.c Thu Jul 27 18:10:44 2006 ++++ src/proc_nut.c Thu Jul 27 18:11:41 2006 +@@ -38,6 +38,9 @@ + #include "proc_nut.h" + #include "dis_nut.h" + ++#ifndef PRId64 ++#define PRId64 "lld" ++#endif + + #define KBD_RELEASE_DEBOUNCE_CYCLES 32 + diff --git a/emulators/nonpareil/files/patch-src_proc_woodstock.c b/emulators/nonpareil/files/patch-src_proc_woodstock.c new file mode 100644 index 000000000000..10c379805b78 --- /dev/null +++ b/emulators/nonpareil/files/patch-src_proc_woodstock.c @@ -0,0 +1,12 @@ +--- src.orig/proc_woodstock.c Thu Jul 27 18:10:44 2006 ++++ src/proc_woodstock.c Thu Jul 27 18:12:03 2006 +@@ -36,6 +36,9 @@ + #include "proc_woodstock.h" + #include "dis_woodstock.h" + ++#ifndef PRId64 ++#define PRId64 "lld" ++#endif + + /* If defined, print warnings about stack overflow or underflow. */ + #undef STACK_WARNING diff --git a/emulators/nonpareil/files/patch-src_sound.c b/emulators/nonpareil/files/patch-src_sound.c new file mode 100644 index 000000000000..b7d7482cc91b --- /dev/null +++ b/emulators/nonpareil/files/patch-src_sound.c @@ -0,0 +1,11 @@ +--- src.orig/sound.c Mon Jul 24 14:38:57 2006 ++++ src/sound.c Mon Jul 24 14:39:06 2006 +@@ -24,7 +24,7 @@ + #include <stdlib.h> + #include <string.h> + +-#include "SDL/SDL_audio.h" ++#include "SDL11/SDL_audio.h" + + #include "util.h" + #include "sound.h" diff --git a/emulators/nonpareil/files/patch-src_state_read.c b/emulators/nonpareil/files/patch-src_state_read.c new file mode 100644 index 000000000000..8e38241f03bb --- /dev/null +++ b/emulators/nonpareil/files/patch-src_state_read.c @@ -0,0 +1,12 @@ +--- src.orig/state_read.c Thu Jul 27 19:48:05 2006 ++++ src/state_read.c Thu Jul 27 19:52:02 2006 +@@ -42,6 +42,9 @@ + #include "csim.h" // $$$ for slide switches - really should get from sim instead + #include "state_io.h" + ++#ifndef PRIx64 ++#define PRIx64 "llx" ++#endif + + #define unused __attribute__((unused)) + diff --git a/emulators/nonpareil/files/patch-src_state_write.c b/emulators/nonpareil/files/patch-src_state_write.c new file mode 100644 index 000000000000..a6c405cea135 --- /dev/null +++ b/emulators/nonpareil/files/patch-src_state_write.c @@ -0,0 +1,12 @@ +--- src.orig/state_write.c Thu Jul 27 19:48:05 2006 ++++ src/state_write.c Thu Jul 27 19:53:08 2006 +@@ -41,6 +41,9 @@ + #include "csim.h" // $$$ for slide switches - really should get from sim instead + #include "state_io.h" + ++#ifndef PRIx64 ++#define PRIx64 "llx" ++#endif + + static void xml_start_element (xmlTextWriterPtr writer, char *element_name) + { diff --git a/emulators/nonpareil/files/patch-src_util.c b/emulators/nonpareil/files/patch-src_util.c new file mode 100644 index 000000000000..dc4fe477d15a --- /dev/null +++ b/emulators/nonpareil/files/patch-src_util.c @@ -0,0 +1,18 @@ +--- src.orig/util.c Mon Jul 24 14:32:21 2006 ++++ src/util.c Mon Jul 24 14:34:48 2006 +@@ -130,6 +130,7 @@ + } + + ++#if 0 + // strlcpy will copy as much of src into dest as it can, up to one less than + // the maximum length of dest specified by the argument l. Unlike strncpy(), + // strlcpy() will always leave dest NULL-terminated on return. +@@ -139,6 +140,7 @@ + dest [l - 1] = '\0'; + return dest; + } ++#endif + + + // strlncpy will copy up to n characters from src to dest, but not more than diff --git a/emulators/nonpareil/files/patch-src_util.h b/emulators/nonpareil/files/patch-src_util.h new file mode 100644 index 000000000000..3156b3df66bd --- /dev/null +++ b/emulators/nonpareil/files/patch-src_util.h @@ -0,0 +1,11 @@ +--- src.orig/util.h Mon Jul 24 14:32:21 2006 ++++ src/util.h Mon Jul 24 14:33:52 2006 +@@ -56,7 +56,7 @@ + // strlcpy will copy as much of src into dest as it can, up to one less than + // the maximum length of dest specified by the argument l. Unlike strncpy(), + // strlcpy() will always leave dest NULL-terminated on return. +-char *strlcpy (char *dest, const char *src, size_t l); ++//char *strlcpy (char *dest, const char *src, size_t l); + + + // strlncpy will copy up to n characters from src to dest, but not more than diff --git a/emulators/nonpareil/pkg-descr b/emulators/nonpareil/pkg-descr new file mode 100644 index 000000000000..63453174461c --- /dev/null +++ b/emulators/nonpareil/pkg-descr @@ -0,0 +1,7 @@ +Nonpareil is a high-fidelity simulator for calculators. It currently +supports many HP calculators models introduced between 1972 and +1982. Simulation fidelity is achieved through the use of the actual +microcode of the calculators, thus in most cases the simulation +behavior exactly matches that of the real calculator. + +WWW: http://nonpareil.brouhaha.com/ |