Schachcomputer.info Community

Zurück   Schachcomputer.info Community > Schachcomputer / Chess Computer: > Die ganze Welt der Schachcomputer / World of chess computers


Antwort
 
Themen-Optionen Ansicht

  #11  
Alt 07.05.2020, 18:27
bataais bataais ist offline
SPARC
 
Registriert seit: 01.10.2013
Beiträge: 238
Abgegebene Danke: 129
Erhielt 309 Danke für 132 Beiträge
Aktivitäten Langlebigkeit
0/20 11/20
Heute Beiträge
0/3 ssssss238
AW: Novag Delta-1 code

I actually burned an eprom and tried it in my real Delta-1, but didn't succeed.
Found out the both CHIP ENABLE's are somewhat different than standard mask-roms. ROM dump was the same as ma_winke_y1d.

And I believe the real Delta-1 does indeed access the table, because it's doing something with these chip enables. So the error should be in the MAME emulation, and I did only correct it for MAME.

When I let Delta-1 (original) start as white, it shows the same moves as Boris rev1, but on the emulation it's plays very differently.
Mit Zitat antworten
Folgender Benutzer sagt Danke zu bataais für den nützlichen Beitrag:
Mike (07.05.2020)
  #12  
Alt 07.05.2020, 18:52
hap hap ist offline
TASC R40
 
Registriert seit: 27.07.2019
Beiträge: 508
Abgegebene Danke: 184
Erhielt 1.647 Danke für 325 Beiträge
Aktivitäten Langlebigkeit
1/20 5/20
Heute Beiträge
0/3 ssssss508
Re: Novag Delta-1 code

Nothing strange there:

Delta-1 2332 ROM
_CE1 = A13
CE 2 = RD
Mit Zitat antworten
Folgende 2 Benutzer sagen Danke zu hap für den nützlichen Beitrag:
bataais (08.05.2020), Mike (07.05.2020)
  #13  
Alt 07.05.2020, 19:10
Tibono Tibono ist gerade online
Mephisto Wundermaschine
 
Registriert seit: 22.05.2018
Ort: Frankreich
Alter: 62
Land:
Beiträge: 467
Abgegebene Danke: 2.203
Erhielt 1.135 Danke für 371 Beiträge
Aktivitäten Langlebigkeit
8/20 6/20
Heute Beiträge
1/3 ssssss467
AW: Novag Delta-1 code

Hi,
I let Arena play two games (15s/move) between both versions.

As black, Bataais' hacked version cleaned up material, reaching an overwhelming king + 2 rooks, 1 bishop, 2 knights and 4 pawn against genuine Delta-1's isolated king - but the game ended in a draw (3-fold rep).
As white, the hacked version won by checkmate with a large material advantage (king + 1 queen, 1 rook, 1 bishop, 1 knight, 4 pawns against king + 1 rook, 1 bishop, 1 pawn).

How to play both: surely many ways, this one is quite simple
- in MessChess, I created a hacked_roms new directory containing Bataais' ROM
- in Arena, I duplicated my Delta-1 engine and updated each with command line parameters:
ccdelta1 -rompath roms
ccdelta1 -rompath hacked_roms
You need to specify both, as without -rompath parameter the default is used from ccdelta1.ini file, where the latest used configuration is memorized. So better force it, or you will end using the hacked one anyway.

Of course, on hacked engine start, you need to manually skip the warning about the unexpected ROM.

Have fun,
Eric
Mit Zitat antworten
Folgende 3 Benutzer sagen Danke zu Tibono für den nützlichen Beitrag:
bataais (08.05.2020), kamoj (01.05.2022), Mike (07.05.2020)
  #14  
Alt 07.05.2020, 22:38
Mike Mike ist offline
Sargon
 
Registriert seit: 11.06.2005
Beiträge: 32
Abgegebene Danke: 16
Erhielt 58 Danke für 9 Beiträge
Aktivitäten Langlebigkeit
0/20 19/20
Heute Beiträge
0/3 sssssss32
Re: Novag Delta-1 code

Congratulations on the work unravelling the Delta-1 puzzle.

It seems like a further chess programming scandal has been revealed this time 40 years after the event. When Data Cash Systems lost their court case and appeal it looks like Novag/SciSys took another liberty and pirated a second chess program for use in one of their models. This time Boris for the Delta-1.


I have updated my webpage on the Delta-1.

http://www.chesscomputeruk.com/html/...n_delta-1.html


