Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  ZX Spectrum emulator
« previous next »
  • Print
Pages: 1 [2] 3 4 ... 6

Author Topic: ZX Spectrum emulator  (Read 36256 times)

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: ZX Spectrum emulator
« Reply #15 on: July 19, 2006, 08:50:18 AM »
well, i haven't touched this from the moment i posted this to tracker due to workplace change and some other things ... i just have not much spare time now ...

so the state is:
working ZX Spectrum 48k emulation
should work on any of currently supported platforms  ( except archos due to very small screen... but if anyone wants this shouldn't require much changes)
lack of sound
maybe slightly confusing input system ( support for basic keyboard input and kempston joystick emulation )
terrible in terms of speed screen updating routine (though universal and works on all targets :) )
works like a viewer for tap , tzx , .z80 , sna files

and works, as i remember, at about 50% onmy iPod mini
« Last Edit: July 19, 2006, 08:51:49 AM by theli »
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline miner49er

  • Member
  • *
  • Posts: 27
Re: ZX Spectrum emulator:
« Reply #16 on: July 19, 2006, 04:32:30 PM »
Aaarrgghh!

When I do patch < zxbox.patch

I get

patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.

I (quite ashamed to admit) havn't tried to use patches yet :-(

But have built rockbox succesfully in the past (I coded Spacerocks)


Edit: I've now tried another patch (maze something) and this works fine. Could it be my version of gunzip? I'll investigate... Or post a non-gzipped version...
« Last Edit: July 19, 2006, 04:43:04 PM by miner49er »
Logged

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: ZX Spectrum emulator
« Reply #17 on: July 20, 2006, 02:48:48 AM »
i remember linuxstb stating patch was gzipped 2 times ... though noone else experienced this ...
so try to gunzip it twice :)
« Last Edit: July 20, 2006, 04:33:32 AM by theli »
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline miner49er

  • Member
  • *
  • Posts: 27
Re: ZX Spectrum emulator
« Reply #18 on: July 20, 2006, 07:51:48 AM »
That's it :-)

Can't try it here at work but the very second I get home I will, well after dinner and putting my kid to bed anyway.

Ooohhh, exciting stuff :-)

Logged

Offline miner49er

  • Member
  • *
  • Posts: 27
Re: ZX Spectrum emulator
« Reply #19 on: July 20, 2006, 05:11:45 PM »
Nothing's ever simple is it?

I don't appear to have an apps/plugins/SUBDIRS file, so it can't be patched.

What's going on dude?

I really want this to work.

I won't give up though :-)
Logged

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: ZX Spectrum emulator
« Reply #20 on: July 21, 2006, 02:30:05 AM »
hmm .. that's very strange :)
you should have it ...


http://www.rockbox.org/viewcvs.cgi/apps/plugins/SUBDIRS


so you are running from incorrect directory or there is something wrong with your sources
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline miner49er

  • Member
  • *
  • Posts: 27
Re: ZX Spectrum emulator
« Reply #21 on: July 21, 2006, 03:19:10 AM »
okay, I do have a appls/plugins/SUBDIRS  file - I have to specify where it is though after running patch.

Question: When I run patch < whatever.patch, where should I run it from? I've been running it from my root rockbox directory and any new files that are in the patch are placed there, I then have to manually copy them over to the correct place - this seems a bit rubbish to me.

Are there any command line params to specify where files shoulld go - I must be doing something wrong here.
Logged

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: ZX Spectrum emulator
« Reply #22 on: July 21, 2006, 07:18:35 AM »
well, i don't know what is wrong but running
patch -p0 < zxbox.patch in rockbox root directory should do all fine
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: ZX Spectrum emulator
« Reply #23 on: July 21, 2006, 08:17:56 AM »
anyway .. does someone want to work on it?
cause it doubtfully would be committed in its current state if none would actively work on it

and i just have no opprtunity to do this now ...
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline shotofadds

  • Developer
  • Member
  • *
  • Posts: 368
Re: ZX Spectrum emulator
« Reply #24 on: July 21, 2006, 12:32:43 PM »
I'd help out with this, but for two things:

1) At the moment I'm limited to a Windows PC, so trying to contemplate patching, CVS etc on this machine gives me the shudders!

2) I've just replaced my broken iRiver with a Zen Vision:M, for which there is no Rockbox yet. (I also don't feel I'm technically knowledgable enough to help out with the start-of-life coding for a new port)

Unfortunately while 1) can be overcome, 2) is a bit of a show-stopper for me  >:(
Logged

Offline miner49er

  • Member
  • *
  • Posts: 27
Re: ZX Spectrum emulator
« Reply #25 on: July 21, 2006, 01:54:49 PM »
If I could get it building then I would love to help work on it. But perhaps the trouble i'm having getting it to build indicates how succesfull I would be at adding anything to it...

Perhaps if you could identify parts that could be optimised I could have a look.

I'd love to see this working at it's full potential.

Edit: Got it working! Yay! Seems a bit slow, now I will look at the code and see if there is anything obvious to speed it up.
« Last Edit: July 21, 2006, 02:33:27 PM by miner49er »
Logged

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: ZX Spectrum emulator
« Reply #26 on: August 14, 2006, 05:49:14 AM »
i've uploaded a new version on the tracker...
reworked virtual keyboard input
it now uses grayscale lib on non-color targets ... should work on any current target
as for perfomance .... when not using grayscale lib on my iPod mini it runs at about 41 FPS (25 == realtime)
with grayscale i think it is near 90 ( or even 100.. just had no opportunity to measure)
i'm wondering now at what speed it runs on color targets ... so if anyone is willing to test .....

so the only thing left is sound support (well, mainly, sound output)... i would be thankful if anyone can help in this part.

some more screenshots:
Chuckie the egg on Archos Recorder:


Some Demo/Intro on iPod 4g without grayscale lib:

and with grayscale:

and the same on nano in color:
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline miner49er

  • Member
  • *
  • Posts: 27
Re: ZX Spectrum emulator
« Reply #27 on: August 15, 2006, 04:58:41 PM »
Coolness!

I will try this out at the first available opportunity!

You managed to speed it up then?
Logged

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: ZX Spectrum emulator
« Reply #28 on: August 16, 2006, 12:28:42 AM »
slightly :)
i wonder how the speed is on other targets....
« Last Edit: August 16, 2006, 12:30:23 AM by theli »
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: ZX Spectrum emulator
« Reply #29 on: August 29, 2006, 11:26:03 AM »
i've updated a patch and as it now can show actual speed of emulation i wonder what the speed is on different targets .... with different frameskip settings ... (well, i'm interested in 0-3 frameskip mainly :) )

btw i saw it was included in iRiver H3x0: Kosh's 'Experimental' build had anyone tried it?

ps: i advice to turn sound off for now ... this sound horrible still ;)
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

  • Print
Pages: 1 [2] 3 4 ... 6
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  ZX Spectrum emulator
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.076 seconds with 14 queries.