ZEsarUX beta 5.1

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

ZEsarUX beta 5.1

Post by chernandezba »

Hi

I have just uploaded today a new beta version of ZEsarUX.
Binaries are for Linux, Mac, Windows and Raspberry (raspbian)

You may download it from
https://sourceforge.net/projects/zesaru ... _versions/

Changelog is:
Added machine Chrome (Italian ZX Spectrum Clone)
Added menu movement with mouse
Added Visualmem, Poke, Find, Save binary menus also for Sinclair QL
Added setting to test configuration
Added remote commands: get-audio-buffer-info, get-machines, save-binary-internal, set-machine, set-window-zoom
Added QL GUI Style
Added menu to find and set lives in games
Added actions commands to breakpoints, so you can run some actions when a breakpoint is fired
Added up to three AY Chips
Added emulation of other DAC chips appart from Specdrum: Covox, etc
Added setting to set 256kb or 512kb on Spectrum 128k machines
Added setting to set F keys (F1, F2, etc) to run different actions: reset, nmi, exit emulator, etc
Added TBBlue Sprite chip emulation
Improved TBBlue emulation: 1 MB RAM
Fixed turbo mode and breakpoints. Breakpoints were disabled when changing turbo mode
Fixed latency problems on all audio drivers
Fixed AY sound bugs when volume levels where > 15
Some other minor bugfixes and improvements


I hope you like it


Regards
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
wilco2009
Posts: 74
Joined: Sat Feb 04, 2017 12:03 pm

Re: ZEsarUX beta 5.1

Post by wilco2009 »

More hardware added! Nice! :D :D
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: ZEsarUX beta 5.1

Post by chernandezba »

Hi

I have uploaded a new beta version of ZEsarUX.

You may download it from
https://sourceforge.net/projects/zesaru ... _versions/

Changelog since the last beta is:

Added Layer2 Next emulation
Added machine MK14 (First sinclair machine)
Added machine ZX-Evolution TSConf
Added remote command send-keys-ascii and send-keys-string
Added two more f function keys: load binary and save binary
Added zxuno hardware scroll registers
Updated Next memory mapping
Updated Next ports 53h, 55h, 57h are indeed xx53h, xx55h, xx57h
Improved menu: set to black and white when opening menu and multitask off
Some other bug fixes and minor improvements

You can view the full changelog here
https://sourceforge.net/p/zesarux/code/ ... /Changelog

Cheers
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
marste
Posts: 250
Joined: Sun Aug 10, 2014 9:58 pm
Location: Italy
Contact:

Re: ZEsarUX beta 5.1

Post by marste »

Ciao Cesar,

Just to say that I did a little update to the function "out_port_zx80_no_time" in the module "operaciones.c" in order to have the possibility to write a file trace from the emulated program (simply outputting a value on port 53) and read it later.

I just added:

Code: Select all

        //-------- DEBUG WRITE
        if (puerto_l==0x53) {
                static FILE* dbglogfile = NULL; // put it on global space
                if (! dbglogfile)
                        dbglogfile = fopen("ZX8x-OUT53.LOG", "wb");
                fputc(value, dbglogfile);
        }
        //--------
If you want to include it in the standard release (maybe enabling it with a flag) I think might be useful in some debugging situation in general.

And thank you for your great emulator!
_Stefano
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: ZEsarUX beta 5.1

Post by chernandezba »

Thanks. I have already an output port, to show characters on console. It is only working on Speccy machines, but it can easily be added to others, like zx81. Just only need to find two available ports. Is that port 53 unused on all cases?

Cheers
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
marste
Posts: 250
Joined: Sun Aug 10, 2014 9:58 pm
Location: Italy
Contact:

Re: ZEsarUX beta 5.1

Post by marste »

I've just looked at 0x35 and 0x53 in EigthyOne and ZesarUx and they both seems unused in ZX80/ZX81 emulation in both emulators.

PS redirecting console output to a file can be an option, but then one should know which character to skip (console has other. output mixed) in order to postprocess the output as I'm doing (first with hexdump and then into excel like app)...
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ZEsarUX beta 5.1

Post by sirmorris »

Any IO address with a zero in bits 0..2 is not usable on a real ZX81. This is because the bottom 3 bits of IO operations are not decoded and used as ULA control signals. I don't know what effect this may have in an emulator.

http://problemkaputt.de/zxdocs.htm#zx80zx81ioports
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZEsarUX beta 5.1

Post by PokeMon »

Bit 2 is not important as long as no printer is connected ... or configured.
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: ZEsarUX beta 5.1

Post by chernandezba »

marste wrote: Sat Oct 14, 2017 2:06 pm I've just looked at 0x35 and 0x53 in EigthyOne and ZesarUx and they both seems unused in ZX80/ZX81 emulation in both emulators.

PS redirecting console output to a file can be an option, but then one should know which character to skip (console has other. output mixed) in order to postprocess the output as I'm doing (first with hexdump and then into excel like app)...
So I will use ports 35H and 53H for this. Debug ports can show a ascii char on console and a number (like printf "%c" and printf "%d")
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
marste
Posts: 250
Joined: Sun Aug 10, 2014 9:58 pm
Location: Italy
Contact:

Re: ZEsarUX beta 5.1

Post by marste »

The attachment is just to give you an idea of my use of trace and why I need a clean one.
This file is obtained with hexdump formatting and then imported into libreoffice.
Attachments
libreofficetracetemplate.ods
(207.21 KiB) Downloaded 366 times
Post Reply