Previous 15994 Revisions Next

r5526 Saturday 29th August, 2009 at 13:03:59 UTC by Roberto Zandonà
[C64] some improvements to carts system
[src/mess/machine]c64.c

src/mess/machine/c64.c
r5525r5526
11121112      /* If it is unsupported cart type, warn the user */
11131113      switch (c64_cart_type)
11141114      {
1115         case ACTION_REPLAY:   /* Type #  1 */
11151116         case KCS_PC:      /* Type #  2 */
1116         case FINAL_CART_III:    /* Type #  3 */
1117         case FINAL_CART_III:   /* Type #  3 */
11171118         case SIMONS_BASIC:   /* Type #  4 */
1118         case OCEAN_1:           /* Type #  5 */
1119         case OCEAN_1:      /* Type #  5 */
1120         case EXPERT:      /* Type #  6 */
11191121         case FUN_PLAY:          /* Type #  7 */
1122         case ATOMIC_POWER:   /* Type #  9 */
11201123         case EPYX_FASTLOAD:   /* Type # 10 */
11211124         case WESTERMANN:      /* Type # 11 */
1125         case REX:         /* Type # 12 */
11221126         case FINAL_CART_I:   /* Type # 13 */
1123         case C64GS:             /* Type # 15 */
1124         case DINAMIC:           /* Type # 17 */
1125         case COMAL_80:          /* Type # 21 */
1126         case GENERIC_CRT:       /* Type #  0 */
1127         case C64GS:         /* Type # 15 */
1128         case DINAMIC:      /* Type # 17 */
1129         case COMAL_80:      /* Type # 21 */
1130         case GENERIC_CRT:      /* Type #  0 */
11271131            printf("Currently supported cart type (Type %d)\n", c64_cart_type);
11281132            break;
11291133
r5525r5526
14541458
14551459   switch( c64_mapper )
14561460   {
1457      case KCS_PC:      /* Type #  2 not working*/
1461      case ACTION_REPLAY:   /* Type #  1 not working */
14581462         break;
1459      case FINAL_CART_III:    /* Type #  3 - 4 16k banks, loaded at 0x8000, banks chosen by writing to 0xdfff */
1463      case KCS_PC:      /* Type #  2 not working */
1464         break;
1465      case FINAL_CART_III:    /* Type #  3 not working - 4 16k banks, loaded at 0x8000, banks chosen by writing to 0xdfff */
14601466         memory_install_write8_handler( space, 0xdfff, 0xdfff, 0, 0, fc3_bank_w );
14611467         break;
1462      case SIMONS_BASIC:   /* Type #  4 not working*/
1468      case SIMONS_BASIC:   /* Type #  4 not working */
14631469         break;
14641470      case OCEAN_1:           /* Type #  5 - up to 64 8k banks, loaded at 0x8000 or 0xa000, banks chosen by writing to 0xde00 */
14651471         memory_install_write8_handler( space, 0xde00, 0xde00, 0, 0, ocean1_bank_w );
14661472         break;
1473      case EXPERT:      /* Type #  6 not working */
1474         break;
14671475      case FUN_PLAY:          /* Type #  7 - 16 8k banks, loaded at 0x8000, banks chosen by writing to 0xde00 */
14681476         memory_install_write8_handler( space, 0xde00, 0xde00, 0, 0, funplay_bank_w );
14691477         break;
1470      case EPYX_FASTLOAD:   /* Type # 10 not working*/
1478      case ATOMIC_POWER:   /* Type # 9 not working */
14711479         break;
1472      case WESTERMANN:      /* Type # 11 not working*/
1480      case EPYX_FASTLOAD:   /* Type # 10 not working */
14731481         break;
1474      case FINAL_CART_I:   /* Type # 13 not working*/
1482      case WESTERMANN:      /* Type # 11 not working */
14751483         break;
1484      case REX:         /* Type # 12 working */
1485         break;
1486      case FINAL_CART_I:   /* Type # 13 not working */
1487         break;
14761488      case C64GS:             /* Type # 15 - up to 64 8k banks, loaded at 0x8000, banks chosen by writing to 0xde00 + bank */
14771489         memory_install_write8_handler( space, 0xde00, 0xdeff, 0, 0, c64gs_bank_w );
14781490         break;
1479      case DINAMIC:           /* Type # 17 - 16 8k banks, loaded at 0x8000, banks chosen by reading to 0xde00 + bank# */
1491      case DINAMIC:           /* Type # 17 - 16 8k banks, loaded at 0x8000, banks chosen by reading to 0xde00 + bank */
14801492         memory_install_read8_handler( space, 0xde00, 0xdeff, 0, 0, dinamic_bank_r );
14811493         break;
1482      case COMAL_80:          /* Type # 21 - 4 16k banks, loaded at 0x8000, banks chosen by writing the value 0x80 + bank to 0xde00 */
1494      case COMAL_80:          /* Type # 21 - 4 16k banks, loaded at 0x8000, banks chosen by writing to 0xde00 */
14831495         memory_install_write8_handler( space, 0xde00, 0xde00, 0, 0, comal80_bank_w );
14841496         break;
14851497      case GENERIC_CRT:       /* Type #  0 - single bank, no bankswitch, loaded at start with correct size and place */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team