brouhaha

mess patch for Apple1 with MC6800 CPU

Jul 17th, 2011
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. diff -up mess-0.143/src/mess/drivers/apple1.c.apple1-mc6800 mess-0.143/src/mess/drivers/apple1.c
  2. --- mess-0.143/src/mess/drivers/apple1.c.apple1-mc6800 2011-07-17 17:26:34.000000000 -0600
  3. +++ mess-0.143/src/mess/drivers/apple1.c 2011-07-17 17:28:28.000000000 -0600
  4. @@ -69,6 +69,7 @@ $F000-$FFFF: ROM address space
  5.  
  6. #include "emu.h"
  7. #include "cpu/m6502/m6502.h"
  8. +#include "cpu/m6800/m6800.h"
  9. #include "machine/6821pia.h"
  10. #include "includes/apple1.h"
  11. #include "imagedev/snapquik.h"
  12. @@ -268,6 +269,10 @@ static MACHINE_CONFIG_START( apple1, app
  13.  
  14. MACHINE_CONFIG_END
  15.  
  16. +static MACHINE_CONFIG_DERIVED( apple1_mc6800, apple1 )
  17. + MCFG_CPU_REPLACE("maincpu", M6800, 960000)
  18. +MACHINE_CONFIG_END
  19. +
  20. ROM_START(apple1)
  21. ROM_REGION(0x10000, "maincpu",0)
  22. /* 256-byte main monitor ROM, in two 82s129 or mmi6301 256x4 proms at A1 and A2 called APPLE-A1(bits D3-D0) and APPLE-A2(bits D7-D4) */
  23. @@ -281,6 +286,22 @@ ROM_START(apple1)
  24. ROM_LOAD("s2513.d2", 0x0000, 0x0200, CRC(a7e567fc) SHA1(b18aae0a2d4f92f5a7e22640719bbc4652f3f4ee)) // apple1.vid
  25. ROM_END
  26.  
  27. +ROM_START(apple1_mc6800)
  28. + ROM_REGION(0x10000, "maincpu",0)
  29. + /* 256-byte main monitor ROM, in two 82s129 or mmi6301 256x4 proms at A1 and A2 called APPLE-A1(bits D3-D0) and APPLE-A2(bits D7-D4) */
  30. + ROM_LOAD_NIB_HIGH( "apple-a2.a2", 0xFF00, 0x0100, CRC(254bfb95) SHA1(b6468b72295b7d8ac288d104d252f24de1f1d611) )
  31. + ROM_LOAD_NIB_LOW( "apple-a1.a1", 0xFF00, 0x0100, CRC(434f8ce6) SHA1(9deee2d39903209b20c3fc6b58e16372f8efece1) )
  32. +#if 0
  33. +// No MC6800 cassette ROM yet
  34. + /* 256-byte cassette interface ROM, in two 82s129 or mmi6301 256x4 proms at locations 3 and 4 on the cassette interface daughtercard (they are labeled "MMI 6301-IJ // 7623L // APPLE-A3" and "MMI 6301-IJ // 7623L // APPLE-A4") */
  35. + ROM_LOAD_NIB_HIGH( "apple-a3.3", 0xc100, 0x0100, CRC(6eae8f52) SHA1(71906932727ef70952ef6afe6b08708df15cd67d) )
  36. + ROM_LOAD_NIB_LOW( "apple-a4.4", 0xc100, 0x0100, CRC(94efa977) SHA1(851f3bd6863859a1a6909179a5e5bf744b3d807e) )
  37. +#endif
  38. + /* 512-byte Signetics 2513 character generator ROM at location D2-D3 */
  39. + ROM_REGION(0x0200, "gfx1",0)
  40. + ROM_LOAD("s2513.d2", 0x0000, 0x0200, CRC(a7e567fc) SHA1(b18aae0a2d4f92f5a7e22640719bbc4652f3f4ee)) // apple1.vid
  41. +ROM_END
  42.  
  43. /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME */
  44. COMP( 1976, apple1, 0, 0, apple1, apple1, apple1, "Apple Computer", "Apple I" , GAME_NO_SOUND )
  45. +COMP( 1976, apple1_mc6800, apple1, 0, apple1_mc6800, apple1, apple1, "Apple Computer", "Apple I w/ MC6800 CPU" , GAME_NO_SOUND )
  46. diff -up mess-0.143/src/mess/machine/apple1.c.apple1-mc6800 mess-0.143/src/mess/machine/apple1.c
  47. --- mess-0.143/src/mess/machine/apple1.c.apple1-mc6800 2011-07-17 17:26:37.000000000 -0600
  48. +++ mess-0.143/src/mess/machine/apple1.c 2011-07-17 17:26:41.000000000 -0600
  49. @@ -47,7 +47,6 @@
  50. #include "emu.h"
  51. #include "includes/apple1.h"
  52. #include "machine/6821pia.h"
  53. -#include "cpu/m6502/m6502.h"
  54. #include "image.h"
  55. #include "imagedev/cassette.h"
  56. #include "machine/ram.h"
  57. diff -up mess-0.143/src/mess/mess.lst.apple1-mc6800 mess-0.143/src/mess/mess.lst
  58. --- mess-0.143/src/mess/mess.lst.apple1-mc6800 2011-07-17 17:26:34.000000000 -0600
  59. +++ mess-0.143/src/mess/mess.lst 2011-07-17 17:26:41.000000000 -0600
  60. @@ -367,6 +367,7 @@ nc200 // 1993 NC200
  61.  
  62. // Apple
  63. apple1 // Jul 1976 Apple 1
  64. +apple1_mc6800 // Apple 1 with MC6800 CPU
  65. apple2 // Apr 1977 Apple ][
  66. apple2p // Jun 1979 Apple ][+
  67. prav82 // Pravetz 82
Advertisement
Add Comment
Please, Sign In to add comment