pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/lcdis devel/lcdis: Import version 1.04
details: https://anonhg.NetBSD.org/pkgsrc/rev/19990c0aa728
branches: trunk
changeset: 380760:19990c0aa728
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon May 21 16:12:14 2018 +0000
description:
devel/lcdis: Import version 1.04
LCDIS - LC86104C/108C disassembler for the Sega VMU/VMS
Features:
- Sanyo LC86104C/108C disassembler, plus extra instructions used by the VMU
- Automatic determination of code/data space.
- Automatic determination of RAM banks accessed (mostly)
- Special function registers and BIOS entry points are annotated.
- Some instructions are commented (i.e. branch if 'A' button pressed)
- Disassembly output has been tested and found accurate.
- Either easier-to-read or ready-to-assemble code can be generated.
- User specification of graphic & font areas (which are commented graphically)
- Portable GPL C code. (with C++ style comments).
Packaged by Travis Paul for pkgsrc-wip.
diffstat:
devel/lcdis/DESCR | 12 ++++++++++++
devel/lcdis/Makefile | 25 +++++++++++++++++++++++++
devel/lcdis/PLIST | 2 ++
devel/lcdis/distinfo | 8 ++++++++
devel/lcdis/patches/patch-LCDIS.C | 15 +++++++++++++++
devel/lcdis/patches/patch-LCDIS.H | 24 ++++++++++++++++++++++++
6 files changed, 86 insertions(+), 0 deletions(-)
diffs (110 lines):
diff -r e731776747c9 -r 19990c0aa728 devel/lcdis/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcdis/DESCR Mon May 21 16:12:14 2018 +0000
@@ -0,0 +1,12 @@
+LCDIS - LC86104C/108C disassembler for the Sega VMU/VMS
+
+Features:
+ - Sanyo LC86104C/108C disassembler, plus extra instructions used by the VMU
+ - Automatic determination of code/data space.
+ - Automatic determination of RAM banks accessed (mostly)
+ - Special function registers and BIOS entry points are annotated.
+ - Some instructions are commented (i.e. branch if 'A' button pressed)
+ - Disassembly output has been tested and found accurate.
+ - Either easier-to-read or ready-to-assemble code can be generated.
+ - User specification of graphic & font areas (which are commented graphically)
+ - Portable GPL C code. (with C++ style comments).
diff -r e731776747c9 -r 19990c0aa728 devel/lcdis/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcdis/Makefile Mon May 21 16:12:14 2018 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2018/05/21 16:12:14 minskim Exp $
+
+DISTNAME= LCDISSRC
+PKGNAME= lcdis-1.04
+CATEGORIES= devel
+MASTER_SITES= https://travispaul.me/distfiles/
+EXTRACT_SUFX= .ZIP
+
+MAINTAINER= tr%vispaul.me@localhost
+HOMEPAGE= https://web.archive.org/web/20110927100411/http://www.maushammer.com/vmu.html
+COMMENT= Disassembler for the Sega VMU/VMS
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= unzip
+
+WRKSRC= ${WRKDIR}
+INSTALLATION_DIRS= bin
+
+do-build:
+ ${CC} ${LDFLAGS} ${CFLAGS} -o ${WRKSRC}/lcdis ${WRKSRC}/LCDIS.C
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/lcdis ${DESTDIR}${PREFIX}/bin/lcdis
+
+.include "../../mk/bsd.pkg.mk"
diff -r e731776747c9 -r 19990c0aa728 devel/lcdis/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcdis/PLIST Mon May 21 16:12:14 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/05/21 16:12:14 minskim Exp $
+bin/lcdis
diff -r e731776747c9 -r 19990c0aa728 devel/lcdis/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcdis/distinfo Mon May 21 16:12:14 2018 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/05/21 16:12:14 minskim Exp $
+
+SHA1 (LCDISSRC.ZIP) = a41451c8a042cacdf6d246bc82835aa7c44ce461
+RMD160 (LCDISSRC.ZIP) = 53c01fa4419d1c156a96b572302c5bd16f1c66d8
+SHA512 (LCDISSRC.ZIP) = 7e728a8e8692bc5c4cdd7c44dc905e16bda8b1d39c65074c1dd55785ef320661a4c7e7f7b6fc598a27d0fbf38fe2a6b9e6d0529a9e32ebe36312d9c0ba46d2ea
+Size (LCDISSRC.ZIP) = 30715 bytes
+SHA1 (patch-LCDIS.C) = d23660be6dff69e02527277d11c89722a00085b6
+SHA1 (patch-LCDIS.H) = 1bd644dd86c971035e419f0a6412e8527f1817f2
diff -r e731776747c9 -r 19990c0aa728 devel/lcdis/patches/patch-LCDIS.C
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcdis/patches/patch-LCDIS.C Mon May 21 16:12:14 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-LCDIS.C,v 1.1 2018/05/21 16:12:14 minskim Exp $
+
+Don't assume a case-insensitive filesystem.
+
+--- LCDIS.C.orig 2000-07-02 19:45:58.000000000 +0000
++++ LCDIS.C
+@@ -102,7 +102,7 @@
+ #include <string.h>
+ #include <memory.h>
+ #include <ctype.h>
+-#include "lcdis.h"
++#include "LCDIS.H"
+
+ // This define needed for SUN environments:
+ #if (defined (sparc) || defined (__sparc__) || defined (__sparc))
diff -r e731776747c9 -r 19990c0aa728 devel/lcdis/patches/patch-LCDIS.H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcdis/patches/patch-LCDIS.H Mon May 21 16:12:14 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-LCDIS.H,v 1.1 2018/05/21 16:12:14 minskim Exp $
+
+No stricmp/strnicmp on NetBSD (and most other OSes),
+define as strcasecmp/strncasecmp instead.
+
+--- LCDIS.H.orig 2000-07-02 19:43:34.000000000 +0000
++++ LCDIS.H
+@@ -17,7 +17,8 @@ void print_code_label (int addr, int for
+ int checkmem(void);
+ void search_text (int memsize);
+
+-
++#define stricmp(x,y) strcasecmp(x,y)
++#define strnicmp(x,y,z) strncasecmp(x,y,z)
+
+ //---0---- ---1---- --2,3--- --4-7--- --8-F---
+
+@@ -391,4 +392,4 @@ firmwarecall_type FIRMWARECALL[] =
+ // not included mapmem (0x108); // unknown
+ // mapmem (0x140); // unknown
+ { -1, -1} // end of list
+- };
+\ No newline at end of file
++ };
Home |
Main Index |
Thread Index |
Old Index