Schachcomputer.info Community

Schachcomputer.info Community (https://www.schachcomputer.info/forum/index.php)
-   Mess Emu & andere Emulationen / Mess Emu and other Emulations (https://www.schachcomputer.info/forum/forumdisplay.php?f=53)
-   -   MessEmu: A patch for Novag Super system III (https://www.schachcomputer.info/forum/showthread.php?t=7287)

Mychess 22.06.2025 09:16

A patch for Novag Super system III
 
Hi,

This is a patch for Novag Super system III to accept castling after setup a position (following the request from Mark 1
https://www.schachcomputer.info/foru...59&postcount=2 )


The file c19082_ss-3-hrom.u5 must be modified : At offset 0A55 , byte 00 becomes 0F.

New checksums for this file are 4F919E63591BD05400EBCD9FBE515CE2D982B38B 4A8F6694

Can you verify that this patch works perfectly (I made many tests, however...) ?

Cordialy,

mychess.

Mark 1 22.06.2025 12:45

AW: A patch for Novag Super system III
 
Hallo Mychess...

Vielen Dank!

Führe jetzt einen Testlauf mit 20 Partien zwischen Mark 3 und Fidelity Challenger Voice durch. Die Eröffnungen werden zufällig aus einer EPD-Datei ausgewählt, sodass beide Engines mit einem Stellungsaufbau starten. Ich hoffe, dass ich den Patch richtig eingerichtet habe. Beim Schreiben dieser Zeilen fällt mir allerdings auf, dass Mark 3 nicht rochiert. Könnte man die modifizierte Datei eventuelle als Anhang hochladen?

Gruß
Mark 1

fhub 22.06.2025 13:17

AW: A patch for Novag Super system III
 
Hallo Mark,
Zitieren:

Zitat von Mark 1 (Beitrag 132710)
Ich hoffe, dass ich den Patch richtig eingerichtet habe. Beim Schreiben dieser Zeilen fällt mir allerdings auf, dass Mark 3 nicht rochiert. Könnte man die modifizierte Datei eventuelle als Anhang hochladen?

du kannst es am einfachsten mit folgenden 2 Stellungen ausprobieren:
5q2/8/8/5k2/8/8/8/R3K2R w
3k4/8/8/8/8/8/Pr6/R3K3 w
In beiden Fällen sollte der (gepatchte!) Mark 3 rochieren, kurz bei Stellung 1, lang bei Stellung 2.

Ich hab das modifizierte ROM auch schon in CB-Emu eingebaut (und es scheint zu funktionieren) - dauert aber noch etwas bis zu einer neuen Version auf meiner Webseite.

Übrigens scheint der Saitek Super System 4 (ssystem4) das gleiche Problem zu haben, auch der rochiert nach einer Stellungseingabe nicht.
Vielleicht gibt's ja da von Mychess auch nochmal einen Patch? ;)
(ich möchte mich nämlich nicht unbedingt auch noch mit 6502-Assembler beschäftigen ...)

Grüße,
Franz

Mark 1 22.06.2025 13:28

AW: A patch for Novag Super system III
 
Hallo Franz...


Bei mir funktioniert es leider nicht, also habe ich wohl irgendwo einen Fehler gemacht 🙂 Ich warte gespannt auf die neue CB-Emu-Version.

Viele Grüße
Mark 1

fhub 22.06.2025 13:40

AW: A patch for Novag Super system III
 
Zitieren:

Zitat von Mark 1 (Beitrag 132713)
Bei mir funktioniert es leider nicht, also habe ich wohl irgendwo einen Fehler gemacht �� Ich warte gespannt auf die neue CB-Emu-Version.

Inzwischen kannst Du es auch mit der gepatchten Version im Anhang ausprobieren - einfach ins Verzeichnis 'MessChess\roms' kopieren.
Du bekommst allerdings beim Start eine Fehlermeldung (weil die Checksumme natürlich nicht stimmt), aber nach [Enter] geht's auch mit dem neuen ROM weiter.

Edit: Anhang wieder gelöscht - ist durch neu CB-Emu-Version nicht mehr aktuell!

Mark 1 22.06.2025 13:54

AW: A patch for Novag Super system III
 
Hallo Franz..

Ja , jetzt funktioniert es :)

Gruß
Mark 1

Mark 1 22.06.2025 14:53

AW: A patch for Novag Super system III
 
Hi..

da es sich um den Mark 3 handelt wollte ich nicht ein neues Thema
anfangen.

Ich teste gerade den Mark 3 (Levy/Johnson) über mehrere Partien. Dabei ist mir aufgefallen, dass er bei einer Bauernumwandlung oft einen Springer statt einer Dame wählt. Dieses Verhalten habe ich schon öfter beobachtet. Der Savant (Kittinger) zeigt dieselbe Eigenart, obwohl das Programm von anderen Entwicklern stammt. Handelt es sich um reinen Zufall oder könnten Gemeinsamkeiten im Code dafür verantwortlich sein?

Viele Grüße
Mark 1

Mychess 22.06.2025 15:54

Re: AW: A patch for Novag Super system III
 
Hi Mark 1,

I think is a pure coincidence : as you said, not the same developers (Kittinger create Mychess/Savant alone), but also not the same processor (6502 versus Z-80).
And the Savant promote automatically a pawn to a queen or knight, but not in rook or bishop.The Mark III can promote a pawn to all pieces.

Perhaps the explosion of number of moves with 2 queens and too many stalemate possibilities (and small memory) make that the research prefer a simple knight (4 more moves, others are out of chessboard) ?

Cordialy,

mychess.

Mychess 22.06.2025 18:10

Re: AW: A patch for Novag Super system III
 
Hi Fhub,

I checked the code of ssystem4, it's seems to be good (not the same as ssystem3).However I didn't trace it.
I began a game with ssystem4 on CB-Emu, and after 4 moves I suppress a white rook in EP mode, and black played a castling.

Cordialy,

mychess


Zitieren:

Zitat von fhub (Beitrag 132712)
Hallo Mark,

Übrigens scheint der Saitek Super System 4 (ssystem4) das gleiche Problem zu haben, auch der rochiert nach einer Stellungseingabe nicht.
Vielleicht gibt's ja da von Mychess auch nochmal einen Patch? ;)
(ich möchte mich nämlich nicht unbedingt auch noch mit 6502-Assembler beschäftigen ...)

Grüße,
Franz


fhub 22.06.2025 18:50

AW: Re: AW: A patch for Novag Super system III
 
Hi Mychess,
Zitieren:

Zitat von Mychess (Beitrag 132723)
I checked the code of ssystem4, it's seems to be good (not the same as ssystem3).However I didn't trace it.
I began a game with ssystem4 on CB-Emu, and after 4 moves I suppress a white rook in EP mode, and black played a castling.

ok, but it does not make castling moves in the 2 positions I've posted here today, although these are the only useful white moves in these positions.
Maybe the problem is that the castling informations are reset when the board is cleared (which is done in the plugin when setting up a position)?

Regards,
Franz

Mychess 23.06.2025 16:02

Re: A patch for Novag Super system III
 
Hi,

I'm sorry to inform you that my patch isn't working properly.
It's only my fault: I misunderstood the code of ssystem3 (and ssystem4).

I'll come back when I have a solution, but it will be probably not a simple patch.

With apologies,

mychess

fhub 23.06.2025 16:13

AW: Re: A patch for Novag Super system III
 
Zitieren:

Zitat von Mychess (Beitrag 132742)

I'm sorry to inform you that my patch isn't working properly.
It's only my fault: I misunderstood the code of ssystem3 (and ssystem4).

Hmm? What's wrong with your patch?
In my tests (with the 2 posted positions) it works fine, i.e. the engine(s) are in fact castling.

Mychess 23.06.2025 16:27

Re: A patch for Novag Super system III
 
Hi Fhub,

In many chess computers, bits are used to indicate if castlings are possible.
When the rook or the king moves, bit change to forbid castling.
In ssystem3|4, bits are used to indicate that king and rooks are at initial positions.
With my patch, you can make a "white little castling" with a black knight in H1, the code does not check the type or color of the piece in H1!!!

Sorry for the workload.

Cordialy.

mychess

fhub 23.06.2025 16:48

AW: Re: A patch for Novag Super system III
 
Hi Mychess,
Zitieren:

Zitat von Mychess (Beitrag 132744)
In ssystem3|4, bits are used to indicate that king and rooks are at initial positions.

oops, that's indeed a strange method! :(
I guess that it will be impossible to fix this directly in the ROM - in the MessChess plugins I can do this,
but first I'll have to find out which bit corresponds to which rook.
And I hope that there's not a similar bit anywhere for the 2 kings ... ;)

Edit: Ok, in the MessChess-Plugin I've fixed it now for both engines (ssystem3/4) - thanks for this information!

Regards,
Franz

fhub 23.06.2025 20:16

AW: Re: A patch for Novag Super system III
 
Zitieren:

Zitat von Mychess (Beitrag 132742)
I'll come back when I have a solution, but it will be probably not a simple patch.

Well, I think you shouldn't waste your time with this patch (which is almost impossible in assembly language).
If these ssystem3/4 programs don't accept castlings after a position setup, then we should just accept it - take it as a 'feature'. ;)
And in MessChess it's already working with the new plugin, so it's not really a problem.

Mark 1 23.06.2025 20:33

AW: A patch for Novag Super system III
 
Hi...


Vielen Dank für eure großartige Unterstützung. Dank dieses Patches, kombiniert mit einer EPD-Datei, die über 11.000 Eröffnungsstellungen umfasst, und der jetzt zulässigen Rochade wirkt das Spiel mit dem Mark 3 deutlich abwechslungsreicher.

Gruß
Mark 1

Mychess 06.07.2025 13:50

Re: A patch for Novag Super system III
 
Hi ,

I have finish the patch for the Novag Super system III.
The patch is implemented in D8C2 in place of many FF :

Code:

D8C2: 95 45
D8C4: A9 00
D8C6: 85 1D
D8C8: A9 08
D8CA: A6 D7
D8CC: E0 84
D8CE: D0 04
D8D0: 05 1D
D8D2: 85 1D
D8D4: A9 04
D8D6: A6 DE
D8D8: E0 84
D8DA: D0 04
D8DC: 05 1D
D8DE: 85 1D
D8E0: A9 02
D8E2: A6 67
D8E4: E0 44
D8E6: D0 04
D8E8: 05 1D
D8EA: 85 1D
D8EC: A9 01
D8EE: A6 6E
D8F0: E0 44
D8F2: D0 04
D8F4: 05 1D
D8F6: 85 1D
D8F8: 60   

The calling of the patch is implemented in DB2C.

DB2C : 4C C2 D8 in place of  95 45 60 .


New checksums for the rom file :

ROM_LOAD("c19082_ss-3-hrom.u5",  0x9000, 0x1000, CRC(85684f27) SHA1(a7eaa9c83b435487e96375ae4140a317e445cbe1) )


Cordialy,

mychess


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:19 Uhr.

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