This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5400 - ZX Spectrum 48 emulator
|
Detailsthis 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. |
This task depends upon
Closed by Dave Chapman (linuxstb)
Friday, 15 September 2006, 13:19 GMT+2
Reason for closing: Accepted
Additional comments about closing: Now committed to CVS, thanks.
Friday, 15 September 2006, 13:19 GMT+2
Reason for closing: Accepted
Additional comments about closing: Now committed to CVS, thanks.
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.
http://forums.rockbox.org/index.php?topic=4148.0
button config is just mapping player buttons to some zx spectrum keys
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
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
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 :)
* 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 :)
--- 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
Chuckie Egg runs at ~23.1 FPS on iPod mini
-I. $(TARGET_INC)
in
INCLUDES=
succesfully built for
mini
h100
h300
video
ondio FM
nano
x5
sims and builds
without any warning/error
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 :( )
volume option is working now
make: *** zxbox: No such file or directory. Stop
make[2]: *** [zxbox] Error 2
make[1]: *** [rocks] Error 2
make: *** [all] Error 2
how did you patched?
do you have apps/plugins/zxbox dir?
The problem was that I was patching from outside the rockbox directory so it created the apps/plugins/zxbox directory.
Problem solved!
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
* now if any of {height,width} of screen is smaller it would be rescaled to fit the whole screen
(this fixes gigabeat)