|
|
|||||||||||
AW: Novag Delta-1 code
I think I have found one major oversight by the hackers of Delta-1.
Boris rev1 is accessing a table for evaluation at the end of the ROM, just before the RAM is starting. (DCO gets added a negative value). With Delta-1, it's not accessing the table (which is missing in RAM and not located at the End of ROM), but the uninitialized junk RAM. So I just copied the table to the RAM, also made one other change where the programmers thought it would be a computed goto, and voilà: My hacked Delta-1 ROM is now (almost) playing like Boris rev.1, around half the speed because of the more frequent interrupt calls, but makes none of those stupid moves anymore. Here my changes to Delta-1 ROM: (Adresses in ROM start not at 5000 but 0000) Code:
5000 JMP $5EC0 29 5E C0 ; was 29 59 00 506F AI $FD 24 FD ; was 24 FE 5EC0 DCI $EBC0 2A EB C0 ; New copy table routine 5EC3 XDC 2C 5EC4 DCI $5880 2A 58 80 5EC7 LI $40 20 40 5EC9 LR 0,A 50 5ECA LM 16 ; Loop 5ECB XDC 2C 5ECC ST 17 5ECD XDC 2C 5ECE DS 0 30 5ECF BNZ $5ECA 94 FA 5ED1 JMP $5900 29 59 00 Maybe I will modify my own Delta-1 with an updated eprom. Pirated and double-hacked Regards, bataais |
|
|||||||||||
AW: Novag Delta-1 code
Congrats for the zap!
![]() So, the relevant evaluation data is present in the Delta-1 ROM (80 bytes starting from offset 880, if I read you correctly), and actually not used? ![]() They really screwed up... ![]() Next step: patch the evaluation data itself, to setup personnalities... A credible alternative to The King program! ![]() Kind regards, Eric |
Folgender Benutzer sagt Danke zu Tibono für den nützlichen Beitrag: | ||
mclane (27.04.2022) |
|
|||||||||||
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. |
Folgender Benutzer sagt Danke zu bataais für den nützlichen Beitrag: | ||
Mike (07.05.2020) |
|
|||||||||||
Re: Novag Delta-1 code
Nothing strange there:
Delta-1 2332 ROM _CE1 = A13 CE 2 = RD |
|
|||||||||||
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 romsYou 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 |
|
|||||||||||
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 |
|
|||||||||||
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 ![]() 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 ![]() Geändert von bataais (08.05.2020 um 10:33 Uhr) Grund: Beta-Version |
|
|||||||||||
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(); |
|
|||||||||||
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? |
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
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 |