Page 6 of 8

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Thu Jun 01, 2023 10:22 pm
by dr beep
kokkiklhs wrote: Thu Jun 01, 2023 10:19 pm
dr beep wrote: Thu Jun 01, 2023 10:14 pm I must compile a new version. This version has a debuggerroutine active which slows the emulator down
Wow, this sounds great! I'm looking forward to it! Furthermore I will inform geco about the potential bug in his Spemu, he may want to fix it, as his latest compiled version is from 2014.
Thank you for the very detailed explanation, even though I didn't understand all of it (I need to study more about Z80 assembly), I'm sure geco will do!!
8-)
New version now in the link.

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Thu Jun 01, 2023 10:25 pm
by dr beep
DEBUG-mode was still in it.

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Thu Jun 01, 2023 10:26 pm
by kokkiklhs
Faster than light!! You rock!!!
Thank you so much, I will do some further testing tomorrow!
8-)

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Thu Jun 01, 2023 10:33 pm
by dr beep
kokkiklhs wrote: Thu Jun 01, 2023 10:26 pm Faster than light!! You rock!!!
Thank you so much, I will do some further testing tomorrow!
8-)
I was still too fast. Now right version.

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Thu Jun 01, 2023 10:42 pm
by kokkiklhs
dr beep wrote: Thu Jun 01, 2023 10:33 pm I was still too fast. Now right version.
Yes, I noticed that the previous 2.16 version was much slower than 2.15! I'll see the last one! Thank you, Johan!

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Fri Jun 02, 2023 6:39 am
by dr beep
kokkiklhs wrote: Thu Jun 01, 2023 7:07 pm
So the compatibility rate is extremely high (much better than it was before v2.0) and the speed is more than satisfactory!!! I am truly impressed!
Games that don't use full screen (ie 1K games that only produce a few lines) can run faster when you activate the menu and run the speedfinder.

Especially older games have a screen with multiple linefeeds to fill the screen.
The speedfinder count's those lines and replaces them with a single JP (HL).
The emulator knows that this command is the end of the screen and will stop updatung the screen.

A boardgame like the original 1K chess uses 8 lines. That means that 2/3 of the screen can be skipped when updating.
This can give more speed.

My modern 1K games all end with JP (HL) on the screen so they run faster directly after loading.

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Fri Jun 02, 2023 6:55 am
by dr beep
kokkiklhs wrote: Thu Jun 01, 2023 10:19 pm
Wow, this sounds great! I'm looking forward to it! Furthermore I will inform geco about the potential bug in his Spemu, he may want to fix it, as his latest compiled version is from 2014.
Thank you for the very detailed explanation, even though I didn't understand all of it (I need to study more about Z80 assembly), I'm sure geco will do!!
8-)
As I recall the Enterprise (memorylayout)I think we should join forces and make it a full speed ZX81 emulator on the Enterprise.
His knowledge of the enterprise and my idea how I coded the SAM81-emulator should work together.

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Fri Jun 02, 2023 12:51 pm
by dr beep
kokkiklhs wrote: Thu Jun 01, 2023 10:42 pm
dr beep wrote: Thu Jun 01, 2023 10:33 pm I was still too fast. Now right version.
Yes, I noticed that the previous 2.16 version was much slower than 2.15! I'll see the last one! Thank you, Johan!
Due to multiple ZIP-files yesterday wrong file was uploaded.
Now correct version.

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Fri Jun 02, 2023 6:30 pm
by kokkiklhs
dr beep wrote: Fri Jun 02, 2023 6:55 am As I recall the Enterprise (memorylayout)I think we should join forces and make it a full speed ZX81 emulator on the Enterprise.
His knowledge of the enterprise and my idea how I coded the SAM81-emulator should work together.
I am amazed that you are considering this as a good idea!!! If this ever happens, you'll both make a happy man out of me! :D
dr beep wrote: Fri Jun 02, 2023 12:51 pm Due to multiple ZIP-files yesterday wrong file was uploaded.
Now correct version.
Yes, I tested the second 2.16 uploaded version and it was slow, as well! Now it's time to test the right one! You are my hero!!!
8-)
Well, on the latest version, 3D Ant Attack plays nicely, I also tested Omega Phoenix (I hadn't before) and it plays well and at a reasonable speed! Yay!!!!
The only game I couldn't get to run though (neither with previous versions) is 81-tris and I can't see an obvious reason, seems like a "normal" 16k game to me...

Re: SP-2-ZX81, the new ZX81-emulator for the 48K ZX Spectrum

Posted: Fri Jun 02, 2023 9:47 pm
by dr beep
kokkiklhs wrote: Fri Jun 02, 2023 6:30 pm I am amazed that you are considering this as a good idea!!! If this ever happens, you'll both make a happy man out of me! :D
In 2006 or so I had plans to code emulators on multiple machines.
Most wanted would be machines where the memory could be used on right addresses with banks like on the SAM.
By heart the enterprise can do this. With the right expertise from both sides we could make a good emulator.
The only game I couldn't get to run though (neither with previous versions) is 81-tris and I can't see an obvious reason, seems like a "normal" 16k game to me...
Just report not working games.
So far MAYHEM, intrupt controlled programs like my CALCULUS MAZXIMUS and 3D ANT ATTACK were reported and I was able
to add them without losing speed in the emulator.