Pirate regards
Mike
Mit Zitat antworten
Folgende 4 Benutzer sagen Danke zu Mike für den nützlichen Beitrag:
bataais (08.05.2020), Boris (07.05.2020), kamoj (01.05.2022), Tibono (07.05.2020)
  #15  
Alt 08.05.2020, 09:57
bataais bataais ist offline
SPARC
 
Registriert seit: 01.10.2013
Beiträge: 238
Abgegebene Danke: 129
Erhielt 309 Danke für 132 Beiträge
Aktivitäten Langlebigkeit
0/20 11/20
Heute Beiträge
0/3 ssssss238
AW: Novag Delta-1 code

Thanks, Mike!

I finally managed to get the eprom working in my Delta-1!

Only had to invert the CE2 signal. Luckily there was a NOR 4001 already present which inverted it for the RAM 2111 chips. (Chip Selects are always confusing when replacing mask-roms with eproms..)

Sorry if I rushed into wrong conclusions about MAME, really nothing wrong there, except I was bewildered by the different moves compared to the real Delta-1. (I haven't played much on the original, since I got it only yesterday ) I believe the uninitialized (randomized) RAM in MAME lets it play other moves.

Some pictures for those who want to replicate my hack. Be careful with the screws, I broke the plastic holders.

Now I will play some games..

EDIT: After playing some games, there's still something wrong, pieces get lost or appear in RAM.. Ich muss nochmals über die Bücher
Miniaturansicht angehängter Grafiken
Klicke auf die Grafik für eine größere Ansicht

Name:	Delta1-hack2.jpg
Hits:	80
Größe:	169,7 KB
ID:	4373   Klicke auf die Grafik für eine größere Ansicht

Name:	Delta1-hack1.jpg
Hits:	78
Größe:	191,0 KB
ID:	4374  

Geändert von bataais (08.05.2020 um 10:33 Uhr) Grund: Beta-Version
Mit Zitat antworten
Folgende 4 Benutzer sagen Danke zu bataais für den nützlichen Beitrag:
Boris (08.05.2020), kamoj (01.05.2022), Mychess (05.12.2021), Tibono (08.05.2020)
  #16  
Alt 08.05.2020, 11:15
hap hap ist offline
TASC R40
 
Registriert seit: 27.07.2019
Beiträge: 508
Abgegebene Danke: 184
Erhielt 1.647 Danke für 325 Beiträge
Aktivitäten Langlebigkeit
1/20 5/20
Heute Beiträge
0/3 ssssss508
Re: Novag Delta-1 code

Right, MAME fills the RAM with rand() which will be different to a real Delta-1. I don't think an SRAM chip will be 100% random at power-on, it will have a pattern. Maybe some of the bits are truly 'random' (with parameters: temperature, magnetic field, slight voltage differences, ...)

This addressing thing won't work on the real chesscomputer, it will put the ROM table before RAM:

remove:
map(0x2000, 0x20ff).mirror(0x1f00).ram(); // A13

add:
map(0x2bc0, 0x2bff).rom().region("maincpu", 0x0880);
map(0x2c00, 0x2cff).ram();
Mit Zitat antworten
  #17  
Alt 08.05.2020, 15:52
bataais bataais ist offline
SPARC
 
Registriert seit: 01.10.2013
Beiträge: 238
Abgegebene Danke: 129
Erhielt 309 Danke für 132 Beiträge
Aktivitäten Langlebigkeit
0/20 11/20
Heute Beiträge
0/3 ssssss238
AW: Novag Delta-1 code

hap, I thought this adressing scheme should work on the real machine.

RAM gets adressed from EC00 to ECFF (in fact only bit 13 toggles RAM or ROM access, and RAM uses only 8 bits).

So if I place the 64-bytes table in RAM at 20C0 or EBC0 or ECC0 should result in the same thing.

Now if the DCO (Data counter) accesses the RAM at EC00, then decrements to EBFF, that should still access RAM at 2xFF or EBFF..

(The table HAS to be before RAM start, on the wrap-around.)

Am I wrong somewhere?
Mit Zitat antworten
  #18  
Alt 08.05.2020, 17:38
hap hap ist offline
TASC R40
 
Registriert seit: 27.07.2019
Beiträge: 508
Abgegebene Danke: 184
Erhielt 1.647 Danke für 325 Beiträge
Aktivitäten Langlebigkeit
1/20 5/20
Heute Beiträge
0/3 ssssss508
Re: Novag Delta-1 code

What the code above does, it places a part of the ROM at ebc0-ebff, so the reads from uninitialized RAM are now from the table at 0x5880.
Mit Zitat antworten
  #19  
Alt 08.05.2020, 22:05
hap hap ist offline
TASC R40
 
Registriert seit: 27.07.2019
Beiträge: 508
Abgegebene Danke: 184
Erhielt 1.647 Danke für 325 Beiträge
Aktivitäten Langlebigkeit
1/20 5/20
Heute Beiträge
0/3 ssssss508
Re: Novag Delta-1 code

Did you get good at F8 asm?

You know, it is possible to make a testrom for finding out the initial SRAM contents to see if there is a specific pattern that can be imitated on MAME. Delta-1 has 4 digits. You could read from RAM and show it on the display(2 digits for address, 2 for data) with half a second delay after each read, do this in a loop 256 times.
Mit Zitat antworten
  #20  
Alt 09.05.2020, 09:33
bataais bataais ist offline
SPARC
 
Registriert seit: 01.10.2013
Beiträge: 238
Abgegebene Danke: 129
Erhielt 309 Danke für 132 Beiträge
Aktivitäten Langlebigkeit
0/20 11/20
Heute Beiträge
0/3 ssssss238
AW: Novag Delta-1 code

Funny idea!

I didn't do much F8-assembly besides the copy table routine, but learned some when on-the-fly disassembling Boris / Delta-1.

I worked more on the soldering side. Tried all possible Chip Select combinations for the EPROM, but the strange RAM behavior still happens.

These are the two most logical connections, they work for a while, but then pieces get lost or appear in RAM (Version 2), the display begins to flicker and gets garbled (Version 1). I also tried tying one of the CE's to GND.
I believe my EPROM's aren't either fast enough or that /OE (Vpp) pin isn't TTL compatible.

Code:
Original Mask-ROM Version
(A-11 of 2332 Mask-ROM is pin 18!)

F8-3853			

A13	------------>	/CE1 of 2332 Mask ROM (pin 20)
(pin 30) |
	 |  |\
	 ---| |o---->   /CE1 of 2111 RAM (pin 15)
	    |/


CPU
READ	------------>	CE2 of 2332 Mask ROM (pin 21)
(pin 34) |
	 |  |\
	 ---| |o---->   Out Disable of 2111 RAM (pin 9)
	    |/




Eprom-Version 1
(A-11 of 2732 Eprom is pin 21!)


F8-3853			

A13	------------>	/E of 2732 Eprom (pin 18)
(pin 30) |
	 |  |\
	 |--| |o---->   /CE1 of 2111 RAM (pin 15)
	    |/


		  |->   /OE (Vpp) of 2732 Eprom (pin 20)
		  |
CPU	    |\    |
READ	 ---| |o---->   Out Disable of 2111 RAM (pin 9)
(pin 34)    |/



Eprom-Version 2

F8-3853			

A13	------------>	/OE (Vpp) of 2732 Eprom (pin 20)
(pin 30) |
	 |  |\
	 |--| |o---->   /CE1 of 2111 RAM (pin 15)
	    |/


		  |->   /E of 2732 Eprom (pin 18)
		  |
CPU	    |\    |
READ	----| |o---->   Out Disable of 2111 RAM (pin 9)
(pin 34)    |/
Mit Zitat antworten
Folgende 3 Benutzer sagen Danke zu bataais für den nützlichen Beitrag:
Boris (09.05.2020), kamoj (01.05.2022), Mychess (05.12.2021)
Antwort

Themen-Optionen
Ansicht

Forumregeln
Du bist nicht berechtigt, neue Themen zu erstellen.
Du bist nicht berechtigt, auf Beiträge zu antworten.
Du bist nicht berechtigt, Anhänge hochzuladen.
Du bist nicht berechtigt, deine Beiträge zu bearbeiten.

BB code ist An
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist An.

Gehe zu

Ähnliche Themen
Thema Erstellt von Forum Antworten Letzter Beitrag
Idee: Novag Micro II - der meistgeklonte Novag - eine Spekulation bataais Die ganze Welt der Schachcomputer / World of chess computers 27 25.11.2020 17:54
Frage: Ersatz für Novag Netzteil 8,5 Volt AC , 0,8 A beim Novag Super Sensor IV BlackPawn Technische Fragen und Probleme / Tuning 4 19.08.2010 22:42
Test: Delta und Diplomat Mark 1 Teststellungen und Elo Listen / Test positions and Elo lists 7 09.10.2006 09:11


Alle Zeitangaben in WEZ +2. Es ist jetzt 17:47 Uhr.



Powered by vBulletin (Deutsch)
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©Schachcomputer.info