Schachcomputer.info Community

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


Antwort
 
Themen-Optionen Ansicht

  #1  
Alt 10.06.2025, 15:42
Benutzerbild von Mychess
Mychess Mychess ist offline
MACH III
 
Registriert seit: 07.03.2009
Beiträge: 128
Bilder: 3
Abgegebene Danke: 201
Erhielt 266 Danke für 110 Beiträge
Member Photo Albums
Aktivitäten Langlebigkeit
4/20 16/20
Heute Beiträge
0/3 ssssss128
Re: THE PATCH FOR ALL CHESS COMPUTERS WITH H8 BUG

Hi Fhub,


You can put the good byte for a good checksum at the end of the patch.
However, a curious programmer (Fh..) could be astonished by a byte never adressed by the patch.

So I prefer to use a dummy short instruction (yes, with 2 clocks CPU lost) with the good byte as immediate value.
The BF is a "branch never", as BT is a branch always, without testing any code condition.
So 41 50 is a 2 clocks cpu lost instruction who only make PC = PC+2, and 50 is the byte for a good checksum.

You can make a best performance patch with :

66D0: 7F52 7260 bclr #6, @h'ff52
66D4: 7F52 7270 bclr #7, @h'ff52
66D8: 5A00 5062 jmp h'5062
66DC: 91 ; (41+50)

Cordialy,

Mychess
Mit Zitat antworten
Folgende 2 Benutzer sagen Danke zu Mychess für den nützlichen Beitrag:
fhub (10.06.2025), kamoj (10.06.2025)
  #2  
Alt 10.06.2025, 15:58
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.933
Abgegebene Danke: 602
Erhielt 7.265 Danke für 1.629 Beiträge
Aktivitäten Langlebigkeit
6/20 15/20
Heute Beiträge
1/3 sssss2933
AW: Re: THE PATCH FOR ALL CHESS COMPUTERS WITH H8 BUG

 Zitat von Mychess Beitrag anzeigen
You can put the good byte for a good checksum at the end of the patch.
However, a curious programmer (Fh..) could be astonished by a byte never adressed by the patch.
Yes, I'm a VERY curious programmer!
Zitieren:
The BF is a "branch never", as BT is a branch always, without testing any code condition.
Ok, now I understand that this jump is never done.
But what is an instruction BF good for, when it actually never does anything?

The 2 clocks CPU lost is of course no problem, because I think this bugfix code is only executed when the user changes the level (to or away from a Fun level).
__________________
Meine Webseite: https://fhub.jimdofree.com/
Mit Zitat antworten
Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag:
kamoj (10.06.2025)
  #3  
Alt 10.06.2025, 16:05
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.933
Abgegebene Danke: 602
Erhielt 7.265 Danke für 1.629 Beiträge
Aktivitäten Langlebigkeit
6/20 15/20
Heute Beiträge
1/3 sssss2933
AW: THE PATCH FOR ALL CHESS COMPUTERS WITH H8 BUG

And from your "66DC: 91 ; (41+50)" I guess the program uses only a 1-byte checksum, correct?
Then why not just change the checksum byte instead of adding such a dummy byte?
__________________
Meine Webseite: https://fhub.jimdofree.com/
Mit Zitat antworten
Folgende 2 Benutzer sagen Danke zu fhub für den nützlichen Beitrag:
jerazi (26.06.2025), kamoj (10.06.2025)
  #4  
Alt 10.06.2025, 16:47
Benutzerbild von Mychess
Mychess Mychess ist offline
MACH III
 
Registriert seit: 07.03.2009
Beiträge: 128
Bilder: 3
Abgegebene Danke: 201
Erhielt 266 Danke für 110 Beiträge
Member Photo Albums
Aktivitäten Langlebigkeit
4/20 16/20
Heute Beiträge
0/3 ssssss128
Re: THE PATCH FOR ALL CHESS COMPUTERS WITH H8 BUG

Yes, only a one byte checksum.
However, the checksum is not stored, it should be 00, so I add a byte to obtain 00.

Another solution would be to delete the checksum call from the rom, but I'm follower of "Entia non sunt multiplicanda praeter necessitatem", or principle of parsimony.


Cordialy,

Mychess
Mit Zitat antworten
Folgender Benutzer sagt Danke zu Mychess für den nützlichen Beitrag:
kamoj (10.06.2025)
  #5  
Alt 10.06.2025, 17:00
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.933
Abgegebene Danke: 602
Erhielt 7.265 Danke für 1.629 Beiträge
Aktivitäten Langlebigkeit
6/20 15/20
Heute Beiträge
1/3 sssss2933
AW: Re: THE PATCH FOR ALL CHESS COMPUTERS WITH H8 BUG

 Zitat von Mychess Beitrag anzeigen
Yes, only a one byte checksum.
However, the checksum is not stored, it should be 00, so I add a byte to obtain 00.
Well, a 1-byte checksum is a quite simple method - how does the program react when it detects a wrong checksum?
I remember such a situation for any other ROM that I've patched, and it actually returned an error message (I've just skipped this error routine).
__________________
Meine Webseite: https://fhub.jimdofree.com/
Mit Zitat antworten
Folgender Benutzer sagt Danke zu fhub für den nützlichen Beitrag:
kamoj (10.06.2025)
  #6  
Alt 10.06.2025, 17:10
Benutzerbild von Mychess
Mychess Mychess ist offline
MACH III
 
Registriert seit: 07.03.2009
Beiträge: 128
Bilder: 3
Abgegebene Danke: 201
Erhielt 266 Danke für 110 Beiträge
Member Photo Albums
Aktivitäten Langlebigkeit
4/20 16/20
Heute Beiträge
0/3 ssssss128
Re: THE PATCH FOR ALL CHESS COMPUTERS WITH H8 BUG

A continuous error message (E: ron) with beep.
However, "enter" bypass the message and the computer is ready.
Mit Zitat antworten
Folgende 2 Benutzer sagen Danke zu Mychess für den nützlichen Beitrag:
fhub (10.06.2025), kamoj (10.06.2025)
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
Turnier: The beginnings of chess computers Chessguru Partien und Turniere / Games and Tournaments 12 22.06.2022 09:22
MessEmu: A patch for the Conic Computer Chess Mychess Mess Emu & andere Emulationen / Mess Emu and other Emulations 5 02.12.2021 23:41
Turnier: Hans Böhm challenges old chess computers at 30th CSVN Tournament Ruud Martin Partien und Turniere / Games and Tournaments 2 31.05.2015 08:55
News: Chess Computers - The UK Story Mike Die ganze Welt der Schachcomputer / World of chess computers 9 19.03.2009 02:03
News: "Chess Computers Revolution" DVD von Ismenio erschienen Chessguru Die ganze Welt der Schachcomputer / World of chess computers 2 18.04.2007 22:52


Alle Zeitangaben in WEZ +2. Es ist jetzt 11:31 Uhr.



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