![]() |
A patch for AT mode of the Novag Sapphire
Hello,
I propose this patch for the Novag Sapphire. I've obtained a behavior that seems correct (even if it's difficult to determine), but I'm waiting for test results from those interested in this mode. Code:
mychess. |
AW: A patch for AT mode of the Novag Sapphire
Zitieren:
I'll try it when I have time - at the moment I'm still busy with improving the Blitz plugin. ;) Regards, Franz |
AW: A patch for AT mode of the Novag Sapphire
Hi Mychess,
I've now tested your patch (with level AT 4) and after a few games it seems to work - it's not falling back to blitz mode anymore. :) But of course it would take a lot of further testing to determine whether the Sapphire actually sticks to the set times, especially without knowing what exactly your additional code is doing. Since I don't speak this H8 language and therefore can't analyze this code, it would be nice if you could give a short explanation of what exactly you did. Weiter auf Deutsch: Falls jemand diesen Sapphire-Patch von Mychess für die fehlerhaften AT-Stufen testen möchte - ich hab eine spezielle MessNew-Version dafür gemacht, wo man im Tab-Menü unter 'BIOS Selection' zwischen den ROM-Versionen 'original' und 'modified' (von Mychess) wählen kann. Um das zu vereinfachen, findet ihr im Anhang eine 'Sapphire_Testversion', die man nur ins MessNew-Verzeichnis entpacken braucht. Da ist bereits alles auf diese 'modified'-Version voreingestellt (z.B. auch fix_AT_level_bug = false im Plugin gesetzt), sodaß beim Aufruf des Sapphire mit MessChess (bzw. WinBoard oder Arena) man automatisch mit der von Mychess gepatchten Version spielt und damit testen kann, ob die AT-Stufen nun wirklich funktionieren - nur den zum Testen gewünschten AT-Level muß man natürlich einstellen. Auf den ersten Blick sieht es jedenfalls gut aus. :) Edit: Link entfernt, da dieser modifizierte Sapphire in der aktuellen CB-Emu-Version bereits enthalten ist - allerdings muß er nun selbst in 'File > Show Tab Menu > BIOS Selection' ausgewählt werden. Und bei Verwendung mit MessChess (bzw. WinBoard oder Arena) muß man bei Verwendung von AT-Stufen selbst im Plugin 'sapphire.lua' auf 'fix_AT_level_bug = false' umstellen. Grüße, Franz |
AW: A patch for AT mode of the Novag Sapphire
Hallo Franz,
ich bekomme eine Fehlermeldung, wenn ich die Datei entpacken will... |
AW: A patch for AT mode of the Novag Sapphire
Zitieren:
Da muß wohl auf dem Forum-Server irgendwas schiefgegangen sein. :( Vielleicht kann die Datei ja jemand anderer nochmal posten - ich hab gerade keine Zeit ... |
AW: A patch for AT mode of the Novag Sapphire
Zitieren:
|
AW: A patch for AT mode of the Novag Sapphire
Zitieren:
leider wieder mir gleichem Ergebnis: der Download ist wieder fehlerhaft! :( Keine Ahnung, was da mit dem Forum-Server los ist ... |
AW: A patch for AT mode of the Novag Sapphire
Das scheint mit der Größe zusammenzuhängen: Wenn ich eine andere, ähnlich große Datei hochlade, ist sie nach dem Download auch fehlerhaft und ca. 1 MB kleiner.
Bei einer kleineren (1,4 MB) passiert das nicht. Aber normalerweise wird eine Datei ja abgewiesen, wenn sie zu groß ist... |
AW: A patch for AT mode of the Novag Sapphire
Zitieren:
Ich hab die Datei jetzt auf meinem Download-Verzeichnis nochmal hochgeladen (Link im Original-Posting ist auch geändert): Sapphire_Testversion: Edit: Link entfernt, da dieser modifizierte Sapphire in der aktuellen CB-Emu-Version bereits enthalten ist - allerdings muß er nun selbst in 'File > Show Tab Menu > BIOS Selection' ausgewählt werden. Grüße, Franz |
AW: A patch for AT mode of the Novag Sapphire
Gerade läuft die zweite Testpartie mit BearChess; schaut gut aus! :top:
@Mychess: Thank you for the patch! It doesn't change the time-management of the AT-levels, only this nasty bug is fixed, correct? Btw.: How about a patch for the Emerald classic plus? :zwinker: |
Re: A patch for AT mode of the Novag Sapphire
Hello,
Sorry for the late reply, but I was entertaining my family on vacation. I decoded about 750 lines of H8 assembler to make this patch. There were 3 main bugs, including the treatment according to the color to move, and the calculation of the new average time after each move. In the end, I ONLY took the AT mode code from the Sapphire II and adapted it (different offsets) to the Sapphire. For the Emerald Classic Plus, I'll have a look at the code. Cordialy, mychess. |
AW: Re: A patch for AT mode of the Novag Sapphire
Hi Mychess!
Similar to your Sapphire patch, I have now also made a patch for the Diamond, which shouldn't be particularly difficult because the two programs are practically identical (apart from the hardware control). The easiest task was to adjust the addresses. Only some values (registers?) were different on the Diamond than on the Sapphire, so I changed those accordingly (these values are ff62/ff65/ff67 in the Diamond but ff60/ff63/ff65 in the Sapphire). Here is an assembly list of my changes - maybe you can take a look at these changes and let me know if everything is ok? I've also attached the modified Diamond ROM with exactly these changes - I've already tried it here in MessNew and it seems to work correctly. Regards, Franz Code:
changed from: |
Re: A patch for AT mode of the Novag Sapphire
Hi Fhub,
I don't have the diamond roms so I couldn't make this patch. But you have made a perfect patch. Concerning the Emerald Classic Plus, complicated time management but it seems that the patch is just that: 47E7: 20 (in place of 10) Best Regards. mychess |
AW: Re: A patch for AT mode of the Novag Sapphire
Hi Mychess,
Zitieren:
But it wasn't very difficult to make it after your Sapphire patch. Zitieren:
Regards, Franz |
Re: AW: Re: A patch for AT mode of the Novag Sapphire
Zitieren:
"The computer will use half of the specified time to calculate the counter-move and use the remaining time to complete the search. The time varies in the opening game, the middle game and end game position accordingly. The computer tends to play faster in the openings and endgame positions, but in complicated middle game positions it may take longer to make its move. Depending on the position the computer may take up to four times the set time on these levels." from Novag. Best Regards, mychess |
AW: A patch for AT mode of the Novag Sapphire
Hi,
ich hab jetzt eine MessNew_Test-Version hochgeladen, die alle 3 Patches für den AT-Level-Bug bei Diamond/Emerald/Sapphire enthält. Falls das jemand testen möchte - hier ist der Link: https://c.gmx.net/@31720685988479052...SP23WQRnVaGfmw Diese Datei braucht man nur über das bestehende MessNew-Verzeichnis entpacken. Die gepatchten Versionen aktiviert man am besten, indem man die Engine(s) direkt in MessNew startet, unter 'File > Show Tab Menu > BIOS Selection' das System 'modified' auswählt, und auf 'Reset' doppelklickt - danach wird diese gepatchte Version auch beim Start in MessChess verwendet. Beim Emerald habe ich noch Zweifel, ob dieser Patch auch tatsächlich etwas bringt - irgendwie erscheint mir diese 1-Byte-Änderung zu einfach!? Außerdem merke ich eigentlich auch beim originalen Emerald diesen angeblichen AT-Level-Bug nicht wirklich (oder er setzt erst viel später ein als ich bisher probiert habe). Grüße, Franz |
AW: A patch for AT mode of the Novag Sapphire
Hallo Franz,
Zitieren:
Also würde ich immer noch empfehlen, auf die entsprechenden Turnierstufen auszuweichen bzw. den Level-Fix zu verwenden. |
AW: A patch for AT mode of the Novag Sapphire
Hallo Robert,
Zitieren:
Zitieren:
Grüße Franz |
Alle Zeitangaben in WEZ +2. Es ist jetzt 09:57 Uhr. |
Powered by vBulletin (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©Schachcomputer.info