New version emulator ZEsarUX-1.1

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

New version emulator ZEsarUX-1.1

Post by chernandezba »

Hi

I have uploaded a new version of my ZX80/81/Spectrum emulator on

http://sourceforge.net/projects/zesarux/

Changes are:

Added support for loading .z80 snapshots with unsupported machines like Spectrum +3, Pentagon.
Added support for zip,rar,tar & gz files on menu (uses external programs)
Added loading support for ZX81 EightOne file format .z81
Added fullscreen mode on xwindows driver
Added View Waveform option
Added Visualmem option. It displays write operations to RAM. It is not enabled by default on configure
Added Display palletes: gray mode, green mode, etc
Added some keys of numerical keyboard: / * - +
Added Poke function to menu
Added option to autodetect realvideo programs
Added option to simulate lost vsync on zx80/81
Added aofile WAV format
Improved vertical display synchronization on ZX80/81
Improved view cpu registers option with opcode dissassemble
Fixed opcodes LD IX/IY(h/l),IX/IY(h/l)
Fixed timing with some opcodes. Better display of rainbow (spectrum) and hi-res (zx80/81). Overscan demo is perfect on 128k mode (but not on 48k yet)
Some other minor bugfixes

Cheers
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
1024MAK
Posts: 5103
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: New version emulator ZEsarUX-1.1

Post by 1024MAK »

Sounds like you are making good progress :D

Keep at it ;)

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: New version emulator ZEsarUX-1.1

Post by chernandezba »

1024MAK wrote:Sounds like you are making good progress :D

Keep at it ;)

Mark
Thanks a lot Mark! :)
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
User avatar
stefano
Posts: 542
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: New version emulator ZEsarUX-1.1

Post by stefano »

I peeped in it with Windows but MinGW misses a lot of stuff, so all I could see is a crappy messed-up display and errors like:

ERROR ////
Invalid opcode ED254. Final
PC: F4AA

...for the zx81 and..

ERROR ////
Invalid opcode ED205. Final
PC: 6724


for the Spectrum.

Are the AAlib and Curses libraries used in text mode or are you redefining the character font somehow ?


For the record, here's an incomplete porting hint, which I put in cpu.h:
#ifdef WIN32
/* patching dirent.h for Windows */
#include <windows.h>

#define PATH_MAX 512
#define NAME_MAX 256

#define DT_DIR 4
#define DT_REG 8
#define DT_LNK 10

#define sleep(x) Sleep(1000*x)

const struct my_dirent{
int d_ino;
int d_type;
char d_name[256];
};

#define F_GETFL 0
#define F_SETFL 1
#define O_NONBLOCK 1

#else

#define my_dirent dirent

#endif
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: New version emulator ZEsarUX-1.1

Post by chernandezba »

stefano wrote:I peeped in it with Windows but MinGW misses a lot of stuff, so all I could see is a crappy messed-up display and errors like:

ERROR ////
Invalid opcode ED254. Final
PC: F4AA

...for the zx81 and..

ERROR ////
Invalid opcode ED205. Final
PC: 6724


for the Spectrum.
I have not tested it under Windows, and I don't use Windows, sorry. I do not know why it fails... Those errors you see are cpu invalid opcodes... it shouldn't happen

Are the AAlib and Curses libraries used in text mode or are you redefining the character font somehow ?
I don't redefine any text characters on aalib, cacalib or curses. They are used as text


For the record, here's an incomplete porting hint, which I put in cpu.h:
#ifdef WIN32
/* patching dirent.h for Windows */
#include <windows.h>

#define PATH_MAX 512
#define NAME_MAX 256

#define DT_DIR 4
#define DT_REG 8
#define DT_LNK 10

#define sleep(x) Sleep(1000*x)

const struct my_dirent{
int d_ino;
int d_type;
char d_name[256];
};

#define F_GETFL 0
#define F_SETFL 1
#define O_NONBLOCK 1

#else

#define my_dirent dirent

#endif
Thanks for those Windows definitions

Cheers
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
Post Reply