pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/lcdis



Module Name:    pkgsrc
Committed By:   minskim
Date:           Mon May 21 16:12:14 UTC 2018

Added Files:
        pkgsrc/devel/lcdis: DESCR Makefile PLIST distinfo
        pkgsrc/devel/lcdis/patches: patch-LCDIS.C patch-LCDIS.H

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lcdis/DESCR pkgsrc/devel/lcdis/Makefile \
    pkgsrc/devel/lcdis/PLIST pkgsrc/devel/lcdis/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lcdis/patches/patch-LCDIS.C \
    pkgsrc/devel/lcdis/patches/patch-LCDIS.H

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/lcdis/DESCR
diff -u /dev/null pkgsrc/devel/lcdis/DESCR:1.1
--- /dev/null   Mon May 21 16:12:14 2018
+++ pkgsrc/devel/lcdis/DESCR    Mon May 21 16:12:14 2018
@@ -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).
Index: pkgsrc/devel/lcdis/Makefile
diff -u /dev/null pkgsrc/devel/lcdis/Makefile:1.1
--- /dev/null   Mon May 21 16:12:14 2018
+++ pkgsrc/devel/lcdis/Makefile Mon May 21 16:12:14 2018
@@ -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"
Index: pkgsrc/devel/lcdis/PLIST
diff -u /dev/null pkgsrc/devel/lcdis/PLIST:1.1
--- /dev/null   Mon May 21 16:12:14 2018
+++ pkgsrc/devel/lcdis/PLIST    Mon May 21 16:12:14 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/05/21 16:12:14 minskim Exp $
+bin/lcdis
Index: pkgsrc/devel/lcdis/distinfo
diff -u /dev/null pkgsrc/devel/lcdis/distinfo:1.1
--- /dev/null   Mon May 21 16:12:14 2018
+++ pkgsrc/devel/lcdis/distinfo Mon May 21 16:12:14 2018
@@ -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

Index: pkgsrc/devel/lcdis/patches/patch-LCDIS.C
diff -u /dev/null pkgsrc/devel/lcdis/patches/patch-LCDIS.C:1.1
--- /dev/null   Mon May 21 16:12:14 2018
+++ pkgsrc/devel/lcdis/patches/patch-LCDIS.C    Mon May 21 16:12:14 2018
@@ -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))
Index: pkgsrc/devel/lcdis/patches/patch-LCDIS.H
diff -u /dev/null pkgsrc/devel/lcdis/patches/patch-LCDIS.H:1.1
--- /dev/null   Mon May 21 16:12:14 2018
+++ pkgsrc/devel/lcdis/patches/patch-LCDIS.H    Mon May 21 16:12:14 2018
@@ -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