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: Mess Emulator für diverse Schachcomputer ist fertig! (https://www.schachcomputer.info/forum/showthread.php?t=1448)

berger 05.12.2023 19:35

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Let's party! :D

BTW... Yeno 301XL and 309XT are exactly identical inside: same microcontroller with same rom.

Best,
Gerardo

Mychess 05.12.2023 19:47

Re: AW: Re: AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von fhub (Beitrag 121905)
Hi,

Und auch der Novag Constellation Junior (von Mychess) funktioniert jetzt nach einigen Änderungen im Treiber (und zwar ohne die bei Mychess üblichen flackernden LEDs :D).
Franz

Hello Fhub,

It is difficult for me to find the reason of flickering leds : on my laptop, this flickering doesn't exist.
Perhaps always with your Nec Multisync 3D from 1990, at 30 Hz :D


Cordially.

Mychess 05.12.2023 19:49

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von berger (Beitrag 121907)
Let's party! :D

BTW... Yeno 301XL and 309XT are exactly identical inside: same microcontroller with same rom.

Best,
Gerardo

So 6DA5EE23 .

Cordially.

fhub 05.12.2023 19:55

AW: Re: AW: Re: AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von hap (Beitrag 121906)
Geburtswelle? Hier ist ein neuer baby, Yeno 301 XL.

WOW, das ist ja schon eher ein Geburts-Tsunami! :D
Da komme ich ja mit den Plugins gar nicht mehr nach ...

Again a question for hap:
Since we had no HD6301X0 so far, what's the memory map for this one?

fhub 05.12.2023 20:03

AW: Re: AW: Re: AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hi Mychess,
Zitieren:

Zitat von Mychess (Beitrag 121908)
It is difficult for me to find the reason of flickering leds : on my laptop, this flickering doesn't exist.
Perhaps always with your Nec Multisync 3D from 1990, at 30 Hz :D

"Nec Multisync 3D from 1990"? No, I've also a (not so old) notebook - I rather guess your laptop screen is too slow to see the flickering LEDs. ;)
The flickering is definitely there, you're just switching on and off all the LEDs far too often in your drivers (the same problem already happened with your previous starchess driver)!

Regards,
Franz

Mychess 05.12.2023 20:31

Re: AW: Re: AW: Re: AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von fhub (Beitrag 121910)
WOW, das ist ja schon eher ein Geburts-Tsunami! :D
Da komme ich ja mit den Plugins gar nicht mehr nach ...

Again a question for hap:
Since we had no HD6301X0 so far, what's the memory map for this one?

Same to the 6301V, but RAM from 0x40 to 0xff.

Cordially.

hap 05.12.2023 20:40

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Internal I/O from 0x00-0x18
And yes, RAM 0x40-0xff.

I also had to do some fixes to the m6801 CPU core to make the Yeno 301 XL work:
https://github.com/mamedev/mame/comm...068c0a5e3af164 (the DDR4 fix)
https://github.com/mamedev/mame/comm...6ad3ae80c0c3dc
https://github.com/mamedev/mame/comm...82a4a7acfcb290

fhub 05.12.2023 20:56

AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von hap (Beitrag 121913)
I also had to do some fixes to the m6801 CPU core to make the Yeno 301 XL work:

Yep, I've already downloaded these m6801 changes yesterday and use it in my MAME 0.261 version, but of course I can't port these files back to 0.220, so I'm curious if the Yeno 301 XL will work in CB-Emu!?

BTW, your new method of using xc/yc instead of the usual x/y coordinates in the layout is really annoying - I have to change dozens (if not hundreds) of values to make it work in MAME 0.220. :(

hap 05.12.2023 21:08

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Yeno 301 XL won't work without those fixes.

MAME artwork 'newer' features like the repeat func, or blend modes, or xc/yc, they make it easier for me to manually write those .lay files.
Yeah I can imagine it's annoying to convert back. I think it's something like x=xc-(width/2) and likewise for y.

fhub 05.12.2023 21:14

AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von hap (Beitrag 121916)
Yeno 301 XL won't work without those fixes.

Are you sure?
I'm not using the 'standby' and 'nvram' features of your drivers, so maybe those fixes have no effect for my version!?

Or are any other code parts in your driver not working without them?
If yes, then I don't even try to implement the 301 XL in my version ...

hap 05.12.2023 21:21

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Yes I'm sure, I had a WIP driver that had major problems, until I did those bugfixes to the CPU emulation.

You can still try.
The DDR4 problem can be worked around with if you do something like this in the driver machine_reset:
m_maincpu->space(AS_PROGRAM).write_byte(0x05, 0xff);

And the illegal opcode fixes, the ones I linked should be easy to copy over to an older MAME.

fhub 05.12.2023 23:28

AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von hap (Beitrag 121919)
The DDR4 problem can be worked around with if you do something like this in the driver machine_reset:
m_maincpu->space(AS_PROGRAM).write_byte(0x05, 0xff);

I've now made the usual changes for these 6301 devices and with the above line the Yeno 301 XL is at least starting, but apart from the buttons (producing beeps) nothing else works: no leds and also the sensor board is 'dead'.
Zitieren:

And the illegal opcode fixes, the ones I linked should be easy to copy over to an older MAME.
Well, I've looked at these files, but there are hundreds of changes, and the current m6800 files are so different to the version I'm using in 0.220 (although already updated some time ago), that I won't even know where to start with any "copy over".
So this Yeno 301 XL will definitely not make it into CB-Emu. :heulsuse:

Mychess 06.12.2023 00:22

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hi,

Now everyone can answer my question from a month ago:

https://www.schachcomputer.info/foru...ead.php?t=6960

Cordially.

Mychess 06.12.2023 00:32

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von hap (Beitrag 121919)
Yes I'm sure, I had a WIP driver that had major problems, until I did those bugfixes to the CPU emulation.

You can still try.
The DDR4 problem can be worked around with if you do something like this in the driver machine_reset:
m_maincpu->space(AS_PROGRAM).write_byte(0x05, 0xff);

And the illegal opcode fixes, the ones I linked should be easy to copy over to an older MAME.

WARNING WARNING : The Yeno 301XL use illegal opcode interruption (trap vector) as subroutine with parameter (codes $00 $02 $42 $87 $CF, of course illegal opcode) .

Cordially.

hap 06.12.2023 18:57

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Does someone have a working Constellation Junior? (Mychess's one is broken)
And can you try this?

Push white pawn from D4 to D5, does the D5 sensor take longer to register?

Or, same with the queen:
white pawn to E3, black don't care
white queen to G4, black don't care
white queen to G5 **here, sensor response is slow**, black don't care
white queen to G4 **sensor response is slow again**

So, with any vertical 1 square move from 4th to 5th rank, or backwards, the chessboard sensor response is slower than with other moves.

If it happens on the actual chesscomputer too, then it's not a fault in the emulation.

CC 7 07.12.2023 12:48

AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von hap (Beitrag 121957)
Does someone have a working Constellation Junior? (Mychess's one is broken)
And can you try this?

Push white pawn from D4 to D5, does the D5 sensor take longer to register?

Or, same with the queen:
white pawn to E3, black don't care
white queen to G4, black don't care
white queen to G5 **here, sensor response is slow**, black don't care
white queen to G4 **sensor response is slow again**

So, with any vertical 1 square move from 4th to 5th rank, or backwards, the chessboard sensor response is slower than with other moves.

If it happens on the actual chesscomputer too, then it's not a fault in the emulation.

No, I haven't observed this behaviour earlier.

Today I've made the Queen-test above - the response time is practically the same, forwards or backwards from 4th to 5th rank.

At most a tiny fraction of a second...but no, I have not remarked a substantial delay, my Constellation Junior is working fine concerning sensor response time, I can't complain.

Hans-Jürgen

hap 07.12.2023 13:30

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Thanks for checking, it's pretty much instant for other moves, but on emulation those specific moves take around 1/3rd of a second. A short delay until you hear the 'beep' telling you that it registered the move. The delay is not that substantial, but still noticeable.

Zitieren:

Zitat von CC 7 (Beitrag 121966)
At most a tiny fraction of a second...

That only applies to the vertical 1-square moves between 4th and 5th rank?

CC 7 07.12.2023 14:51

AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Zitieren:

Zitat von hap (Beitrag 121968)
Thanks for checking, it's pretty much instant for other moves, but on emulation those specific moves take around 1/3rd of a second. A short delay until you hear the 'beep' telling you that it registered the move. The delay is not that substantial, but still noticeable.


That only applies to the vertical 1-square moves between 4th and 5th rank?

The surface of my Constellation Junior is a bit bumpy, not 100% plain even, especially around 4th and 5th rank. So this might be an explanation - although...diagonal moves there get registered at once, a tiny bit faster.

But it's really minimal, perhaps a quarter of a second or less I guess.
For me it is absolutely negligeable, it doesn't matter in practical play (I'm not a lightning fast blitzer).

fhub 07.12.2023 17:15

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hi,

die 3 neuen Geräte sind jetzt in CB-Emu eingebaut - danke an alle Beteiligten (Mychess, hap, Berger, Sean Riddle).

Novag Constellation Junior und Mephisto Europa sind wie üblich zu benutzen, also auch in MessExtra und MessChess (mit Plugins) - Setup-Modus haben beide, Edit-Modus nur der Europa.

Für den Yeno 301 XL mußte ich jetzt noch eine weitere MAME-Version hinzufügen (und zwar 'MessNew.exe' im gleichnamigen Unterverzeichnis), weil ich die notwendigen Änderungen von 'hap' in den m6800-Treibern selbst nicht mehr in meine Version zurück-portieren kann - das könnte nur 'hap', aber das wäre wohl zuviel verlangt von ihm.

Diese 'MessNew.exe' ist eine aktuelle, originale MAMEUI-Version 0.261 (allerdings reduziert auf dieses eine Gerät Yeno 301 XL), und wird automatisch verwendet, wenn man in CB-Emu diese neue Engine aufruft (man kann aber 'MessNew.exe' auch selber direkt starten).
Allerdings sind in dieser neuen Version 'MessNew' all die Extra-Features, die ich in den letzten 10 Jahren in CB-Emu eingebaut habe, nicht vorhanden und damit gibt's für diesen Yeno 301 XL auch kein Plugin, d.h. er ist nicht mit WinBoard oder Arena benutzbar (er erscheint auch nicht in MessChess oder MessExtra!).

Edit: 'hap' hat mir gerade eine Liste von Änderungen in diesen m6800-Dateien geschickt, mit denen der neue Yeno 301 XL auch in meiner älteren MESS-Version funktionieren sollte - unser 'hap' ist wirklich der Größte! :goldcup:
Ich werde also jetzt versuchen, ob das tatsächlich so einfach klappt, und wenn ja, dann kann ich dieses zusätzliche 'MameNew' wieder entfernen - das wird aber noch einige Zeit brauchen.

Grüße,
Franz

Mark 1 07.12.2023 18:55

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hi..

Ihr habt eine Motivation , da kann ich nur den Hut ziehen.

Vielen Dank...

Gruß
Mark 1

fhub 08.12.2023 10:35

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hi,

weiß vielleicht einer von euch, wie beim Yeno 301 XL die Stellungseingabe (SET UP) funktioniert, oder hat jemand sogar eine deutsche oder englische Beschreibung?

Auf Alain Zanchetta's Seite gibt's das Handbuch nur auf französisch, und damit kann ich leider gar nichts anfangen. Angeblich sollen ja ChessKing CounterGambit und Triomphe Clones vom 301XL sein, aber in deren Handbuch wird kein Setup-Modus erwähnt und die beiden haben auch so eine SETUP-Taste gar nicht, also dürfte das mit dem 'Clone' doch nicht ganz richtig sein.

Wenn ich beim Yeno 301 XL diese SETUP-Taste drücke, dann leuchtet rechts davon die grüne LED auf, aber weiter komme ich nicht mehr. Und ich finde auch keine Möglichkeit, diesen Setup-Modus wieder zu beenden - die grüne LED geht einfach nicht mehr aus, egal welche Tasten ich drücke.

Grüße,
Franz

Mychess 08.12.2023 10:44

Re: AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hello Fhub,

short translate :
Entry setup mode by "setup" or "black" or "white".
"Take back" to quit the setup mode.
However, if position is illegal (ie white incheck and black to move) you can't go out of setup mode.
You can delete all pieces with "level".

Cordially.

hap 08.12.2023 10:50

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
SET UP: enter setup mode

WHITE/BLACK: obvious
piece buttons: obvious
chessboard buttons: press once to add piece (high beep), press twice to remove piece (medium beep), low beep is error.

LEVEL: clear board
TAKE BACK: exit setup mode, press WHITE before exiting, meaning it's white's turn to move.

*edit* woops, Mychess posted while I was writing.

Mychess 08.12.2023 11:12

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
This mode is used to record in the computer memory the deletion or placement of pieces
at any time during a game, or the establishment of a particular position. in sight, for example.
to solve a mate problem. To enter SET UP mode you can use the SET UP button
itself or the BLACK and WHITE buttons. In both cases, the row 7 indicator light comes on.
The SET UP light will be solid if you used the SET UP dipper or WHITE button
(indicating that the selected color is "White") or flashing
if you used the BLACK key (indicating that the selected color is "Blacks").

Once in SET UP mode you can change the selected color by simply pressing
on the WHITE key for white parts (the SET UP indicator is then fixed) or on the key
BLACK for black parts (the SET UP indicator flashes). After saving
the desired data. Press the TAKE BACK button to exit SET UP mode and return to the game.
Note that the color selected when you exit this mode will be the one for which
you will play the first move. once back in the game. If you want to play the first move,
make sure before exiting SET UP mode that the selected color is the one you want to play and
change, if necessary (if you made a mistake. just press WHITE or BLACK
depending on the color you want to play and again on TAKE BACK). If you want the computer
plays the first move. then press PLAY making sure it will play the color correctly
desired and proceeding as above in case of color error.

NOTE: The computer will refuse to exit SET UP mode if the saved data leads to
an impossible or illegal position (for example 2 Kings of the same color or a pawn on a row
extreme) or if the color to play second has its King in check. Castling is possible
if the King and the Rook are on their original square.
If you wish to save a particular position, for example for a checkmate problem,
you must first "empty the board" by pressing the LEVEL key.

fhub 08.12.2023 11:22

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Thanks Mychess and hap - now I have even three copies of it! :D

In the meantime I tried to write the position directly into the RAM (in the plugin), and the Yeno recognized the correct position, but made illegal moves afterwards (e.g. putting the king into check).
So I guess I'll have to do this position setup in the 'usual' way ...


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:07 Uhr.

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