hash/xegs.xml
| r8388 | r8389 | |
| 17 | 17 | --> |
| 18 | 18 | |
| 19 | 19 | <softwarelist name="xegs" description="Atari XE Game System cartridges"> |
| 20 | | <software name="aceaces" supported="no"> |
| 20 | <software name="aceaces"> |
| 21 | 21 | <description>Ace of Aces</description> |
| 22 | 22 | <!-- <cart number>RX8099</cart number> --> |
| 23 | 23 | <year>1988</year> |
| r8388 | r8389 | |
| 29 | 29 | </part> |
| 30 | 30 | </software> |
| 31 | 31 | |
| 32 | | <software name="airball" supported="no"> |
| 32 | <software name="airball"> |
| 33 | 33 | <description>Airball</description> |
| 34 | 34 | <!-- <cart number>RX8109</cart number> --> |
| 35 | 35 | <year>1988</year> |
| r8388 | r8389 | |
| 41 | 41 | </part> |
| 42 | 42 | </software> |
| 43 | 43 | |
| 44 | | <software name="archon" supported="no"> |
| 44 | <software name="archon"> |
| 45 | 45 | <description>Archon: The Light and the Dark</description> |
| 46 | 46 | <!-- <cart number>RX8092</cart number> --> |
| 47 | 47 | <year>1987</year> |
| r8388 | r8389 | |
| 65 | 65 | </part> |
| 66 | 66 | </software> |
| 67 | 67 | |
| 68 | | <software name="brnblstr" supported="no"> |
| 68 | <software name="brnblstr"> |
| 69 | 69 | <description>Barnyard Blaster</description> |
| 70 | 70 | <!-- <cart number>RX8086</cart number> --> |
| 71 | 71 | <year>1987</year> |
| r8388 | r8389 | |
| 77 | 77 | </part> |
| 78 | 78 | </software> |
| 79 | 79 | |
| 80 | | <software name="bzone" supported="no"> |
| 80 | <software name="bzone"> |
| 81 | 81 | <description>BattleZone</description> |
| 82 | 82 | <!-- <cart number>RX8077</cart number> --> |
| 83 | 83 | <year>1987</year> |
| r8388 | r8389 | |
| 89 | 89 | </part> |
| 90 | 90 | </software> |
| 91 | 91 | |
| 92 | | <software name="bluemax" supported="no"> |
| 92 | <software name="bluemax"> |
| 93 | 93 | <description>Blue Max</description> |
| 94 | 94 | <!-- <cart number>RX8081</cart number> --> |
| 95 | 95 | <year>1987</year> |
| r8388 | r8389 | |
| 101 | 101 | </part> |
| 102 | 102 | </software> |
| 103 | 103 | |
| 104 | | <software name="bughunt" supported="no"> |
| 104 | <software name="bughunt"> |
| 105 | 105 | <description>Bug Hunt</description> |
| 106 | 106 | <!-- <cart number>RX8087</cart number> --> |
| 107 | 107 | <year>1987</year> |
| r8388 | r8389 | |
| 113 | 113 | </part> |
| 114 | 114 | </software> |
| 115 | 115 | |
| 116 | | <software name="choplift" supported="no"> |
| 116 | <software name="choplift" supported="partial"> |
| 117 | 117 | <description>Choplifter!</description> |
| 118 | 118 | <!-- <cart number>RX8096</cart number> --> |
| 119 | 119 | <year>1987</year> |
| r8388 | r8389 | |
| 125 | 125 | </part> |
| 126 | 126 | </software> |
| 127 | 127 | |
| 128 | | <software name="commando" supported="no"> |
| 128 | <software name="commando"> |
| 129 | 129 | <description>Commando (Prototype)</description> |
| 130 | 130 | <!-- <cart number></cart number> --> |
| 131 | 131 | <year>1988</year> |
| r8388 | r8389 | |
| 137 | 137 | </part> |
| 138 | 138 | </software> |
| 139 | 139 | |
| 140 | | <software name="crimbstr" supported="no"> |
| 140 | <software name="crimbstr"> |
| 141 | 141 | <description>Crime Buster</description> |
| 142 | 142 | <!-- <cart number>RX8104</cart number> --> |
| 143 | 143 | <year>1988</year> |
| r8388 | r8389 | |
| 149 | 149 | </part> |
| 150 | 150 | </software> |
| 151 | 151 | |
| 152 | | <software name="crossbow" supported="no"> |
| 152 | <software name="crossbow" supported="partial"> |
| 153 | 153 | <description>Crossbow</description> |
| 154 | 154 | <!-- <cart number>RX8088</cart number> --> |
| 155 | 155 | <year>1988</year> |
| r8388 | r8389 | |
| 161 | 161 | </part> |
| 162 | 162 | </software> |
| 163 | 163 | |
| 164 | | <software name="crossbowa" cloneof="crossbow" supported="no"> |
| 164 | <software name="crossbowa" cloneof="crossbow" supported="partial"> |
| 165 | 165 | <description>Crossbow (Alt)</description> |
| 166 | 166 | <!-- <cart number>RX8088</cart number> --> |
| 167 | 167 | <year>1988</year> |
| r8388 | r8389 | |
| 173 | 173 | </part> |
| 174 | 174 | </software> |
| 175 | 175 | |
| 176 | | <software name="ccastles" supported="no"> |
| 176 | <software name="ccastles"> |
| 177 | 177 | <description>Crystal Castles</description> |
| 178 | 178 | <!-- <cart number>RX8102</cart number> --> |
| 179 | 179 | <year>1988</year> |
| r8388 | r8389 | |
| 185 | 185 | </part> |
| 186 | 186 | </software> |
| 187 | 187 | |
| 188 | | <software name="drkchmbr" supported="no"> |
| 188 | <software name="drkchmbr"> |
| 189 | 189 | <description>Dark Chambers</description> |
| 190 | 190 | <!-- <cart number>RX8101</cart number> --> |
| 191 | 191 | <year>1988</year> |
| r8388 | r8389 | |
| 197 | 197 | </part> |
| 198 | 198 | </software> |
| 199 | 199 | |
| 200 | | <software name="midntmgc" supported="no"> |
| 201 | | <description>David's Midnight Magic</description> |
| 200 | <software name="midntmgc"> |
| 201 | <description>David's Midnight Magic</description> |
| 202 | 202 | <!-- <cart number>RX8083</cart number> --> |
| 203 | 203 | <year>1987</year> |
| 204 | 204 | <publisher>Atari</publisher> |
| r8388 | r8389 | |
| 209 | 209 | </part> |
| 210 | 210 | </software> |
| 211 | 211 | |
| 212 | | <software name="deflktor" supported="no"> |
| 212 | <software name="deflktor"> |
| 213 | 213 | <description>Deflektor (Prototype)</description> |
| 214 | 214 | <!-- <cart number></cart number> --> |
| 215 | 215 | <year>1988</year> |
| r8388 | r8389 | |
| 221 | 221 | </part> |
| 222 | 222 | </software> |
| 223 | 223 | |
| 224 | | <software name="dsrtflcn" supported="no"> |
| 224 | <software name="dsrtflcn"> |
| 225 | 225 | <description>Desert Falcon</description> |
| 226 | 226 | <!-- <cart number>RX8089</cart number> --> |
| 227 | 227 | <year>1988</year> |
| r8388 | r8389 | |
| 233 | 233 | </part> |
| 234 | 234 | </software> |
| 235 | 235 | |
| 236 | | <software name="fightnit" supported="no"> |
| 236 | <software name="fightnit"> |
| 237 | 237 | <description>Fight Night</description> |
| 238 | 238 | <!-- <cart number>RX8085</cart number> --> |
| 239 | 239 | <year>1987</year> |
| r8388 | r8389 | |
| 245 | 245 | </part> |
| 246 | 246 | </software> |
| 247 | 247 | |
| 248 | | <software name="flgtsim2" supported="no"> |
| 248 | <software name="flgtsim2" supported="partial"> |
| 249 | 249 | <description>Flight Simulator 2</description> |
| 250 | 250 | <!-- <cart number>RX8091</cart number> --> |
| 251 | 251 | <year>1987</year> |
| r8388 | r8389 | |
| 257 | 257 | </part> |
| 258 | 258 | </software> |
| 259 | 259 | |
| 260 | | <software name="foodf" supported="no"> |
| 260 | <software name="foodf"> |
| 261 | 261 | <description>Food Fight</description> |
| 262 | 262 | <!-- <cart number>RX8079</cart number> --> |
| 263 | 263 | <year>1987</year> |
| r8388 | r8389 | |
| 269 | 269 | </part> |
| 270 | 270 | </software> |
| 271 | 271 | |
| 272 | | <software name="gato" supported="no"> |
| 272 | <software name="gato"> |
| 273 | 273 | <description>GATO Submarine Simulation</description> |
| 274 | 274 | <!-- <cart number>RX8090</cart number> --> |
| 275 | 275 | <year>1987</year> |
| r8388 | r8389 | |
| 281 | 281 | </part> |
| 282 | 282 | </software> |
| 283 | 283 | |
| 284 | | <software name="hardball" supported="no"> |
| 284 | <software name="hardball"> |
| 285 | 285 | <description>Hardball!</description> |
| 286 | 286 | <!-- <cart number>RX8084</cart number> --> |
| 287 | 287 | <year>1987</year> |
| r8388 | r8389 | |
| 293 | 293 | </part> |
| 294 | 294 | </software> |
| 295 | 295 | |
| 296 | | <software name="eaglnest" supported="no"> |
| 297 | | <description>Into the Eagle's Nest</description> |
| 296 | <software name="eaglnest"> |
| 297 | <description>Into the Eagle's Nest</description> |
| 298 | 298 | <!-- <cart number>RX8114</cart number> --> |
| 299 | 299 | <year>1988</year> |
| 300 | 300 | <publisher>Atari</publisher> |
| r8388 | r8389 | |
| 305 | 305 | </part> |
| 306 | 306 | </software> |
| 307 | 307 | |
| 308 | | <software name="karateka" supported="no"> |
| 308 | <software name="karateka"> |
| 309 | 309 | <description>Karateka</description> |
| 310 | 310 | <!-- <cart number>RX8095</cart number> --> |
| 311 | 311 | <year>1988</year> |
| r8388 | r8389 | |
| 317 | 317 | </part> |
| 318 | 318 | </software> |
| 319 | 319 | |
| 320 | | <software name="ldrun" supported="no"> |
| 320 | <software name="ldrun"> |
| 321 | 321 | <description>Lode Runner</description> |
| 322 | 322 | <!-- <cart number>RX8082</cart number> --> |
| 323 | 323 | <year>1987</year> |
| r8388 | r8389 | |
| 329 | 329 | </part> |
| 330 | 330 | </software> |
| 331 | 331 | |
| 332 | | <software name="mariobro" supported="no"> |
| 333 | | <description>Mario Brothers</description> |
| 332 | <software name="mariobro"> |
| 333 | <description>Mario Bros.</description> |
| 334 | 334 | <!-- <cart number>RX8103</cart number> --> |
| 335 | 335 | <year>1988</year> |
| 336 | 336 | <publisher>Atari</publisher> |
| r8388 | r8389 | |
| 341 | 341 | </part> |
| 342 | 342 | </software> |
| 343 | 343 | |
| 344 | | <software name="mean18" supported="no"> |
| 344 | <software name="mean18"> |
| 345 | 345 | <description>Mean 18 (Prototype)</description> |
| 346 | 346 | <!-- <cart number></cart number> --> |
| 347 | 347 | <year>1988</year> |
| r8388 | r8389 | |
| 353 | 353 | </part> |
| 354 | 354 | </software> |
| 355 | 355 | |
| 356 | | <software name="midimaze" supported="no"> |
| 356 | <software name="midimaze" supported="partial"> |
| 357 | 357 | <description>MIDI Maze (Prototype)</description> |
| 358 | 358 | <!-- <cart number></cart number> --> |
| 359 | 359 | <year>1988</year> |
| r8388 | r8389 | |
| 365 | 365 | </part> |
| 366 | 366 | </software> |
| 367 | 367 | |
| 368 | | <software name="necroman" supported="no"> |
| 368 | <software name="necroman"> |
| 369 | 369 | <description>Necromancer</description> |
| 370 | 370 | <!-- <cart number>RX8108</cart number> --> |
| 371 | 371 | <year>1988</year> |
| r8388 | r8389 | |
| 377 | 377 | </part> |
| 378 | 378 | </software> |
| 379 | 379 | |
| 380 | | <software name="1on1" supported="no"> |
| 380 | <software name="1on1"> |
| 381 | 381 | <description>One-on-One</description> |
| 382 | 382 | <!-- <cart number>RX8093</cart number> --> |
| 383 | 383 | <year>1987</year> |
| r8388 | r8389 | |
| 389 | 389 | </part> |
| 390 | 390 | </software> |
| 391 | 391 | |
| 392 | | <software name="fractlus" supported="no"> |
| 392 | <software name="fractlus"> |
| 393 | 393 | <description>Rescue on Fractalus!</description> |
| 394 | 394 | <!-- <cart number>RX8063</cart number> --> |
| 395 | 395 | <year>1987</year> |
| r8388 | r8389 | |
| 401 | 401 | </part> |
| 402 | 402 | </software> |
| 403 | 403 | |
| 404 | | <software name="raiders2" supported="no"> |
| 404 | <software name="raiders2"> |
| 405 | 405 | <description>Star Raiders II</description> |
| 406 | 406 | <!-- <cart number>RX8078</cart number> --> |
| 407 | 407 | <year>1987</year> |
| r8388 | r8389 | |
| 413 | 413 | </part> |
| 414 | 414 | </software> |
| 415 | 415 | |
| 416 | | <software name="sumrgams" supported="no"> |
| 416 | <software name="sumrgams"> |
| 417 | 417 | <description>Summer Games</description> |
| 418 | 418 | <!-- <cart number>RX8098</cart number> --> |
| 419 | 419 | <year>1987</year> |
| r8388 | r8389 | |
| 425 | 425 | </part> |
| 426 | 426 | </software> |
| 427 | 427 | |
| 428 | | <software name="thundfox" supported="no"> |
| 428 | <software name="thundfox"> |
| 429 | 429 | <description>Thunderfox</description> |
| 430 | 430 | <!-- <cart number>RX8113</cart number> --> |
| 431 | 431 | <year>1988</year> |
| r8388 | r8389 | |
| 437 | 437 | </part> |
| 438 | 438 | </software> |
| 439 | 439 | |
| 440 | | <software name="ttoppler" supported="no"> |
| 440 | <software name="ttoppler"> |
| 441 | 441 | <description>Tower Toppler (Prototype)</description> |
| 442 | 442 | <!-- <cart number></cart number> --> |
| 443 | 443 | <year>1988</year> |
src/mess/machine/ataricrt.c
| r8388 | r8389 | |
| 301 | 301 | /* zap the cartridge memory (again) */ |
| 302 | 302 | memset(&mem[0x4000], 0x00, 0x8000); |
| 303 | 303 | } |
| 304 | |
| 305 | /************************************* |
| 306 | * |
| 307 | * Atari XEGS |
| 308 | * |
| 309 | *************************************/ |
| 310 | |
| 311 | static UINT8 xegs_banks = 0; |
| 312 | static UINT8 xegs_cart = 0; |
| 313 | |
| 314 | static WRITE8_HANDLER( xegs_bankswitch ) |
| 315 | { |
| 316 | UINT8 *cart = memory_region(space->machine, "user1"); |
| 317 | data &= xegs_banks - 1; |
| 318 | memory_set_bankptr(space->machine, "bank0", cart + data * 0x2000); |
| 319 | } |
| 320 | |
| 321 | MACHINE_START( xegs ) |
| 322 | { |
| 323 | const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 324 | UINT8 *cart = memory_region(space->machine, "user1"); |
| 325 | UINT8 *cpu = memory_region(space->machine, "maincpu"); |
| 326 | |
| 327 | atari_machine_start(machine); |
| 328 | memory_install_write8_handler(space, 0xd500, 0xd5ff, 0, 0, xegs_bankswitch); |
| 329 | |
| 330 | if (xegs_cart) |
| 331 | { |
| 332 | memory_set_bankptr(machine, "bank0", cart); |
| 333 | memory_set_bankptr(machine, "bank1", cart + (xegs_banks - 1) * 0x2000); |
| 334 | } |
| 335 | else |
| 336 | { |
| 337 | // point to built-in Missile Command (this does not work well, though... FIXME!!) |
| 338 | memory_set_bankptr(machine, "bank0", cpu + 0x10000); |
| 339 | memory_set_bankptr(machine, "bank1", cpu + 0x10000); |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | DEVICE_IMAGE_LOAD( xegs_cart ) |
| 344 | { |
| 345 | UINT32 size; |
| 346 | UINT8 *ptr = memory_region(image.device().machine, "user1"); |
| 347 | |
| 348 | if (image.software_entry() == NULL) |
| 349 | { |
| 350 | // skip the header |
| 351 | image.fseek(0x10, SEEK_SET); |
| 352 | size = image.length() - 0x10; |
| 353 | if (image.fread(ptr, size) != size) |
| 354 | return IMAGE_INIT_FAIL; |
| 355 | } |
| 356 | else |
| 357 | { |
| 358 | size = image.get_software_region_length("rom"); |
| 359 | memcpy(ptr, image.get_software_region("rom"), size); |
| 360 | } |
| 361 | |
| 362 | xegs_banks = size / 0x2000; |
| 363 | xegs_cart = 1; |
| 364 | |
| 365 | return IMAGE_INIT_PASS; |
| 366 | } |
| 367 | |
| 368 | |
src/mess/drivers/atari.c
| r8388 | r8389 | |
| 295 | 295 | AM_RANGE(0xd800, 0xffff) AM_RAMBANK("bank4") |
| 296 | 296 | ADDRESS_MAP_END |
| 297 | 297 | |
| 298 | static ADDRESS_MAP_START(xegs_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 299 | AM_RANGE(0x0000, 0x4fff) AM_RAM |
| 300 | AM_RANGE(0x5000, 0x57ff) AM_RAMBANK("bank2") |
| 301 | AM_RANGE(0x5800, 0x7fff) AM_RAM |
| 302 | AM_RANGE(0x8000, 0x9fff) AM_ROMBANK("bank0") |
| 303 | AM_RANGE(0xa000, 0xbfff) AM_ROMBANK("bank1") |
| 304 | AM_RANGE(0xc000, 0xcfff) AM_RAMBANK("bank3") |
| 305 | AM_RANGE(0xd000, 0xd0ff) AM_READWRITE(atari_gtia_r, atari_gtia_w) |
| 306 | AM_RANGE(0xd100, 0xd1ff) AM_NOP |
| 307 | AM_RANGE(0xd200, 0xd2ff) AM_DEVREADWRITE("pokey", pokey_r, pokey_w) |
| 308 | AM_RANGE(0xd300, 0xd3ff) AM_DEVREADWRITE("pia", pia6821_alt_r, pia6821_alt_w) |
| 309 | AM_RANGE(0xd400, 0xd4ff) AM_READWRITE(atari_antic_r, atari_antic_w) |
| 310 | AM_RANGE(0xd500, 0xd7ff) AM_NOP |
| 311 | AM_RANGE(0xd800, 0xffff) AM_RAMBANK("bank4") |
| 312 | ADDRESS_MAP_END |
| 298 | 313 | |
| 314 | |
| 299 | 315 | static ADDRESS_MAP_START(a5200_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 300 | 316 | AM_RANGE(0x0000, 0x3fff) AM_RAM |
| 301 | 317 | AM_RANGE(0x4000, 0xbfff) AM_ROM |
| r8388 | r8389 | |
| 830 | 846 | memory_set_bankptr(machine, "bank2", base2); |
| 831 | 847 | } |
| 832 | 848 | |
| 849 | static void xegs_mmu(running_machine *machine, UINT8 new_mmu) |
| 850 | { |
| 851 | UINT8 *base2, *base3, *base4; |
| 852 | |
| 853 | /* check if memory C000-FFFF changed */ |
| 854 | if( new_mmu & 0x01 ) |
| 855 | { |
| 856 | logerror("%s MMU BIOS ROM\n", machine->gamedrv->name); |
| 857 | base3 = memory_region(machine, "maincpu") + 0x14000; /* 8K lo BIOS */ |
| 858 | base4 = memory_region(machine, "maincpu") + 0x15800; /* 4K FP ROM + 8K hi BIOS */ |
| 859 | memory_install_read_bank(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xc000, 0xcfff, 0, 0, "bank3"); |
| 860 | memory_unmap_write(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xc000, 0xcfff, 0, 0); |
| 861 | memory_install_read_bank(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xd800, 0xffff, 0, 0, "bank4"); |
| 862 | memory_unmap_write(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xd800, 0xffff, 0, 0); |
| 863 | } |
| 864 | else |
| 865 | { |
| 866 | logerror("%s MMU BIOS RAM\n", machine->gamedrv->name); |
| 867 | base3 = memory_region(machine, "maincpu") + 0x0c000; /* 8K RAM */ |
| 868 | base4 = memory_region(machine, "maincpu") + 0x0d800; /* 4K RAM + 8K RAM */ |
| 869 | memory_install_readwrite_bank(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xc000, 0xcfff, 0, 0, "bank3"); |
| 870 | memory_install_readwrite_bank(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xd800, 0xffff, 0, 0, "bank4"); |
| 871 | } |
| 872 | memory_set_bankptr(machine, "bank3", base3); |
| 873 | memory_set_bankptr(machine, "bank4", base4); |
| 874 | |
| 875 | |
| 876 | /* check if self-test ROM changed */ |
| 877 | if( new_mmu & 0x80 ) |
| 878 | { |
| 879 | logerror("%s MMU SELFTEST RAM\n", machine->gamedrv->name); |
| 880 | memory_install_readwrite_bank(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x5000, 0x57ff, 0, 0, "bank2"); |
| 881 | base2 = memory_region(machine, "maincpu") + 0x05000; /* 0x0800 bytes */ |
| 882 | } |
| 883 | else |
| 884 | { |
| 885 | logerror("%s MMU SELFTEST ROM\n", machine->gamedrv->name); |
| 886 | memory_install_read_bank(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x5000, 0x57ff, 0, 0, "bank2"); |
| 887 | memory_nop_write(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x5000, 0x57ff, 0, 0); |
| 888 | base2 = memory_region(machine, "maincpu") + 0x15000; /* 0x0800 bytes */ |
| 889 | } |
| 890 | memory_set_bankptr(machine, "bank2", base2); |
| 891 | } |
| 892 | |
| 833 | 893 | /************************************************************** |
| 834 | 894 | * |
| 835 | 895 | * PIA interface |
| r8388 | r8389 | |
| 843 | 903 | a800xl_mmu(device->machine, data); |
| 844 | 904 | } |
| 845 | 905 | |
| 906 | static WRITE8_DEVICE_HANDLER(xegs_pia_pb_w) |
| 907 | { |
| 908 | if ( pia6821_get_port_b_z_mask(device) != 0xff ) |
| 909 | xegs_mmu(device->machine, data); |
| 910 | } |
| 911 | |
| 846 | 912 | static const pokey_interface atari_pokey_interface = |
| 847 | 913 | { |
| 848 | 914 | { |
| r8388 | r8389 | |
| 926 | 992 | DEVCB_NULL /* IRQB */ |
| 927 | 993 | }; |
| 928 | 994 | |
| 995 | static const pia6821_interface xegs_pia_interface = |
| 996 | { |
| 997 | DEVCB_HANDLER(atari_pia_pa_r), /* port A in */ |
| 998 | DEVCB_HANDLER(atari_pia_pb_r), /* port B in */ |
| 999 | DEVCB_NULL, /* line CA1 in */ |
| 1000 | DEVCB_NULL, /* line CB1 in */ |
| 1001 | DEVCB_NULL, /* line CA2 in */ |
| 1002 | DEVCB_NULL, /* line CB2 in */ |
| 1003 | DEVCB_NULL, /* port A out */ |
| 1004 | DEVCB_HANDLER(xegs_pia_pb_w), /* port B out */ |
| 1005 | DEVCB_NULL, /* line CA2 out */ |
| 1006 | DEVCB_DEVICE_LINE("fdc",atarifdc_pia_cb2_w), /* port CB2 out */ |
| 1007 | DEVCB_NULL, /* IRQA */ |
| 1008 | DEVCB_NULL /* IRQB */ |
| 1009 | }; |
| 929 | 1010 | |
| 1011 | |
| 930 | 1012 | /************************************************************** |
| 931 | 1013 | * |
| 932 | 1014 | * Machine drivers |
| r8388 | r8389 | |
| 1122 | 1204 | MDRV_PIA6821_MODIFY( "pia", a1200xl_pia_interface ) |
| 1123 | 1205 | MACHINE_DRIVER_END |
| 1124 | 1206 | |
| 1207 | static MACHINE_DRIVER_START( xegs ) |
| 1208 | MDRV_IMPORT_FROM( a800xl ) |
| 1125 | 1209 | |
| 1210 | MDRV_CPU_MODIFY( "maincpu" ) |
| 1211 | MDRV_CPU_PROGRAM_MAP(xegs_mem) |
| 1212 | |
| 1213 | MDRV_MACHINE_START( xegs ) |
| 1214 | |
| 1215 | MDRV_PIA6821_MODIFY( "pia", xegs_pia_interface ) |
| 1216 | |
| 1217 | MDRV_DEVICE_REMOVE("cart1") |
| 1218 | |
| 1219 | MDRV_CARTSLOT_ADD("cart1") |
| 1220 | MDRV_CARTSLOT_EXTENSION_LIST("rom,bin") |
| 1221 | MDRV_CARTSLOT_NOT_MANDATORY |
| 1222 | MDRV_CARTSLOT_INTERFACE("xegs_cart") |
| 1223 | MDRV_CARTSLOT_LOAD(xegs_cart) |
| 1224 | |
| 1225 | /* software lists */ |
| 1226 | MDRV_SOFTWARE_LIST_ADD("xegs") |
| 1227 | |
| 1228 | MACHINE_DRIVER_END |
| 1229 | |
| 1230 | |
| 1126 | 1231 | static MACHINE_DRIVER_START( a5200 ) |
| 1127 | 1232 | MDRV_IMPORT_FROM( atari_common_nodac ) |
| 1128 | 1233 | |
| r8388 | r8389 | |
| 1243 | 1348 | ROM_START(xegs) |
| 1244 | 1349 | ROM_REGION(0x1a000, "maincpu", 0) |
| 1245 | 1350 | ROM_LOAD( "c101687.rom", 0x10000, 0x8000, CRC(d50260d1) SHA1(0e0625ab2473f8431640df3ac8af61925760b9b9) ) // Rev. C + Rev. 4 + Missile Command |
| 1351 | |
| 1352 | ROM_REGION(0x20000, "user1", ROMREGION_ERASE00) |
| 1246 | 1353 | ROM_END |
| 1247 | 1354 | |
| 1248 | 1355 | |
| r8388 | r8389 | |
| 1265 | 1372 | a800xl_mmu(machine, 0xff); |
| 1266 | 1373 | } |
| 1267 | 1374 | |
| 1375 | static DRIVER_INIT( xegs ) |
| 1376 | { |
| 1377 | if (1) |
| 1378 | xegs_mmu(machine, 0xff); |
| 1379 | else |
| 1380 | a800xl_mmu(machine, 0xff); |
| 1381 | } |
| 1382 | |
| 1268 | 1383 | static DRIVER_INIT( a600xl ) |
| 1269 | 1384 | { |
| 1270 | 1385 | UINT8 *rom = memory_region(machine, "maincpu"); |
| r8388 | r8389 | |
| 1290 | 1405 | COMP ( 1986, a65xea, a800xl, 0, a800xl, a800xl, a800xl, "Atari", "Atari 65XE (Arabic)", GAME_NOT_WORKING ) |
| 1291 | 1406 | COMP ( 1986, a130xe, a800xl, 0, a800xl, a800xl, a800xl, "Atari", "Atari 130XE", GAME_NOT_WORKING ) // 128k RAM |
| 1292 | 1407 | COMP ( 1986, a800xe, a800xl, 0, a800xl, a800xl, a800xl, "Atari", "Atari 800XE", GAME_NOT_WORKING ) // 64k RAM |
| 1293 | | COMP ( 1987, xegs, 0, 0, a800xl, a800xl, a800xl, "Atari", "Atari XE Game System", GAME_NOT_WORKING ) // 64k RAM |
| 1408 | COMP ( 1987, xegs, 0, 0, xegs, a800xl, xegs, "Atari", "Atari XE Game System", GAME_NOT_WORKING ) // 64k RAM |
| 1294 | 1409 | |
| 1295 | 1410 | CONS ( 1982, a5200, 0, 0, a5200, a5200, 0, "Atari", "Atari 5200", 0) |