Added/completed/debugged o65 support for Lunix

git-svn-id: svn://svn.cc65.org/cc65/trunk@1126 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-12-01 13:34:51 +00:00
parent df92f7585f
commit ebbd68673b
14 changed files with 225 additions and 103 deletions

View File

@@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 2000 Ullrich von Bassewitz */
/* (C) 2000-2001 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@musoftware.de */
@@ -60,10 +60,11 @@ const char* TargetNames [TGT_COUNT] = {
"plus4",
"cbm510",
"cbm610",
"pet",
"pet",
"bbc",
"apple2",
"geos",
"lunix"
};
@@ -101,4 +102,4 @@ target_t FindTarget (const char* Name)
}

View File

@@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 2000 Ullrich von Bassewitz */
/* (C) 2000-2001 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@musoftware.de */
@@ -59,6 +59,7 @@ typedef enum {
TGT_BBC,
TGT_APPLE2,
TGT_GEOS,
TGT_LUNIX,
TGT_COUNT /* Number of target systems */
} target_t;

View File

@@ -112,6 +112,7 @@ void TgtTranslateInit (void)
case TGT_BBC: break;
case TGT_APPLE2: break;
case TGT_GEOS: break;
case TGT_LUNIX: Tab = CTPET; break;
default:
AbEnd ("Internal error: Target system unknown (%d)", Target);
}
@@ -154,7 +155,7 @@ char* TgtTranslateStr (char* S)
void TgtTranslateBuf (void* Buf, unsigned Len)
/* Translate a buffer of the given length from the source character set into
* the target system character set.
*/
*/
{
/* Translate */
if (Tab) {