- Status Closed
- Percent Complete
- Task Type Patches
- Category Games
- Assigned To No-one
- Operating System All players
- Severity Medium
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#5400 - ZX Spectrum 48 emulator
this is ported spectemu
http://www.inf.bme.hu/~mszeredi/spectemu/ thanks for Dave Chapman and Szeredi Miklos (spectemu author) for help
should work on any 2bpp and 16bpp target.
Closed by linuxstb
2006-09-15 11:19
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2006-09-15 11:19
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Now committed to CVS, thanks.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Does this work with the Archos models, or is that just wishful thinking?
it can be modified to work on archos though i’m not sure it would be usable on 112×64 mono lcd
Good point.
I guess greyscale mode would be too slow.
We could scroll the screen, with hacks for certain games (eg. manic miner) to keep the main sprite on screen.
Maybe, I’ll just code a jet set willy type game instead.
Perhaps I haven’t looked hard enough, but would anyone like to provide an explaination of how to use this? I found some tzx files and they open, but i cant seem to do anything in the games. I see all the button config stuff in the menu but I can’t figure it out.
as tracker is not forums please discuss here:
http://forums.rockbox.org/index.php?topic=4148.0 button config is just mapping player buttons to some zx spectrum keys
cpu_boosting
grayscale lib support (undef USE_GRAY in zxconfig.h to disable)
reworked virtual keyboard
now it runs on iPod Mini 2g without using grayscale lib at 16fps withiut cpu boosting and at about 41 fps with boosting
using grayscale lib makes it much slower on iPod mini. don’t know how it is on other targets
as for grayscale lib… these are some screenshots of one 48k intro:
http://img142.imageshack.us/img142/9859/castorgraydp6.png ← grayscale
http://img100.imageshack.us/img100/6655/castor4g2bppuo6.png ← 2bpp
http://img95.imageshack.us/img95/2443/castornanoie3.png ← the same in color on nano
zxbox is still lacking sound though i’m sure it can be implemented
well, only output needs to be implemented imo…
i’m just not skilled enough to do this… :(
so anyone is welcome to implement this so we can have simple 48k Spectrum emulator :)
oh, and another thing … actually it can be compiled for any target with LCD_BITMAP though keymaps are not defined for all…
* added support for all current targets (well, have no keymaps for sansa…)
* capital E in virtual keyboard maps to Enter
* capital S in virtual keyboard maps to Space
btw, Chuckie The Egg looks even more playable than on iPod mini :)
i meant more playable on Archos Recorder
small fixes
last version misses
— apps/plugins/viewers.config 9 Aug 2006 12:04:13 -0000 1.35
+++ apps/plugins/viewers.config 15 Aug 2006 10:57:56 -0000
@@ -23,3 +23,7 @@
bmp,rocks/rockpaint, 01 10 01 10 01 10
m2v,viewers/mpegplayer,5D 7F 5D 7F 5D 7F
iriver,viewers/iriver_flash,2A 7F 41 41 7F 2A
+tap,viewers/zxbox,66 52 4A 66 52 4A
+sna,viewers/zxbox,66 52 4A 66 52 4A
+tzx,viewers/zxbox,66 52 4A 66 52 4A
+z80,viewers/zxbox,66 52 4A 66 52 4A
i’ve measured fps on mini with grayscale in zxbox .. its about 16.2 fps against 41 fps in 2bpp mode :(
new version adds support for buffered mode in grayscale lib
Chuckie Egg runs at ~23.1 FPS on iPod mini
output FPS on screen when in buffered and into logf when in unbuffered mode (in grayscale)
i’ve found that Makefile misses
-I. $(TARGET_INC)
in
INCLUDES=
hope this time it is fine….
fixed all warnings … succesfully built for
mini
h100
h300
video
ondio FM
nano
x5
sims and builds
without any warning/error
oops…tiny fix
put this into apps/plugins/zxbox and define HAVE_SOUND in zxconfig.h to have stupid/dirty sound output implementation…
predefined keymaps, menu reworking, volume settings
more options : frame-skipping, sound on/off, toggle ‘fast’ mode
output actual speed of emulation in percent rather than number of rendered frames
timing implementation (no >100 % speed in sims)
known bugs:
volume setting doesn’t have any influence and sound is still horrible :) ( i doubt i’ll manage to get this normal :( )
far better sound (though not perfect and affects emulation speed ( about 116% instead of 100 ))
volume option is working now
Can’t get this to compile against a clean cvs. I keep getting the following error message when I try to “make”:
make: * zxbox: No such file or directory. Stop
make[2]: * [zxbox] Error 2
make[1]: * [rocks] Error 2
make: * [all] Error 2
what target are tou trying to make it for?
how did you patched?
do you have apps/plugins/zxbox dir?
btw, though sound affects speed of emulation so that it can differ from 100% when sound is off 100% is max (withouth ‘fast’ mode)
Ah, figured it out, I was building for h300 having patched using -p0.
The problem was that I was patching from outside the rockbox directory so it created the apps/plugins/zxbox directory.
Problem solved!
code cleanup
now using IRAM correctly (i hope)
i’m attaching an apps/plugins/zxbox.c file separately cause cvsdo refused to produce diff for it :(
anyway it didn’t change
fixed bug with undetecting file format by extension when extension contains upper letters… ( strcmp → strcasecmp )
fix
* now if any of {height,width} of screen is smaller it would be rescaled to fit the whole screen
(this fixes gigabeat)