Fixed CPU definition of Lynx. Removed nonsense target vc20.

This commit is contained in:
Polluks 2016-04-12 23:58:30 +02:00
parent 7f06405bdb
commit b14021e9ac
3 changed files with 5 additions and 7 deletions

View File

@ -4,7 +4,7 @@
; ;
; Reference: ; Reference:
; Bastian Schick's Lynx Documentation ; Bastian Schick's Lynx Documentation
; http://www.geocities.com/SiliconValley/Byte/4242/lynx/ ; http://www.geocities.ws/SiliconValley/Byte/4242/lynx/
; ;
; *** ; ***

View File

@ -1,8 +1,7 @@
; supervision symbols ; supervision symbols
; supervision 65c02s ; supervision 65c02s
; in cc65 up to 2.9.1 65c02 means 65c02s ; in cc65 up to 2.9.1 65c02 means 65sc02
.pc02
lcd_addr = $4000 lcd_addr = $4000
LCD_LINESIZE = $30 LCD_LINESIZE = $30

View File

@ -139,7 +139,7 @@ struct TargetEntry {
}; };
/* Table that maps target names to ids. Sorted alphabetically for bsearch. /* Table that maps target names to ids. Sorted alphabetically for bsearch.
** Allows mupltiple entries for one target id (target name aliases). ** Allows multiple entries for one target id (target name aliases).
*/ */
static const TargetEntry TargetMap[] = { static const TargetEntry TargetMap[] = {
{ "apple2", TGT_APPLE2 }, { "apple2", TGT_APPLE2 },
@ -168,7 +168,6 @@ static const TargetEntry TargetMap[] = {
{ "sim6502", TGT_SIM6502 }, { "sim6502", TGT_SIM6502 },
{ "sim65c02", TGT_SIM65C02 }, { "sim65c02", TGT_SIM65C02 },
{ "supervision", TGT_SUPERVISION }, { "supervision", TGT_SUPERVISION },
{ "vc20", TGT_VIC20 },
{ "vic20", TGT_VIC20 }, { "vic20", TGT_VIC20 },
}; };
#define MAP_ENTRY_COUNT (sizeof (TargetMap) / sizeof (TargetMap[0])) #define MAP_ENTRY_COUNT (sizeof (TargetMap) / sizeof (TargetMap[0]))
@ -199,7 +198,7 @@ static const TargetProperties PropertyTable[TGT_COUNT] = {
{ "atmos", CPU_6502, BINFMT_BINARY, CTNone }, { "atmos", CPU_6502, BINFMT_BINARY, CTNone },
{ "nes", CPU_6502, BINFMT_BINARY, CTNone }, { "nes", CPU_6502, BINFMT_BINARY, CTNone },
{ "supervision", CPU_65SC02, BINFMT_BINARY, CTNone }, { "supervision", CPU_65SC02, BINFMT_BINARY, CTNone },
{ "lynx", CPU_65C02, BINFMT_BINARY, CTNone }, { "lynx", CPU_65SC02, BINFMT_BINARY, CTNone },
{ "sim6502", CPU_6502, BINFMT_BINARY, CTNone }, { "sim6502", CPU_6502, BINFMT_BINARY, CTNone },
{ "sim65c02", CPU_65C02, BINFMT_BINARY, CTNone }, { "sim65c02", CPU_65C02, BINFMT_BINARY, CTNone },
}; };