Machines promoted to working

--------
Chess Champion: Delta-1 [hap]
This commit is contained in:
hap 2019-03-17 15:18:04 +01:00
parent 43c6cad7dd
commit e125b756e7
3 changed files with 15 additions and 9 deletions

View File

@ -151,7 +151,7 @@ void vcc_state::machine_start()
{
fidelbase_state::machine_start();
// game relies on RAM initialized filled with 1
// game relies on RAM filled with FF at power-on
for (int i = 0; i < 0x400; i++)
m_maincpu->space(AS_PROGRAM).write_byte(i + 0x4000, 0xff);
}

View File

@ -40,7 +40,7 @@ Calculator:
Shooting Gallery:
[RET] [Cyc] [Zig] [Rnd] [ ] [ ] [ ] [ ] [ ] [ ] * Cyclic, Zigzag, Random
[ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
[ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] * + any of 20 buttons for shooting target
Black Jack:
[RET] [Dl ] [ ] [ ] [ ] [ ] [ ] [ ] [Hit] [Stn] * Deal, Hit, Stand

View File

@ -11,12 +11,6 @@ Novag Delta-1, the chess engine seems similar to Boris (see aci_boris.cpp)
- 4KB ROM(2332A), 256 bytes RAM(2*2111A-4)
- 4-digit 7seg panel, no sound, no chessboard
TODO:
- After the computer is done calculating its move, sometimes it will blank the
display, making game progress impossible. CPU bug, or unexpected interrupt?
An easy way to repro this is by repeatedly pressing enter without inputting
a move: it's a feature to make it play against itself.
******************************************************************************/
#include "emu.h"
@ -41,6 +35,9 @@ public:
// machine drivers
void delta1(machine_config &config);
protected:
virtual void machine_start() override;
private:
// address maps
void main_map(address_map &map);
@ -52,6 +49,15 @@ private:
DECLARE_READ8_MEMBER(input_r);
};
void delta1_state::machine_start()
{
novagbase_state::machine_start();
// game relies on RAM filled with FF at power-on
for (int i = 0; i < 0x100; i++)
m_maincpu->space(AS_PROGRAM).write_byte(i + 0x2000, 0xff);
}
/******************************************************************************
Devices, I/O
@ -188,4 +194,4 @@ ROM_END
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
CONS( 1979, ccdelta1, 0, 0, delta1, delta1, delta1_state, empty_init, "Novag", "Chess Champion: Delta-1", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW | MACHINE_NOT_WORKING )
CONS( 1979, ccdelta1, 0, 0, delta1, delta1, delta1_state, empty_init, "Novag", "Chess Champion: Delta-1", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW )