ZX80/81/Spectrum emulator for Unix

Emulator and emulator development specific topics
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: ZX80/81/Spectrum emulator for Unix

Post by chernandezba »

zsolt wrote:OMG Cesar,
What you did?

I was glad to read about your improvements, but when i recompiled the new version... :shock: :cry:

Your product requires 100% of the CPU time (on my poor HW) :o , and dos not respond in real time
(for example: the ESC pressed and after 6-7 seconds :!: showed the menubox, and the menu items responded more slowly)
Are you familiar with the FUSE emulator? I have used the GTK+ version of it - it required only 10-15% of the CPU time.

Last weekend I did some test with (previous version of) your program and with the "competitors" - this picture shows my experiences.
ClckFreq_test.jpg
Regards,
Zsolt
Hi
Version 0.5 uses less CPU than 0.4 and it should run faster. I think there is something wrong with your environment
Can you post the output of:
-configure
-./zesarux --verbose 3 --machine zx81

Thanks
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
zsolt
Posts: 214
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: ZX80/81/Spectrum emulator for Unix

Post by zsolt »

chernandezba wrote: I think there is something wrong with your environment
Can you post the output of:
-configure
-./zesarux --verbose 3 --machine zx81
It is possible, I will try tonight. What packages must I have?
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: ZX80/81/Spectrum emulator for Unix

Post by chernandezba »

zsolt wrote:
chernandezba wrote: I think there is something wrong with your environment
Can you post the output of:
-configure
-./zesarux --verbose 3 --machine zx81
It is possible, I will try tonight. What packages must I have?
Well, the minimum requisites are:
X11devel and X11extdevel
Alsalib-devel
Phtreads-libs-devel (I think it is already Included with gcc )
Optionally:
Curses-devel
Aalib-devel
Cacalib-devel

You can also try to run with -ao null and see if it uses 100% CPU or not...

Please give me the output of what I told before: compiling and running with verbose 3

Thanks
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
zsolt
Posts: 214
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: ZX80/81/Spectrum emulator for Unix

Post by zsolt »

Here are the outputs (using ">" redirection)
Zsolt
Attachments
verbose3.txt
(29.33 KiB) Downloaded 208 times
configure.txt
(1.07 KiB) Downloaded 220 times
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: ZX80/81/Spectrum emulator for Unix

Post by chernandezba »

zsolt wrote:Here are the outputs (using ">" redirection)
Zsolt
I don't see anything strange... Is it using 100% CPU ? Are you compiling the 0.5 stable version?
Can you run it with -ao null?

Thanks
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: ZX80/81/Spectrum emulator for Unix

Post by chernandezba »

zsolt wrote:Here are the outputs (using ">" redirection)
Zsolt
Hi
You are using an old snapshot version (March 24) and the stable 0.5 is March, 27th 2014
Please test the stable 0.5, download from the files section, not the code section (this is where snapshot version is located)

Thanks
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
zsolt
Posts: 214
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: ZX80/81/Spectrum emulator for Unix

Post by zsolt »

The test is complete, but was not successful :cry:
Sorry,
Zsolt
Attachments
ZEsarUX06a.tar.gz
(120.68 KiB) Downloaded 248 times
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: ZX80/81/Spectrum emulator for Unix

Post by chernandezba »

zsolt wrote:The test is complete, but was not successful :cry:
Sorry,
Zsolt
Hi

I recommend you to use the stable 0.5 version. Snapshot version that you are using may have some patches, tests and another experimental features that can make the emulator unstable.

Also, I need some information from you to try to find the error.
First, what hardware is your pc? Intel/AMD? 32?64bit? cpu speed? Memory? Operating system? Video card? Display resolution?

Second, run the emulator with all of these different options, and in every case, run the command "top" in another text terminal so I can see the cpu use for the zesarux process and some other processes of your system (and send me the captures of the top command in every case):

./zesarux --zoom 1 --verbose 1 --vo xwindows --ao alsa
./zesarux --zoom 1 --verbose 1 --vo xwindows --ao dsp
./zesarux --zoom 1 --verbose 1 --vo xwindows --ao null
./zesarux --zoom 1 --verbose 1 --vo curses --ao alsa
./zesarux --zoom 1 --verbose 1 --vo curses --ao dsp
./zesarux --zoom 1 --verbose 1 --vo curses --ao null
./zesarux --zoom 1 --verbose 1 --vo null --ao alsa
./zesarux --zoom 1 --verbose 1 --vo null --ao dsp
./zesarux --zoom 1 --verbose 1 --vo null --ao null

Thanks a lot

Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
zsolt
Posts: 214
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: ZX80/81/Spectrum emulator for Unix

Post by zsolt »

chernandezba wrote:I recommend you to use the stable 0.5 version...
OK, i found it.
chernandezba wrote:First, what hardware is your pc? Intel/AMD? 32?64bit? cpu speed? Memory? Operating system? Video card? Display resolution?
My laptop: AMD AthlonXP 2600+ (@1400MHz max.); 1280MB DDR-RAM@266MHz; S3 Unichrome shared video @1024x768; Linux Mint 13 Xfce 32bit
The rest will try at home,
Zsolt
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]
User avatar
zsolt
Posts: 214
Joined: Wed Apr 20, 2011 11:43 am
Location: Fót, Hungary

Re: ZX80/81/Spectrum emulator for Unix

Post by zsolt »

done
Attachments
Captures.tar.gz
(571.4 KiB) Downloaded 231 times
ZX81 (8K), ENTERPRISE 128, [ZX SPECTRUM (48K,+,+128K,+2,+2A), TS1000, TS1500, TS2068, Cambridge Z88, PRIMO A64 (red)]
Post Reply