ANN: Spud81

Emulator and emulator development specific topics
karingal
Posts: 30
Joined: Mon Feb 04, 2013 2:30 pm

ANN: Spud81

Post by karingal »

I don't think this was ever announced this on here so may I proudly present...

Spud81

I don't intend adding any more features to it but if you do think of something then let me know and I'll consider it or if you find a bug then I'll definitely fix it.
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ANN: Spud81

Post by sirmorris »

A new emulator on the block? Cool! I'll give it a whizz!

C
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: ANN: Spud81

Post by dr beep »

karingal wrote:I don't think this was ever announced this on here so may I proudly present...

Spud81

I don't intend adding any more features to it but if you do think of something then let me know and I'll consider it or if you find a bug then I'll definitely fix it.

Can't get ANY .P to load
Last edited by dr beep on Thu Feb 07, 2013 10:05 pm, edited 1 time in total.
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: ANN: Spud81

Post by Andy Rea »

Cool, i'll give it a go later, i'll give it something difficult to work with :D


Andy
what's that Smell.... smells like fresh flux and solder fumes...
karingal
Posts: 30
Joined: Mon Feb 04, 2013 2:30 pm

Re: ANN: Spud81

Post by karingal »

dr beep wrote:
karingal wrote:I don't think this was ever announced this on here so may I proudly present...

Spud81

I don't intend adding any more features to it but if you do think of something then let me know and I'll consider it or if you find a bug then I'll definitely fix it.

Can't get ANY .P to load
Load File then LOAD "" <ENTER>

Sorry it's a bit complicated...
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: ANN: Spud81

Post by dr beep »

I tested some 1K hires games since these don't use any standard screenroutine with a buffer of 6k or so.

SPUD passed the tests!
karingal
Posts: 30
Joined: Mon Feb 04, 2013 2:30 pm

Re: ANN: Spud81

Post by karingal »

dr beep wrote:I tested some 1K hires games since these don't use any standard screenroutine with a buffer of 6k or so.

SPUD passed the tests!
Hoorah!!!!!

(and a little bit relieved...)
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: ANN: Spud81

Post by Andy Rea »

here we go, i've thrown my stuff at it and here are the results....

If no sound device is avai;able Spud81 fails to launch after message box telling you that direct-sound failed to create an object.

The debugger causes a crash when single stepping the JP (HL) instruction

Zon-x ports... there is some confusion surrounding the correct ports, however by working from a real ZON-X it has been noted that A4 is not took into consideration when decoding the port addresses, the up-shot is that ports $CF and $DF are one and the same, as are ports $0F and $1F... so when driving the ay emulation for ZON-X you need to allow for this dual port business.

download CLCKFREQ.P and ZXTEST2.P available here viewtopic.php?t=685&p=6120#p6120

CLCKFREQ reports an overly optimistic speed when compared to a real ZX81.

ZXTEST2.P what should happen is the whole screen bobs up and down by 1 pixel line, Spud81 and Eightyone (along with some chardware clone machines ) fail this one :D

some other thoughts, definitely work on a better tape gui, add more border sizes, personally i like the small ( only a few pixels wide )

anyway it's really great work, much better than the hacky thing i did some time back, since lost into the either

Regards Andy
what's that Smell.... smells like fresh flux and solder fumes...
karingal
Posts: 30
Joined: Mon Feb 04, 2013 2:30 pm

Re: ANN: Spud81

Post by karingal »

Andy Rea wrote:here we go, i've thrown my stuff at it and here are the results....

If no sound device is avai;able Spud81 fails to launch after message box telling you that direct-sound failed to create an object.
Thank for that one, as I've always had a sound device I never tested that!!
The debugger causes a crash when single stepping the JP (HL) instruction
I've used this debugger in 3 emulators now and you're the 1st person to report that bug, I'll fix that (in all 3 emulators!!!).
Zon-x ports... there is some confusion surrounding the correct ports, however by working from a real ZON-X it has been noted that A4 is not took into consideration when decoding the port addresses, the up-shot is that ports $CF and $DF are one and the same, as are ports $0F and $1F... so when driving the ay emulation for ZON-X you need to allow for this dual port business.
Easy fix, done.
download CLCKFREQ.P and ZXTEST2.P available here viewtopic.php?t=685&p=6120#p6120

CLCKFREQ reports an overly optimistic speed when compared to a real ZX81.

ZXTEST2.P what should happen is the whole screen bobs up and down by 1 pixel line, Spud81 and Eightyone (along with some chardware clone machines ) fail this one :D
Dunno why it's shown to be running a tad fast, not going to worry though, no-one will notice!!

Hmm, I'll look at the display routines, dunno if I can fix though.
some other thoughts, definitely work on a better tape gui, add more border sizes, personally i like the small ( only a few pixels wide )
There is no tape GUI!!, currently Spud81 only loads the .p format. Is there any other format I should consider?
anyway it's really great work, much better than the hacky thing i did some time back, since lost into the either

Regards Andy
Ta!!
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: ANN: Spud81

Post by Andy Rea »

Hi Karingal,

With regards to the display failing to bob up and down by 1 scanline, but instead disrupting the characters i believe is to do with your simulation of the hardware specifically the hsync generator...

the counter for which can ONLY be reset by an INTACK which normally happens at the end of each scan-line after the CPU is halted and then bit 6 of the R register goes low. the Hsync ( and the increment of the internal character line counter) occurs 16 cycles after the INTACK

Grant Searles webpage http://searle.hostei.com/grant/zx80/zx80nmi.html has some information about this in particular the section near the bottom of the page headed HARDWARE VERIFICATION.

if you fix it correctly you should also see a different behavior when typing LOAD "" when no file has been loaded from the file menu first, instead of the vertical bars you should get the more familiar slanted bars.

HTH Andy
what's that Smell.... smells like fresh flux and solder fumes...
Post Reply