hash/c64_cart.xml
| r14942 | r14943 | |
| 246 | 246 | </software> |
| 247 | 247 | |
| 248 | 248 | <software name="ps64" supported="no"> |
| 249 | <description>PS-64 puhemoduli v1.0 (Fin)</description> |
| 250 | <year>1988</year> |
| 251 | <publisher>Koulun erityispalvelu</publisher> |
| 252 | |
| 253 | <part name="cart" interface="c64_cart"> |
| 254 | <feature name="slot" value="ps64" /> |
| 255 | <feature name="game" value="1" /> |
| 256 | <feature name="exrom" value="0" /> |
| 257 | |
| 258 | <dataarea name="roml" size="0x2000"> |
| 259 | <rom name="ps-64.bin" size="0x2000" crc="0613bd98" sha1="a255e3a42d65ffffe835d9ac06034caf371d6994" offset="0x0000" /> |
| 260 | </dataarea> |
| 261 | </part> |
| 262 | </software> |
| 263 | |
| 264 | <software name="ps64v2" cloneof="ps64" supported="no"> |
| 249 | 265 | <description>PS-64 puhemoduli v2.0 (Fin)</description> |
| 250 | 266 | <year>1988</year> |
| 251 | 267 | <publisher>Koulun erityispalvelu</publisher> |
| 252 | | <!-- |
| 253 | | |===========================| |
| 254 | | |=| | |
| 255 | | |=| SW1| |
| 256 | | |=| SC02 | |
| 257 | | |=| | |
| 258 | | |=| CN1| |
| 259 | | |=| ROM LF347 | |
| 260 | | |=| | |
| 261 | | |=| | |
| 262 | | |===========================| |
| 263 | 268 | |
| 264 | | SC02 - Votrax SSI-263AP Speech Synthesizer (mapped at 0xde00-0xde04) |
| 265 | | ROM - Hynix Semiconductor HY27C64D-20 8Kx8 EPROM |
| 266 | | LF347 - National Instruments LF347N JFET Operational Amplifier |
| 267 | | SW1 - Module on/off switch |
| 268 | | CN1 - connector to C64 video/audio port |
| 269 | | --> |
| 270 | 269 | <part name="cart" interface="c64_cart"> |
| 271 | 270 | <feature name="slot" value="ps64" /> |
| 272 | 271 | <feature name="game" value="1" /> |
| 273 | 272 | <feature name="exrom" value="0" /> |
| 274 | | <feature name="speech" value="SSI-263AP" /> |
| 275 | 273 | |
| 276 | 274 | <dataarea name="roml" size="0x2000"> |
| 277 | 275 | <rom name="unlabeled" size="0x2000" crc="793ced42" sha1="8f66fde8ec8ed6fd8fb597df39d2867ecc58d7e1" offset="0x0000" /> |
| r14942 | r14943 | |
| 321 | 319 | <description>Pagefox (Fin)</description> |
| 322 | 320 | <year>1987</year> |
| 323 | 321 | <publisher>Scanntronik</publisher> |
| 324 | | <!-- |
| 325 | | |===========================| |
| 326 | | |=| | |
| 327 | | |=| RAM LS11 | |
| 328 | | |=| | |
| 329 | | |=| LS139 | |
| 330 | | |=| ROM0 | |
| 331 | | |=| LS273 | |
| 332 | | |=| | |
| 333 | | |=| ROM1 LS00 | |
| 334 | | |===========================| |
| 335 | 322 | |
| 336 | | RAM - NEC D43256-12L 32Kx8 RAM |
| 337 | | ROM0 - SGS M27256-2FI 32Kx8 EPROM |
| 338 | | ROM1 - National Instruments NMC27C256Q 32Kx8 EPROM |
| 339 | | --> |
| 340 | 323 | <part name="cart" interface="c64_cart"> |
| 341 | 324 | <feature name="slot" value="pagefox" /> |
| 342 | 325 | <feature name="game" value="0" /> |
| r14942 | r14943 | |
| 355 | 338 | <description>Easy Calc Result</description> |
| 356 | 339 | <year>1985</year> |
| 357 | 340 | <publisher>Handic Software</publisher> |
| 358 | | <!-- |
| 359 | | |===========================| |
| 360 | | |=| | |
| 361 | | |=| ROM0 LS73 | |
| 362 | | |=| | |
| 363 | | |=| | |
| 364 | | |=| | |
| 365 | | |=| | |
| 366 | | |=| ROM1 LS00 | |
| 367 | | |=| | |
| 368 | | |===========================| |
| 369 | 341 | |
| 370 | | ROM0 - Hitachi HN61364P 8Kx8 EPROM "CR2001" |
| 371 | | ROM1 - Hitachi HN613128P 16Kx8 EPROM "CR3001" |
| 372 | | --> |
| 373 | 342 | <part name="cart" interface="c64_cart"> |
| 374 | 343 | <feature name="slot" value="easycalcres" /> |
| 375 | 344 | <feature name="game" value="0" /> |
| r14942 | r14943 | |
| 460 | 429 | <description>Multiscreen (Aus)</description> |
| 461 | 430 | <year>1987</year> |
| 462 | 431 | <publisher>Multiscreen Pty</publisher> |
| 463 | | <!-- |
| 464 | | |===================| |
| 465 | | | ROM6 | |
| 466 | | | MC14066 | |
| 467 | | | | |
| 468 | | |===============| ROM5 | |
| 469 | | |=| | |
| 470 | | |=| | |
| 471 | | |=| RAM BAT ROM4 | |
| 472 | | |=| | |
| 473 | | |=| | |
| 474 | | |=| ROM0 ROM3 | |
| 475 | | |=| | |
| 476 | | |=| | |
| 477 | | |===============| LS138 ROM2 | |
| 478 | | | LS138 | |
| 479 | | | LS174 | |
| 480 | | | LS133 ROM1 | |
| 481 | | |===================| |
| 482 | 432 | |
| 483 | | BAT - BR2325 lithium battery |
| 484 | | RAM - ? 8Kx8 RAM |
| 485 | | ROM0 - ? 16Kx8 EPROM |
| 486 | | ROM1 - ? 32Kx8 EPROM |
| 487 | | ROM2 - ? 32Kx8 EPROM |
| 488 | | ROM3 - ? 32Kx8 EPROM |
| 489 | | ROM4 - not populated |
| 490 | | ROM5 - not populated |
| 491 | | ROM6 - not populated |
| 492 | | |
| 493 | | bankswitching latch at I/O2 ($DF00..$DFFF) (write $0D -> RAM @8000) |
| 494 | | --> |
| 495 | 433 | <part name="cart" interface="c64_cart"> |
| 496 | 434 | <feature name="slot" value="multiscreen" /> |
| 497 | 435 | <feature name="game" value="0" /> |
| r14942 | r14943 | |
| 505 | 443 | <rom name="cart-4.bin" size="0x8000" crc="042678ef" sha1="ff2582c617f72bf57be7d76bcf8270665144f924" offset="0x14000" /> |
| 506 | 444 | </dataarea> |
| 507 | 445 | |
| 508 | | <dataarea name="ram" size="0x2000" /> |
| 446 | <dataarea name="nvram" size="0x2000" /> |
| 509 | 447 | </part> |
| 510 | | <!-- |
| 511 | | --> |
| 512 | | <part name="driver_board" interface="device"> |
| 513 | | <feature name="pcb" value="RDL77" /> |
| 514 | | <feature name="xtal" value="4000000" /> |
| 515 | | <feature name="cpu" value="MC6802P" /> |
| 516 | | <feature name="pia1" value="MC6821P" /> |
| 517 | | <feature name="pia2" value="MC6821P" /> |
| 518 | | <feature name="ram1" value="MC6810P" /> |
| 519 | | <feature name="ram2" value="MC6810P" /> |
| 520 | | |
| 521 | | <dataarea name="rom" size="0x2000"> |
| 522 | | <rom name="1" size="0x1000" crc="35be02a8" sha1="5912bc3d8e0c0949c1e66c19116d6b71c7574e46" offset="0x0000" /> |
| 523 | | <rom name="1 2cr" size="0x1000" crc="76a9ac6d" sha1="87e7335e626bdb73498b46c28c7baab72df38d1f" offset="0x1000" /> |
| 524 | | </dataarea> |
| 525 | | |
| 526 | | <dataarea name="ram" size="0x100" /> |
| 527 | | </part> |
| 528 | 448 | </software> |
| 529 | 449 | |
| 530 | 450 | <software name="4040fast" supported="no"> |
| r14942 | r14943 | |
| 564 | 484 | <description>Skærmtrolden Hugo (Den)</description> |
| 565 | 485 | <year>1990</year> |
| 566 | 486 | <publisher>SilverRock Productions</publisher> |
| 567 | | <!-- |
| 568 | | e9048 |
| 569 | | |=============| |
| 570 | | |=| LS00 | |
| 571 | | |=| LS273| |
| 572 | | |=| | |
| 573 | | |=| | |
| 574 | | |=| ROM | |
| 575 | | |=| | |
| 576 | | |=| | |
| 577 | | |=| | |
| 578 | | |=============| |
| 579 | 487 | |
| 580 | | ROM - Atmel AT27C010-25PC 128Kx8 OTP EPROM "HUGO 2012" |
| 581 | | |
| 582 | | data and address lines are scrambled: |
| 583 | | data = BITSWAP8(7,6,5,4,0,1,2,3) |
| 584 | | address = BITSWAP17(D6,D5,D4,D7,12,7,6,5,4,3,2,1,0,8,9,11,10) |
| 585 | | |
| 586 | | bankswitching latch at I/O1 ($DE00..$DEFF): D6=A16, D5=A15, D4=A14, D7=A13 |
| 587 | | latch is cleared to 0 on computer reset |
| 588 | | --> |
| 589 | 488 | <part name="cart" interface="c64_cart"> |
| 590 | 489 | <feature name="slot" value="silverrock" /> |
| 591 | 490 | <feature name="game" value="0" /> |
| r14942 | r14943 | |
| 602 | 501 | <description>Chase H.Q. 2: Special Criminal Investigation</description> |
| 603 | 502 | <year>1990</year> |
| 604 | 503 | <publisher>Ocean</publisher> |
| 605 | | <!-- |
| 606 | | |===========================| |
| 607 | | |=| LS02 | |
| 608 | | |=| | |
| 609 | | |=| | |
| 610 | | |=| ROM0 ROM1 | |
| 611 | | |=| LS273 | |
| 612 | | |=| | |
| 613 | | |=| | |
| 614 | | |=| | |
| 615 | | |===========================| |
| 616 | 504 | |
| 617 | | ROM0,1 - 28-pin ROM (Toshiba TC531000 pinout, markings scratched off) |
| 618 | | bankswitch latch @ I/O1: D3-D0 = A16-A13 |
| 619 | | --> |
| 620 | 505 | <part name="cart" interface="c64_cart"> |
| 621 | 506 | <feature name="slot" value="ocean" /> |
| 622 | 507 | <feature name="game" value="0" /> |
| r14942 | r14943 | |
| 638 | 523 | <description>XL 80</description> |
| 639 | 524 | <year>1984</year> |
| 640 | 525 | <publisher>Data 20</publisher> |
| 641 | | <!-- |
| 642 | | |==================================| |
| 643 | | | LS175 LS20 LS139 | |
| 644 | | | LS157 | |
| 645 | | |=======| | |
| 646 | | |=| RAM | |
| 647 | | |=| LS157 LS157 LS165 | |
| 648 | | |=| | |
| 649 | | |=| CN1| |
| 650 | | |=| CRTC ROM1 | |
| 651 | | |=| | |
| 652 | | |=| ROM0 LS245 LS151 | |
| 653 | | |=| 14.31818MHz| |
| 654 | | |=======| LS174 LS00 | |
| 655 | | | HCU04 | |
| 656 | | | LS74 LS161 LS74 | |
| 657 | | |==================================| |
| 658 | 526 | |
| 659 | | CRTC - Hitachi HD46505SP |
| 660 | | RAM - Toshiba TMM2016AP-12 2Kx8 Static RAM |
| 661 | | ROM0 - GI 9433CS-0090 4Kx8 ROM |
| 662 | | ROM1 - GI 9316CS-F67 2Kx8 ROM "DTC" |
| 663 | | CN1 - RCA video output |
| 664 | | --> |
| 665 | 527 | <part name="cart" interface="c64_cart"> |
| 666 | 528 | <feature name="slot" value="xl80" /> |
| 667 | 529 | <feature name="game" value="1" /> |
| r14942 | r14943 | |
| 675 | 537 | <rom name="dtc.u14" size="0x800" crc="9edf5e58" sha1="4b244e6d94a7653a2e52c351589f0b469119fb04" offset="0x0000" /> |
| 676 | 538 | </dataarea> |
| 677 | 539 | </part> |
| 540 | |
| 678 | 541 | <part name="flop" interface="floppy_5_25"> |
| 679 | 542 | <dataarea name="flop" size="174848"> |
| 680 | 543 | <rom name="xl 80 system software.d64" size="174848" crc="7fc45fca" sha1="c8c890ecd826dd9c3b1a1254793f73dc0ef9ef95" offset="0" /> |
hash/c64_flop.xml
| r14942 | r14943 | |
| 310 | 310 | <description>BASIC-kääntäjä (Fin)</description> |
| 311 | 311 | <year>1984</year> |
| 312 | 312 | <publisher>Amersoft</publisher> |
| 313 | |
| 313 | 314 | <part name="flop" interface="floppy_5_25"> |
| 314 | 315 | <dataarea name="flop" size="333744"> |
| 315 | 316 | <rom name="basic-kaantaja[amersoft_1984].nbz" size="333744" crc="68ffade3" sha1="951e63d05c0911abcc247ff8327b7239fc0c9e86" offset="0" /> |
| r14942 | r14943 | |
| 321 | 322 | <description>SuperBase 64 (Fin)</description> |
| 322 | 323 | <year>1983</year> |
| 323 | 324 | <publisher>Precision</publisher> |
| 325 | |
| 324 | 326 | <part name="flop" interface="floppy_5_25"> |
| 325 | 327 | <dataarea name="flop" size="333744"> |
| 326 | 328 | <rom name="superbase_64[precision_1983](finnish).nbz" size="333744" crc="83eb8f50" sha1="2cff03d08f15f8d66fad9d20233fc4d87f71395c" offset="0" /> |
| r14942 | r14943 | |
| 328 | 330 | </part> |
| 329 | 331 | </software> |
| 330 | 332 | |
| 333 | <!-- Educational --> |
| 334 | |
| 335 | <software name="kats1"> |
| 336 | <description>KÄTS-opetuslevy 1 (Fin)</description> |
| 337 | <year>1989</year> |
| 338 | <publisher>Koulun erityispalvelu</publisher> |
| 339 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 340 | |
| 341 | <part name="flop1" interface="floppy_5_25"> |
| 342 | <dataarea name="flop" size="174848"> |
| 343 | <rom name="kats-1.d64" size="174848" crc="076e961a" sha1="011922880a227d388a77b5c179d7540d6118469d" offset="0" /> |
| 344 | </dataarea> |
| 345 | </part> |
| 346 | </software> |
| 347 | |
| 348 | <software name="kats2"> |
| 349 | <description>KÄTS-opetuslevy 2 (Fin)</description> |
| 350 | <year>1989</year> |
| 351 | <publisher>Koulun erityispalvelu</publisher> |
| 352 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 353 | |
| 354 | <part name="flop1" interface="floppy_5_25"> |
| 355 | <dataarea name="flop" size="174848"> |
| 356 | <rom name="kats-2.d64" size="174848" crc="44a5f655" sha1="eecb240de09b8adfaac68190e490984ea7e62304" offset="0" /> |
| 357 | </dataarea> |
| 358 | </part> |
| 359 | </software> |
| 360 | |
| 361 | <software name="kertolas"> |
| 362 | <description>Kertolasku (Fin)</description> |
| 363 | <year>1986</year> |
| 364 | <publisher>Koulun erityispalvelu</publisher> |
| 365 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 366 | |
| 367 | <part name="flop1" interface="floppy_5_25"> |
| 368 | <dataarea name="flop" size="174848"> |
| 369 | <rom name="kertolasku.d64" size="174848" crc="78f4ad0d" sha1="4ef1552535c26bf6c884f463d69f6e11fe152a9c" offset="0" /> |
| 370 | </dataarea> |
| 371 | </part> |
| 372 | </software> |
| 373 | |
| 374 | <software name="lrsharj"> |
| 375 | <description>LRS-harjoitus (Fin)</description> |
| 376 | <year>1988</year> |
| 377 | <publisher>Koulun erityispalvelu</publisher> |
| 378 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 379 | |
| 380 | <part name="flop1" interface="floppy_5_25"> |
| 381 | <dataarea name="flop" size="174848"> |
| 382 | <rom name="lrs-harjoitus.d64" size="174848" crc="ed5ce5ae" sha1="ca4eabc7d41db9f56e434ba8f38d7f24ad2fe5b7" offset="0" /> |
| 383 | </dataarea> |
| 384 | </part> |
| 385 | </software> |
| 386 | |
| 387 | <software name="opinkirj"> |
| 388 | <description>Opin kirjoittamaan (Fin)</description> |
| 389 | <year>1985</year> |
| 390 | <publisher>Koulun erityispalvelu</publisher> |
| 391 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 392 | |
| 393 | <part name="flop1" interface="floppy_5_25"> |
| 394 | <dataarea name="flop" size="174848"> |
| 395 | <rom name="opin_kirjoittamaan.d64" size="174848" crc="6125f441" sha1="e1d908644529eb3c0e4fef4be7b394a697d6bb9a" offset="0" /> |
| 396 | </dataarea> |
| 397 | </part> |
| 398 | </software> |
| 399 | |
| 400 | <software name="opinluk1"> |
| 401 | <description>Opin lukemaan 1 (Fin)</description> |
| 402 | <year>1985</year> |
| 403 | <publisher>Koulun erityispalvelu</publisher> |
| 404 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 405 | |
| 406 | <part name="flop1" interface="floppy_5_25"> |
| 407 | <dataarea name="flop" size="174848"> |
| 408 | <rom name="opin_lukemaan_1.d64" size="174848" crc="70b4d79e" sha1="0f7ba68acfdca1b3fb8fc137b5b2c2292b6fc397" offset="0" /> |
| 409 | </dataarea> |
| 410 | </part> |
| 411 | </software> |
| 412 | |
| 413 | <software name="opinluk2"> |
| 414 | <description>Opin lukemaan 2 (Fin)</description> |
| 415 | <year>1985</year> |
| 416 | <publisher>Koulun erityispalvelu</publisher> |
| 417 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 418 | |
| 419 | <part name="flop1" interface="floppy_5_25"> |
| 420 | <dataarea name="flop" size="174848"> |
| 421 | <rom name="opin_lukemaan_2.d64" size="174848" crc="58cb5f41" sha1="5cc321cb82f144b3faa88dbcb9b591657cdc66cf" offset="0" /> |
| 422 | </dataarea> |
| 423 | </part> |
| 424 | </software> |
| 425 | |
| 426 | <software name="psenglsh"> |
| 427 | <description>PS-English (Fin)</description> |
| 428 | <year>1986</year> |
| 429 | <publisher>Koulun erityispalvelu</publisher> |
| 430 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 431 | |
| 432 | <part name="flop1" interface="floppy_5_25"> |
| 433 | <dataarea name="flop" size="174848"> |
| 434 | <rom name="ps-english.d64" size="174848" crc="18d66daa" sha1="35d9871fb337ada74f0788d4910dfba08d1d4c15" offset="0" /> |
| 435 | </dataarea> |
| 436 | </part> |
| 437 | </software> |
| 438 | |
| 439 | <software name="psmemory"> |
| 440 | <description>PS-Memory (Fin)</description> |
| 441 | <year>1989</year> |
| 442 | <publisher>Koulun erityispalvelu</publisher> |
| 443 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 444 | |
| 445 | <part name="flop1" interface="floppy_5_25"> |
| 446 | <dataarea name="flop" size="174848"> |
| 447 | <rom name="ps-memory.d64" size="174848" crc="08a635cd" sha1="cd797378c35272ca65f35784fda7f4e42029d8ea" offset="0" /> |
| 448 | </dataarea> |
| 449 | </part> |
| 450 | </software> |
| 451 | |
| 452 | <software name="puventti"> |
| 453 | <description>Puhuva venttipeli (Fin)</description> |
| 454 | <year>1986</year> |
| 455 | <publisher>Koulun erityispalvelu</publisher> |
| 456 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 457 | |
| 458 | <part name="flop1" interface="floppy_5_25"> |
| 459 | <dataarea name="flop" size="174848"> |
| 460 | <rom name="puhuva_venttipeli.d64" size="174848" crc="16661038" sha1="69c67d4e3c2f15285549df4cb19caae44ed2dc2a" offset="0" /> |
| 461 | </dataarea> |
| 462 | </part> |
| 463 | </software> |
| 464 | |
| 465 | <software name="vahennys"> |
| 466 | <description>Vähennyslasku (Fin)</description> |
| 467 | <year>1986</year> |
| 468 | <publisher>Koulun erityispalvelu</publisher> |
| 469 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 470 | |
| 471 | <part name="flop1" interface="floppy_5_25"> |
| 472 | <dataarea name="flop" size="174848"> |
| 473 | <rom name="vahennyslasku.d64" size="174848" crc="e03d35ae" sha1="2fa26e548c577b647f3e23a93851c7cf4dc257ce" offset="0" /> |
| 474 | </dataarea> |
| 475 | </part> |
| 476 | </software> |
| 477 | |
| 478 | <software name="valmhrj1"> |
| 479 | <description>Valmiusharjoituksia 1 (Fin)</description> |
| 480 | <year>198?</year> |
| 481 | <publisher>Koulun erityispalvelu</publisher> |
| 482 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 483 | |
| 484 | <part name="flop1" interface="floppy_5_25"> |
| 485 | <dataarea name="flop" size="174848"> |
| 486 | <rom name="valm-harj1.d64" size="174848" crc="190cf6d4" sha1="7ca9176a83c48f5b9aebbc3e38e9a847da9ffc3c" offset="0" /> |
| 487 | </dataarea> |
| 488 | </part> |
| 489 | </software> |
| 490 | |
| 491 | <software name="yhteenla"> |
| 492 | <description>Yhteenlasku (Fin)</description> |
| 493 | <year>198?</year> |
| 494 | <publisher>Koulun erityispalvelu</publisher> |
| 495 | <sharedfeat name="requirement" value="c64_cart:ps64"/> |
| 496 | |
| 497 | <part name="flop1" interface="floppy_5_25"> |
| 498 | <dataarea name="flop" size="174848"> |
| 499 | <rom name="yhteenlasku.d64" size="174848" crc="c02a0821" sha1="17e03cd9d81ee2bf328e802354c149945a319450" offset="0" /> |
| 500 | </dataarea> |
| 501 | </part> |
| 502 | </software> |
| 503 | |
| 331 | 504 | </softwarelist> |
src/mess/machine/c64_multiscreen.c
| r14942 | r14943 | |
| 59 | 59 | // MACROS/CONSTANTS
|
| 60 | 60 | //**************************************************************************
|
| 61 | 61 | |
| 62 | | #define BANK_RAM 0x0d
|
| 62 | #define MC6802P_TAG "m6802"
|
| 63 | #define MC6821P_0_TAG "m6821_0"
|
| 64 | #define MC6821P_1_TAG "m6821_1"
|
| 63 | 65 | |
| 64 | 66 | |
| 67 | #define BANK_RAM 0x0d
|
| 65 | 68 | |
| 69 | |
| 70 | |
| 66 | 71 | //**************************************************************************
|
| 67 | 72 | // DEVICE DEFINITIONS
|
| 68 | 73 | //**************************************************************************
|
| r14942 | r14943 | |
| 70 | 75 | const device_type C64_MULTISCREEN = &device_creator<c64_multiscreen_cartridge_device>;
|
| 71 | 76 | |
| 72 | 77 | |
| 78 | //-------------------------------------------------
|
| 79 | // ROM( c64_multiscreen )
|
| 80 | //-------------------------------------------------
|
| 73 | 81 | |
| 82 | ROM_START( c64_multiscreen )
|
| 83 | ROM_REGION( 0x2000, MC6802P_TAG, 0 )
|
| 84 | ROM_LOAD( "1", 0x0000, 0x1000, CRC(35be02a8) SHA1(5912bc3d8e0c0949c1e66c19116d6b71c7574e46) )
|
| 85 | ROM_LOAD( "2 cr", 0x1000, 0x1000, CRC(76a9ac6d) SHA1(87e7335e626bdb73498b46c28c7baab72df38d1f) )
|
| 86 | ROM_END
|
| 87 | |
| 88 | |
| 89 | //-------------------------------------------------
|
| 90 | // rom_region - device-specific ROM region
|
| 91 | //-------------------------------------------------
|
| 92 | |
| 93 | const rom_entry *c64_multiscreen_cartridge_device::device_rom_region() const
|
| 94 | {
|
| 95 | return ROM_NAME( c64_multiscreen );
|
| 96 | }
|
| 97 | |
| 98 | |
| 99 | static ADDRESS_MAP_START( multiscreen_mem, AS_PROGRAM, 8, c64_multiscreen_cartridge_device )
|
| 100 | AM_RANGE(0x0000, 0x1fff) AM_ROM AM_REGION(MC6802P_TAG, 0)
|
| 101 | ADDRESS_MAP_END
|
| 102 | |
| 103 | |
| 104 | //-------------------------------------------------
|
| 105 | // pia6821_interface pia0_intf -
|
| 106 | //-------------------------------------------------
|
| 107 | |
| 108 | static const pia6821_interface pia0_intf =
|
| 109 | {
|
| 110 | DEVCB_NULL, // input A
|
| 111 | DEVCB_NULL, // input B
|
| 112 | DEVCB_NULL, // input CA1
|
| 113 | DEVCB_NULL, // input CB1
|
| 114 | DEVCB_NULL, // input CA2
|
| 115 | DEVCB_NULL, // input CB2
|
| 116 | DEVCB_NULL, // output A
|
| 117 | DEVCB_NULL, // output B
|
| 118 | DEVCB_NULL, // output CA2
|
| 119 | DEVCB_NULL, // output CB2
|
| 120 | DEVCB_NULL, // irq A
|
| 121 | DEVCB_NULL // irq B
|
| 122 | };
|
| 123 | |
| 124 | |
| 125 | //-------------------------------------------------
|
| 126 | // pia6821_interface pia1_intf -
|
| 127 | //-------------------------------------------------
|
| 128 | |
| 129 | static const pia6821_interface pia1_intf =
|
| 130 | {
|
| 131 | DEVCB_NULL, // input A
|
| 132 | DEVCB_NULL, // input B
|
| 133 | DEVCB_NULL, // input CA1
|
| 134 | DEVCB_NULL, // input CB1
|
| 135 | DEVCB_NULL, // input CA2
|
| 136 | DEVCB_NULL, // input CB2
|
| 137 | DEVCB_NULL, // output A
|
| 138 | DEVCB_NULL, // output B
|
| 139 | DEVCB_NULL, // output CA2
|
| 140 | DEVCB_NULL, // output CB2
|
| 141 | DEVCB_NULL, // irq A
|
| 142 | DEVCB_NULL // irq B
|
| 143 | };
|
| 144 | |
| 145 | |
| 146 | //-------------------------------------------------
|
| 147 | // MACHINE_CONFIG_FRAGMENT( c64_multiscreen )
|
| 148 | //-------------------------------------------------
|
| 149 | |
| 150 | static MACHINE_CONFIG_FRAGMENT( c64_multiscreen )
|
| 151 | MCFG_CPU_ADD(MC6802P_TAG, M6802, XTAL_4MHz)
|
| 152 | MCFG_CPU_PROGRAM_MAP(multiscreen_mem)
|
| 153 | |
| 154 | MCFG_PIA6821_ADD(MC6821P_0_TAG, pia0_intf)
|
| 155 | MCFG_PIA6821_ADD(MC6821P_1_TAG, pia1_intf)
|
| 156 | MACHINE_CONFIG_END
|
| 157 | |
| 158 | |
| 159 | //-------------------------------------------------
|
| 160 | // machine_config_additions - device-specific
|
| 161 | // machine configurations
|
| 162 | //-------------------------------------------------
|
| 163 | |
| 164 | machine_config_constructor c64_multiscreen_cartridge_device::device_mconfig_additions() const
|
| 165 | {
|
| 166 | return MACHINE_CONFIG_NAME( c64_multiscreen );
|
| 167 | }
|
| 168 | |
| 169 | |
| 170 | |
| 74 | 171 | //**************************************************************************
|
| 75 | 172 | // LIVE DEVICE
|
| 76 | 173 | //**************************************************************************
|
| r14942 | r14943 | |
| 121 | 218 | |
| 122 | 219 | if (bank == BANK_RAM)
|
| 123 | 220 | {
|
| 124 | | data = m_ram[offset & 0x1fff];
|
| 221 | data = m_nvram[offset & 0x1fff];
|
| 125 | 222 | }
|
| 126 | 223 | else
|
| 127 | 224 | {
|
| r14942 | r14943 | |
| 158 | 255 | |
| 159 | 256 | if (bank == BANK_RAM)
|
| 160 | 257 | {
|
| 161 | | m_ram[offset & 0x1fff] = data;
|
| 258 | m_nvram[offset & 0x1fff] = data;
|
| 162 | 259 | }
|
| 163 | 260 | }
|
| 164 | 261 | else if (!io2)
|
src/mess/machine/c64_ps64.c
| r0 | r14943 | |
| 1 | /********************************************************************** |
| 2 | |
| 3 | PS-64 speech cartridge emulation |
| 4 | |
| 5 | Copyright MESS Team. |
| 6 | Visit http://mamedev.org for licensing and usage restrictions. |
| 7 | |
| 8 | **********************************************************************/ |
| 9 | |
| 10 | /* |
| 11 | |
| 12 | PCB Layout |
| 13 | ---------- |
| 14 | |
| 15 | |===========================| |
| 16 | |=| | |
| 17 | |=| SW1| |
| 18 | |=| SC02 | |
| 19 | |=| | |
| 20 | |=| CN1| |
| 21 | |=| ROM LF347 | |
| 22 | |=| | |
| 23 | |=| | |
| 24 | |===========================| |
| 25 | |
| 26 | SC02 - Votrax SSI-263AP Speech Synthesizer |
| 27 | ROM - Hynix Semiconductor HY27C64D-20 8Kx8 EPROM |
| 28 | LF347 - National Instruments LF347N JFET Operational Amplifier |
| 29 | SW1 - Module on/off switch |
| 30 | CN1 - connector to C64 video/audio port |
| 31 | |
| 32 | */ |
| 33 | |
| 34 | /* |
| 35 | |
| 36 | TODO: |
| 37 | |
| 38 | - Votrax SC02 emulation |
| 39 | - route sound to SID audio input |
| 40 | - on/off switch |
| 41 | |
| 42 | */ |
| 43 | |
| 44 | #include "c64_ps64.h" |
| 45 | |
| 46 | |
| 47 | |
| 48 | //************************************************************************** |
| 49 | // MACROS/CONSTANTS |
| 50 | //************************************************************************** |
| 51 | |
| 52 | #define SSI263_TAG "ssi263" |
| 53 | |
| 54 | |
| 55 | |
| 56 | //************************************************************************** |
| 57 | // DEVICE DEFINITIONS |
| 58 | //************************************************************************** |
| 59 | |
| 60 | const device_type C64_PS64 = &device_creator<c64_ps64_cartridge_device>; |
| 61 | |
| 62 | |
| 63 | //------------------------------------------------- |
| 64 | // votrax_sc02_interface votrax_intf |
| 65 | //------------------------------------------------- |
| 66 | /* |
| 67 | static struct votrax_sc02_interface votrax_intf = |
| 68 | { |
| 69 | DEVCB_NULL |
| 70 | }; |
| 71 | */ |
| 72 | |
| 73 | //------------------------------------------------- |
| 74 | // MACHINE_CONFIG_FRAGMENT( c64_ps64 ) |
| 75 | //------------------------------------------------- |
| 76 | |
| 77 | static MACHINE_CONFIG_FRAGMENT( c64_ps64 ) |
| 78 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| 79 | //MCFG_VOTRAX_SC02_ADD(SSI263_TAG, 2000000, votrax_intf) |
| 80 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) |
| 81 | MACHINE_CONFIG_END |
| 82 | |
| 83 | |
| 84 | //------------------------------------------------- |
| 85 | // machine_config_additions - device-specific |
| 86 | // machine configurations |
| 87 | //------------------------------------------------- |
| 88 | |
| 89 | machine_config_constructor c64_ps64_cartridge_device::device_mconfig_additions() const |
| 90 | { |
| 91 | return MACHINE_CONFIG_NAME( c64_ps64 ); |
| 92 | } |
| 93 | |
| 94 | |
| 95 | |
| 96 | //************************************************************************** |
| 97 | // LIVE DEVICE |
| 98 | //************************************************************************** |
| 99 | |
| 100 | //------------------------------------------------- |
| 101 | // c64_ps64_cartridge_device - constructor |
| 102 | //------------------------------------------------- |
| 103 | |
| 104 | c64_ps64_cartridge_device::c64_ps64_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 105 | device_t(mconfig, C64_PS64, "C64 PS-64", tag, owner, clock), |
| 106 | device_c64_expansion_card_interface(mconfig, *this) |
| 107 | { |
| 108 | } |
| 109 | |
| 110 | |
| 111 | //------------------------------------------------- |
| 112 | // device_start - device-specific startup |
| 113 | //------------------------------------------------- |
| 114 | |
| 115 | void c64_ps64_cartridge_device::device_start() |
| 116 | { |
| 117 | } |
| 118 | |
| 119 | |
| 120 | //------------------------------------------------- |
| 121 | // device_reset - device-specific reset |
| 122 | //------------------------------------------------- |
| 123 | |
| 124 | void c64_ps64_cartridge_device::device_reset() |
| 125 | { |
| 126 | } |
| 127 | |
| 128 | |
| 129 | //------------------------------------------------- |
| 130 | // c64_cd_r - cartridge data read |
| 131 | //------------------------------------------------- |
| 132 | |
| 133 | UINT8 c64_ps64_cartridge_device::c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2) |
| 134 | { |
| 135 | UINT8 data = 0; |
| 136 | |
| 137 | if (!io1) |
| 138 | { |
| 139 | //sc02->read(offset & 0x07); |
| 140 | } |
| 141 | |
| 142 | return data; |
| 143 | } |
| 144 | |
| 145 | |
| 146 | //------------------------------------------------- |
| 147 | // c64_cd_w - cartridge data write |
| 148 | //------------------------------------------------- |
| 149 | |
| 150 | void c64_ps64_cartridge_device::c64_cd_w(address_space &space, offs_t offset, UINT8 data, int roml, int romh, int io1, int io2) |
| 151 | { |
| 152 | if (!io1) |
| 153 | { |
| 154 | // sc02->write(offset & 0x07, data); |
| 155 | } |
| 156 | } |
src/mess/machine/c64_ps64.h
| r0 | r14943 | |
| 1 | /********************************************************************** |
| 2 | |
| 3 | PS-64 speech cartridge emulation |
| 4 | |
| 5 | Copyright MESS Team. |
| 6 | Visit http://mamedev.org for licensing and usage restrictions. |
| 7 | |
| 8 | **********************************************************************/ |
| 9 | |
| 10 | #pragma once |
| 11 | |
| 12 | #ifndef __PS64__ |
| 13 | #define __PS64__ |
| 14 | |
| 15 | |
| 16 | #include "emu.h" |
| 17 | #include "machine/c64exp.h" |
| 18 | #include "sound/votrax.h" |
| 19 | |
| 20 | |
| 21 | |
| 22 | //************************************************************************** |
| 23 | // TYPE DEFINITIONS |
| 24 | //************************************************************************** |
| 25 | |
| 26 | // ======================> c64_ç_cartridge_device |
| 27 | |
| 28 | class c64_ps64_cartridge_device : public device_t, |
| 29 | public device_c64_expansion_card_interface |
| 30 | { |
| 31 | public: |
| 32 | // construction/destruction |
| 33 | c64_ps64_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 34 | |
| 35 | // optional information overrides |
| 36 | virtual machine_config_constructor device_mconfig_additions() const; |
| 37 | |
| 38 | protected: |
| 39 | // device-level overrides |
| 40 | virtual void device_config_complete() { m_shortname = "c64_ps64"; } |
| 41 | virtual void device_start(); |
| 42 | virtual void device_reset(); |
| 43 | |
| 44 | // device_c64_expansion_card_interface overrides |
| 45 | virtual UINT8 c64_cd_r(address_space &space, offs_t offset, int roml, int romh, int io1, int io2); |
| 46 | virtual void c64_cd_w(address_space &space, offs_t offset, UINT8 data, int roml, int romh, int io1, int io2); |
| 47 | }; |
| 48 | |
| 49 | |
| 50 | // device type definition |
| 51 | extern const device_type C64_PS64; |
| 52 | |
| 53 | |
| 54 | #endif |