Schachcomputer.info Community

Zurück   Schachcomputer.info Community > Computerschach / Computer Chess: > Mess Emu & andere Emulationen / Mess Emu and other Emulations


Antwort
 
Themen-Optionen Ansicht

  #11  
Alt 11.08.2024, 11:15
Benutzerbild von Mychess
Mychess Mychess ist offline
Excalibur Grandmaster
 
Registriert seit: 07.03.2009
Beiträge: 97
Abgegebene Danke: 158
Erhielt 147 Danke für 77 Beiträge
Aktivitäten Langlebigkeit
5/20 16/20
Heute Beiträge
1/3 sssssss97
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.
Mit Zitat antworten
Folgende 6 Benutzer sagen Danke zu Mychess für den nützlichen Beitrag:
ferribaci (11.08.2024), fhub (11.08.2024), kamoj (11.08.2024), mclane (11.08.2024), Robert (12.08.2024), Wandersleben (11.08.2024)
  #12  
Alt 14.08.2024, 13:30
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.742
Abgegebene Danke: 515
Erhielt 6.330 Danke für 1.460 Beiträge
Aktivitäten Langlebigkeit
8/20 15/20
Heute Beiträge
1/3 sssss2742
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:
0E9A: F928      mov.b   #h'28, r1l
0E9C: 3867      mov.b   r0l, @h'ff67
0E9E: 3965      mov.b   r1l, @h'ff65
to:
0E9A: 5E00 7568 jsr     h'7568
0E9E: 0000      nop

changed from:
6090: FE00      mov.b   #h'00, r6l
6092: 108D      shal.b  r5l
6094: 1205      rotxl.b r5h
to:
6090: 0D50      mov.w   r5, r0
6092: 5E00 7540 jsr     h'7540

changed from:
6CA0: 4A0A      bpl     h'6cac
6CA2: 7902 FBF6 mov.w   #h'fbf6, r2
6CA6: 6B00 FF62 mov.w   @h'ff62, r0
6CAA: 2965      mov.b   @h'ff65, r1l
to:
6CA0: 4A04      bpl     h'6ca6
6CA2: 5E00 7534 jsr     h'7534
6CA6: 5E00 754E jsr     h'754e
6CAA: 0000      nop

added:
7534: 7902 FBF6 mov.w   #h'fbf6, r2
7538: 6B00 FF62 mov.w   @h'ff62, r0
753C: 2965      mov.b   @h'ff65, r1l
753E: 5470      rts
7540: 5E00 754E jsr     h'754e
7544: 0D05      mov.w   r0, r5
7546: FE00      mov.b   #h'00, r6l
7548: 108D      shal.b  r5l
754A: 1205      rotxl.b r5h
754C: 5470      rts
754E: 6DF5      mov.w   r5, @-r7
7550: 0D05      mov.w   r0, r5
7552: 1105      shlr.b  r5h
7554: 130D      rotxr.b r5l
7556: 1105      shlr.b  r5h
7558: 130D      rotxr.b r5l
755A: 1105      shlr.b  r5h
755C: 130D      rotxr.b r5l
755E: 1105      shlr.b  r5h
7560: 130D      rotxr.b r5l
7562: 1950      sub.w   r5, r0
7564: 6D75      mov.w   @r7+, r5
7566: 5470      rts
7568: F928      mov.b   #h'28, r1l
756A: A808      cmp.b   #h'08, r0l
756C: 4502      bcs     h'7570
756E: F901      mov.b   #h'01, r1l
7570: 3867      mov.b   r0l, @h'ff67
7572: 3965      mov.b   r1l, @h'ff65
7574: 5470      rts
__________________
Meine Webseite: https://fhub.jimdofree.com/

Geändert von fhub (18.08.2024 um 14:15 Uhr)
Mit Zitat antworten
Folgende 4 Benutzer sagen Danke zu fhub für den nützlichen Beitrag:
Agep (14.08.2024), kamoj (14.08.2024), Mychess (14.08.2024), Wandersleben (14.08.2024)
  #13  
Alt 14.08.2024, 15:47
Benutzerbild von Mychess
Mychess Mychess ist offline
Excalibur Grandmaster
 
Registriert seit: 07.03.2009
Beiträge: 97
Abgegebene Danke: 158
Erhielt 147 Danke für 77 Beiträge
Aktivitäten Langlebigkeit
5/20 16/20
Heute Beiträge
1/3 sssssss97
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
Mit Zitat antworten
Folgende 2 Benutzer sagen Danke zu Mychess für den nützlichen Beitrag:
fhub (14.08.2024), kamoj (14.08.2024)
  #14  
Alt 14.08.2024, 16:04
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.742
Abgegebene Danke: 515
Erhielt 6.330 Danke für 1.460 Beiträge
Aktivitäten Langlebigkeit
8/20 15/20
Heute Beiträge
1/3 sssss2742
AW: Re: A patch for AT mode of the Novag Sapphire

Hi Mychess,
 Zitat von Mychess Beitrag anzeigen
