Emuladores de Ajedrez de MESS
Moderador: Luis a
Re: Emuladores de Ajedrez de MESS
Hi Berger,
you can also remove the "Update5.zip" from this site, because 2 days ago (20.6.) I've uploaded
a new complete package with the latest changes ("CPU Divider" and new Prestige artwork).
CBF
you can also remove the "Update5.zip" from this site, because 2 days ago (20.6.) I've uploaded
a new complete package with the latest changes ("CPU Divider" and new Prestige artwork).
CBF
Re: Emuladores de Ajedrez de MESS
Vale. Voy a revisarlos con la última versión de CB-Emu y luego los agruparé.berger escribió:Hola,
Tienes un montón de trabajo hecho pero muy disperso. Me pregunto si podrías agruparlo todo en un archivo para reducir el número de enlaces de descarga.
Saludos,
Berger
Saludos,
Luis
- berger
- Moderador del foro
- Mensajes: 1392
- Registrado: 12 Ene 2013 23:00
- Ubicación: Barcelona (CATALUNYA)
- Contactar:
Re: Emuladores de Ajedrez de MESS
¡Gracias!Luis a escribió:Vale. Voy a revisarlos con la última versión de CB-Emu y luego los agruparé.

Moderador del foro
Re: Emuladores de Ajedrez de MESS
Hi,
thanks CBF, as usual.
For your information, I noticed a unusually high CPU load using the EAG2100 with CPU divider activated (which is the default setup). Too high on my laptop's core, stuck at 100% load, to avoid clock shifting.
Disabling it using configuration setting gets back to normal load.
I had no similar issue with EAS Budapest or Glasgow, other ones using this new accurate CPU clocking.
Kind regards,
Tibono
thanks CBF, as usual.
For your information, I noticed a unusually high CPU load using the EAG2100 with CPU divider activated (which is the default setup). Too high on my laptop's core, stuck at 100% load, to avoid clock shifting.
Disabling it using configuration setting gets back to normal load.
I had no similar issue with EAS Budapest or Glasgow, other ones using this new accurate CPU clocking.
Kind regards,
Tibono
Re: Emuladores de Ajedrez de MESS
Hi,
I performed additional testing. The CPU divider feature seems really costy, whatever the emulated system:
on my laptop (dual core T4500 @2,3Ghz)
feasbu 3,2Mhz previous version (May) uses 16% CPU of 1 core --> new version uses 64% (x4)
feasgla 3,6Mhz ======================= 18% ============================= 72% (x4)
feag2100 6Mhz ======================= 22% ============================= 100% (> x4)
So no real specific with Elite A/G 2100 except it reaches too high a CPU peak on my configuration assuming CPU divider feature.
Which acts as a multiplier as far as CPU consumption is concerned!
KR, Tibono
I performed additional testing. The CPU divider feature seems really costy, whatever the emulated system:
on my laptop (dual core T4500 @2,3Ghz)
feasbu 3,2Mhz previous version (May) uses 16% CPU of 1 core --> new version uses 64% (x4)
feasgla 3,6Mhz ======================= 18% ============================= 72% (x4)
feag2100 6Mhz ======================= 22% ============================= 100% (> x4)
So no real specific with Elite A/G 2100 except it reaches too high a CPU peak on my configuration assuming CPU divider feature.
Which acts as a multiplier as far as CPU consumption is concerned!
KR, Tibono
Re: Emuladores de Ajedrez de MESS
Yes Tibono, unfortunately you're right -tibono escribió:Hi,
I performed additional testing. The CPU divider feature seems really costy, whatever the emulated system:
this CPU divider feature is definitely not working correctly (at least in MESS version 0.175 which I'm using)!

I can also confirm these problems with all modules using such a CPU divider, and since 'hap' certainly won't help me
(and I don't have enough knowledge of hardware and the MAME internals) the only way for me is to completely
remove the code for these CPU dividers in all devices and go back to older driver versions.
I'm already working on it, but it's a lot of work - the current CB-Emu version is seriously broken by the last MAME updates ...
CBF
Re: Emuladores de Ajedrez de MESS
I agree that the 4*more taxing resources is unfortunate. But it is as expected. The reason is that before each read/write, MAME inserts a break in the emulation flow to check the address bus to apply the cpu divider(this is up to a couple of million times per second).
Re: Emuladores de Ajedrez de MESS
Hmm? Are you serious?hap escribió:I agree that the 4*more taxing resources is unfortunate. But it is as expected.
How useful is it to add this CPU divider code just to make the device timing a bit more accurate,
when now even a modern computer (Core i5/3GHz) is not able to emulate a 4-8 MHz 6502 CPU with full (100%) speed???
I've now removed all this CPU divider ('trampoline') code again in CB-Emu and reverted it back to a previous state.
Now there's still one thing in the code, which I'm not sure about:
In older versions there was this code (as example) in MACHINE_CONFIG:
Código: Seleccionar todo
MCFG_CPU_PERIODIC_INT_DRIVER(fidel6502_state, irq0_line_hold, 600) // guessed
Código: Seleccionar todo
MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_on", fidel6502_state, irq_on, attotime::from_hz(38400/64))
MCFG_TIMER_START_DELAY(attotime::from_hz(38400/64) - attotime::from_hz(38400*2)) // edge!
MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_off", fidel6502_state, irq_off, attotime::from_hz(38400/64))
MCFG_TIMER_DRIVER_ADD_PERIODIC("dummy_timer", fidel6502_state, dummy, attotime::from_hz(XTAL_4MHz))
In other words:
Since I've now removed the CPU divider code again, should I rather use the 1st (older) or the 2nd (newer) version above?
Is this "dummy_timer" necessary at all without the CPU divider code?
CBF
Re: Emuladores de Ajedrez de MESS
dummy_timer is for the CPU divider. If you remove the CPU divider, you won't need this.
IRQ timer is unrelated to it.
IRQ timer is unrelated to it.