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.
24 lines
697 B
C
24 lines
697 B
C
$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
|
|
+ };
|