Archive for July, 2008

PSP on TV

Thursday, July 31st, 2008

I finally broke down and bought a component cable, to be able to play PSP games on a TV. The experience was… disappointing, to say the least. The entire PSP screen takes up a fraction of the television’s screen, somewhat killing the point of having a TV cable. The XMB/DVD playback screen is larger (it’s displayed in interlaced mode), but still relatively small.

This probably wouldn’t be that big of an issue, if the cable worked on traditional TV’s (it won’t, unless your TV supports progressive scan), but it doesn’t, and using it on a big-screen TV kinda makes you wonder why the whole thing was put together in the first place.

Fuse PSP version 0.9.0.25 released

Monday, July 28th, 2008

This update fixes the following issues present in version 0.9.0.2:

  • Palette corruption on various PSP units
  • Bug in the sound rendering engine that would cause occasional sound slowdowns

Updates from 0.9.0.1 (just to reiterate):

  • Added various game image types missing from the initial release
  • New virtual keyboard
  • Added monitor type selection (color/grayscale)
  • Fixed a serious memory leak, which would manifest itself when opening ZIP files
  • Fixed the “tape loading hang” bug
  • Added +3 support
  • Added Kempston joystick support
  • Added “hack cursor” support (keyboard up/down/left/right)
  • Lots of code reshuffling

Download

Fuse PSP version 0.9.0.2 released (updated)

Sunday, July 27th, 2008

New in this version:

  • Added various game image types missing from the initial release
  • New virtual keyboard
  • Added monitor type selection (color/grayscale)
  • Fixed a serious memory leak, which would manifest itself when opening ZIP files
  • Fixed the “tape loading hang” bug
  • Added +3 support
  • Added Kempston joystick support
  • Added “hack cursor” support (keyboard up/down/left/right)
  • Lots of code reshuffling

This version also includes extended DSK support; however, this does not seem to work correctly at the moment. Since the next version of Fuse is going to have drastically revamped 765 support, I’m probably not going to work on this until the next version.

UPDATE At least one user has reported palette corruption problems, so I’m pulling the new version down until I can revert the psplib code back to an older version. Please bear with me, and if you have the version originally released, please don’t distribute it.

Fuse PSP update

Sunday, July 27th, 2008

Most of the bugs/known issues from the last release of Fuse PSP have been fixed (the sole exception being the speed of tape loading, and there’s not much that can be done about that).

Next version will also include a bunch of new features and improved hardware support — exact details are currently being worked out.

Tape loading bug fixed in Fuse PSP

Thursday, July 24th, 2008

I tracked down the source of the tape loading freeze: the problem is in the sound code, and should be fixed in the next release.

FAQ

Wednesday, July 23rd, 2008

I finally put together something that was long overdue – an FAQ. Look here first if you have any questions.

Milestone?

Wednesday, July 23rd, 2008

It looks like very recently, all the non-recent (read: excluding Fuse PSP) PSP emulators have exceeded 1000 downloads. fMSX is the most downloaded emulator at over 5000, SMS Plus is second with almost 3000. Of course, this excludes the (estimated) thousands and thousands of downloads from PSP sites that host their own files. And to celebrate, I offer… thanks!

Optimizations make strange bedfellows

Sunday, July 20th, 2008

In the process of making changes to psplib’s video rendering routines, I came across a strange problem – calling a certain library function resulted in screen and palette corruption. Since the function was used to access contents of the VRAM, I figured it was because I was writing to the wrong location in memory somewhere.

The strange thing was that I had a similar function already in place, and except for some minor semantic differences, the code was the same. Even more surprisingly, commenting out the code that called the function did not help – the only thing that did was completely removing the function’s definition.

I finally tracked down the problem to the compiler’s optimization flag (O2). Completely disabling optimization with (-O0) got rid of the corruption. I’m not sure if this will have any detrimental effects on the rendering library in terms of speed (I doubt that it will, as psplib’s renderer is extremely frugal), but I suppose that I’ll eventually find out.

UPDATE It looks like optimization (much like the proverbial chinaman) is not the main issue here. While I haven’t completely resolved the issue, it is fairly certain that it’s related to reading/writing to VRAM. The issue seems to be commonplace, and I’ve found possible explanations here and here (see section marked Important).

Changes in the virtual keyboard

Wednesday, July 16th, 2008

As I mentioned before, psplib is currently undergoing some changes; some will be noticeable immediately; others will take a while. One of these changes is an improved virtual keyboard interface, which should resemble an actual system keyboard more closely. The new keyboard will be released with the next version of Fuse PSP.

psplib released under GPL

Wednesday, July 16th, 2008

After some discussion at worldofspectrum, I learned that the problem with Fuse PSP is psplib’s restrictive disclaimer, which prohibited commercial use of the code. psplib is the library that I initially wrote for fMSX PSP; it is common to all the ports I’ve done to date. While the disclaimer wasn’t actually meant to serve as a legal document (as I mentioned in the forum, I’ve always considered psplib public domain software), Philip’s argument is that it went against GPL, which prohibits user restrictions.

To resolve this incompatibility, I’ve decided to license psplib under the GPL. The library is already undergoing structural changes (parts of it have needed tweaks for a while now), so now seems as good a time as any. The updated library is in the trunk branch of Fuse PSP’s repository.

Fuse PSP binaries are once again downloadable.