1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Merge pull request #283 from polluks/sp65

Fixed CPU definition of Lynx.
This commit is contained in:
Oliver Schmidt 2016-04-14 11:28:25 +02:00
commit 62c2177599
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 },
@ -170,7 +170,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]))
@ -201,7 +200,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 },
{ "pce", CPU_HUC6280, BINFMT_BINARY, CTNone }, { "pce", CPU_HUC6280, BINFMT_BINARY, CTNone },