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)

fhub 20.08.2023 16:41

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

Zitat von kamoj (Beitrag 119011)
Ehrlich gesagt dachte ich, dass Franz einen Scherz gemacht hat, als er schrieb, was ich zuerst als herablassend über mich empfand.
Aber warum sollte er schlechte Dinge über mich schreiben?

nun, als 'herablassend' würde ich meine Bemerkung nicht bezeichnen, sondern eher als 'enttäuscht' oder 'frustriert', und genau so war mein Posting auch gemeint, denn - wie Sascha schon bemerkt hat - warten wir nun bereits seit etwa einem Jahr auf diesen MM III.

Grüße,
Franz

Chessguru 20.08.2023 16:46

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Ich habe Lars als sehr hilfsbereiten Zeitgenossen kennengelernt und kann mich für seine Unterstützung nur erneut bedanken. Wenn Lars und Ulf eine Chance sehen, werden sie diese ergreifen und das Ergebnis präsentieren.

Also, auch wenn es lange dauert, nicht ungeduldig werden.

Gruß
Micha

hap 28.08.2023 17:03

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Hallo Schachcomputerfans, hier ist ein neuer emulation, Novag Chess Robot Adversary. ROM von jemand anonym.

I didn't know before that it has a soundchip, SN76489AN, more commonly seen on video game systems.

https://i.imgur.com/hM5Xa8j.png

mclane 28.08.2023 17:14

AW: Mess Emulator für diverse Schachcomputer ist fertig!
 
Yes the robot had a mode where it tried to confuse the human player.
The sound effects should disturb the human in his thinking process.

Mark 1 28.08.2023 17:29

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


Ich habe das Teil im Selbstspiel bei Karstadt gesehen. Lange ist es her und ich war FASZINIERT.:)
Heute ein müdes Lächeln aber damals ....

Gruß
Mark 1

hap 28.08.2023 22:29

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Does someone here have a not so broken Robot Adversary, and could try this?:
- new game
- walk around with your king and get checkmated on purpose
- press Trace Back
- robot arm takes back 1 move
- chesscomputer becomes unresponsive: leds are still on, it still beeps when you press buttons, but doesn't do anything else. You need to turn it off and on to get it to become alive again.

fhub 29.08.2023 12:19

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

Zitat von hap (Beitrag 119183)
Hallo Schachcomputerfans, hier ist ein neuer emulation, Novag Chess Robot Adversary.

danke an 'hap' für diese neue Emulation - diesen Treiber zu schreiben war sicher nicht einfach! :top:

Leider funktioniert dieser Treiber in MESSUI 0.220 nicht mehr und auch die Layout-Datei müßte ich komplett umschreiben, und daher werde ich wohl eine neuere MAMEUI-Version 0.245 nur für diesen Novag Robot hochladen, denn das ist die letzte Version (allerdings auch schon 1 Jahr alt), die ich überhaupt noch kompilieren kann.
Allerdings enthält diese Version all die Extra-Features nicht, die ich in CB-Emu/MessExtra zusätzlich eingebaut habe, und sie läßt sich auch nicht via WinBoard oder Arena benutzen, weil ein Plugin für diesen Robot kaum möglich sein dürfte (der hat weder Brett-LEDs noch eine LCD-Zuganzeige).
Das wird allerdings noch eine Weile dauern ...

Grüße,
Franz

hap 29.08.2023 13:19

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
Is it mainly for showing the claw position? Try this (in this case Fidelity Phantom):

Code:

class:
u32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);

func:
u32 phantom_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
        bitmap.fill(0, cliprect);

        u32 color = 0xff00ff;
        if (!BIT(m_motors_ctrl, 4))
                color = color >> 1 & 0x7f7f7f;

        u8 x = m_hmotor_pos;
        u8 y = 255 - m_vmotor_pos;
        if (cliprect.contains(x, y))
                bitmap.pix(y, x) = color;

        return 0;
}

mcfg:
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
screen.set_refresh_hz(60);
screen.set_size(256, 256);
screen.set_visarea_full();
screen.set_screen_update(FUNC(phantom_state::screen_update));

und lay file: screen element with blend="add"
Or if blend is not supported yet in an older version, then fill the screen with white and do it with an <overlay>


fhub 29.08.2023 13:57

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

Zitat von hap (Beitrag 119202)
Is it mainly for showing the claw position?

No, I've already replaced m_display->write_mx/my with update_display() as I've done it before in some other drivers.
And I've also commented out the 'claw' code in the layout, because I know from the Phantom that this won't work in 0.220.

The problem in the driver seems to be m_pwm_accum[4] - there's a message about an error in 'save.h' pointing me to the line with 'save_item(NAME(m_pwm_accum))'. I guess this save_item doesn't work with an array in my old version!?

And in the layout file there are many problems:
First it doesn't accept 'bounds xc/yc=', and if I replace this with 'bounds x/y=' then everything is misplaced in the artwork.
Furthermore the LEDs are not displayed - this could certainly be solved anyhow, but it would be much work ...

hap 29.08.2023 14:10

Re: Mess Emulator für diverse Schachcomputer ist fertig!
 
claw position: see above, such a screen overlay is actually what I had in my WIP robotadv driver.

xc/yc: c means center. To convert to x or y, subtract width or height divided by 2.
Yes, save_item didn't support array of attotime in older MAME versions.
I don't see why the leds wouldn't work, maybe an error in your update_display() change.


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:55 Uhr.

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