I don't have the diamond roms so I couldn't make this patch.
But you have made a perfect patch.
thanks - my first patch for a H8 program (although I don't understand a single line of this code ).
But it wasn't very difficult to make it after your Sapphire patch.
Zitieren:
Concerning the Emerald Classic Plus, complicated time management but it seems that the patch is just that:
47E7: 20 (in place of 10)
Oh, that would be simple - I'll test it!

Regards,
Franz
__________________
Meine Webseite: https://fhub.jimdofree.com/
Mit Zitat antworten
Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag:
kamoj (14.08.2024)
  #15  
Alt 14.08.2024, 16:19
Benutzerbild von Mychess
Mychess Mychess ist offline
Excalibur Grandmaster
 
Registriert seit: 07.03.2009
Beiträge: 97
Abgegebene Danke: 158
Erhielt 147 Danke für 77 Beiträge
Aktivitäten Langlebigkeit
5/20 16/20
Heute Beiträge
1/3 sssssss97
Re: AW: Re: A patch for AT mode of the Novag Sapphire

 Zitat von fhub Beitrag anzeigen
Hi Mychess,

thanks - my first patch for a H8 program (although I don't understand a single line of this code ).
But it wasn't very difficult to make it after your Sapphire patch.

Oh, that would be simple - I'll test it!

Regards,
Franz
Beware that AT level is very special, and difficult to follow (for me).

"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
Mit Zitat antworten
Folgender Benutzer sagt Danke zu Mychess für den nützlichen Beitrag:
kamoj (14.08.2024)
  #16  
Alt 14.08.2024, 17:32
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.742
Abgegebene Danke: 515
Erhielt 6.330 Danke für 1.460 Beiträge
Aktivitäten Langlebigkeit
8/20 15/20
Heute Beiträge
1/3 sssss2742
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
__________________
Meine Webseite: https://fhub.jimdofree.com/
Mit Zitat antworten
Folgende 5 Benutzer sagen Danke zu fhub für den nützlichen Beitrag:
kamoj (14.08.2024), Mapi (16.08.2024), Mark 1 (14.08.2024), Robert (19.08.2024), Wandersleben (14.08.2024)
  #17  
Alt 20.08.2024, 00:02
Benutzerbild von Robert
Robert Robert ist offline
Lebende Foren Legende
 
Registriert seit: 30.06.2004
Ort: Regensburg
Alter: 60
Land:
Beiträge: 4.237
Abgegebene Danke: 1.929
Erhielt 888 Danke für 514 Beiträge
Aktivitäten Langlebigkeit
3/20 20/20
Heute Beiträge
1/3 sssss4237
AW: A patch for AT mode of the Novag Sapphire

Hallo Franz,

 Zitat von fhub Beitrag anzeigen
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).
Allzuviel bringt dieser Patch tatsächlich nicht: In einer Partie über 76 Züge verbrauchte der ECP laut eigener Uhr 18'29" (laut BearChess 22'43"); das ist zwar deutlich besser als vorher, aber immer noch weit entfernt von dem, was man erwarten würde.

Also würde ich immer noch empfehlen, auf die entsprechenden Turnierstufen auszuweichen bzw. den Level-Fix zu verwenden.
__________________
Viele Grüße
Robert
Mit Zitat antworten
  #18  
Alt 20.08.2024, 00:19
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.742
Abgegebene Danke: 515
Erhielt 6.330 Danke für 1.460 Beiträge
Aktivitäten Langlebigkeit
8/20 15/20
Heute Beiträge
1/3 sssss2742
AW: A patch for AT mode of the Novag Sapphire

Hallo Robert,
 Zitat von Robert Beitrag anzeigen
Allzuviel bringt dieser Patch tatsächlich nicht: In einer Partie über 76 Züge verbrauchte der ECP laut eigener Uhr 18'29" (laut BearChess 22'43"); das ist zwar deutlich besser als vorher, aber immer noch weit entfernt von dem, was man erwarten würde.
nun, das sind ja ohnehin etwa 15 sec/Zug - so lange denkt er im Durchschnitt ja auch am Beginn der Partie bei Level AT 6 (30 sec/Zug), also wo ist denn da eine Verkürzung der Zugzeit nach einigen Zügen (bzw. im Verlauf der Partie) zu erkennen wie bei Sapphire und Diamond?
Zitieren:
Also würde ich immer noch empfehlen, auf die entsprechenden Turnierstufen auszuweichen bzw. den Level-Fix zu verwenden.
Das kann ja jeder halten wie er will, die Möglichkeiten dafür sind ja da.

Grüße
Franz
__________________
Meine Webseite: https://fhub.jimdofree.com/
Mit Zitat antworten
Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag:
Wandersleben (20.08.2024)
Antwort


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
MessEmu: A patch for the Conic Computer Chess Mychess Mess Emu & andere Emulationen / Mess Emu and other Emulations 5 02.12.2021 23:41
Frage: Fritz 3 run X-mode M.Z Oldie & Retro Schachprogramme / Chess Programs 2 14.04.2019 11:50
Frage: BDA für Novag Sapphire mickihamster Die ganze Welt der Schachcomputer / World of chess computers 2 20.03.2017 08:29
Frage: Novag Sapphire II difri Die ganze Welt der Schachcomputer / World of chess computers 23 07.07.2009 10:15


Alle Zeitangaben in WEZ +2. Es ist jetzt 18:48 Uhr.



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