Emuladores de Ajedrez de MESS

Otras participaciones no clasificadas

Moderador: Luis a

Re: Emuladores de Ajedrez de MESS

Notapor CBF » 22 Jun 2018 10:26

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
CBF
Veterano
Veterano
 
Mensajes: 205
Registrado: 21 May 2016 12:13

Re: Emuladores de Ajedrez de MESS

Notapor berger » 22 Jun 2018 10:47

Done! Thank you for reporting this. :)

Berger
Moderador del foro
Avatar de Usuario
berger
Moderador del foro
Moderador del foro
 
Mensajes: 1279
Registrado: 12 Ene 2013 23:00
Ubicación: Barcelona (CATALUNYA)

Re: Emuladores de Ajedrez de MESS

Notapor Luis a » 22 Jun 2018 19:53

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


Vale. Voy a revisarlos con la última versión de CB-Emu y luego los agruparé.

Saludos,
Luis
Luis a
Senior
Senior
 
Mensajes: 80
Registrado: 21 Ene 2013 12:35

Re: Emuladores de Ajedrez de MESS

Notapor berger » 22 Jun 2018 20:52

Luis a escribió:Vale. Voy a revisarlos con la última versión de CB-Emu y luego los agruparé.

¡Gracias! :)
Moderador del foro
Avatar de Usuario
berger
Moderador del foro
Moderador del foro
 
Mensajes: 1279
Registrado: 12 Ene 2013 23:00
Ubicación: Barcelona (CATALUNYA)

Re: Emuladores de Ajedrez de MESS

Notapor tibono » 22 Jun 2018 22:13

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
Avatar de Usuario
tibono
Senior
Senior
 
Mensajes: 80
Registrado: 20 Ago 2015 22:07

Re: Emuladores de Ajedrez de MESS

Notapor tibono » 23 Jun 2018 09:31

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
Avatar de Usuario
tibono
Senior
Senior
 
Mensajes: 80
Registrado: 20 Ago 2015 22:07

Re: Emuladores de Ajedrez de MESS

Notapor CBF » 23 Jun 2018 11:27

tibono escribió:Hi,
I performed additional testing. The CPU divider feature seems really costy, whatever the emulated system:

Yes Tibono, unfortunately you're right -
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
CBF
Veterano
Veterano
 
Mensajes: 205
Registrado: 21 May 2016 12:13

Re: Emuladores de Ajedrez de MESS

Notapor hap » 23 Jun 2018 12:54

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).
hap
Senior
Senior
 
Mensajes: 45
Registrado: 27 Oct 2016 23:42

Re: Emuladores de Ajedrez de MESS

Notapor CBF » 23 Jun 2018 13:32

hap escribió:I agree that the 4*more taxing resources is unfortunate. But it is as expected.

Hmm? Are you serious?

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


This has been changed recently to:
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))


Have these changes anything to do with the CPU divider, or are these changed lines just a 'better' code?
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
CBF
Veterano
Veterano
 
Mensajes: 205
Registrado: 21 May 2016 12:13

Re: Emuladores de Ajedrez de MESS

Notapor hap » 23 Jun 2018 14:07

dummy_timer is for the CPU divider. If you remove the CPU divider, you won't need this.
IRQ timer is unrelated to it.
hap
Senior
Senior
 
Mensajes: 45
Registrado: 27 Oct 2016 23:42

AnteriorSiguiente

Volver a GENERAL

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados

cron

x