Search results

  1. M-HT

    Running scalers on DSP

    A minor optimization in the version using cpu and dsp. The results (320x240) are now: hq2x 16 to 16 - 9.9 ms hq2x 8 to 16 - 9.7 ms hq3x 16 to 16 - 13.6 ms hq3x 8 to 16 - 13.5 ms
  2. M-HT

    Running scalers on DSP

    So I made the color format configurable. It can be selected in file hqx-format.h (one format is used both for input and output). I also noticed that the conversion to yuv was different from the original hqx algorithm, so I changed that. Following releases are in the attachments: hqx-arm.zip...
  3. M-HT

    Running scalers on DSP

    Whoops. In my hq2x implementation (dsp and arm) I'm using rgb565 format, although the native (SDL) format is bgr565. I should change it (make it configurable).
  4. M-HT

    Running scalers on DSP

    I forgot to mention it, but some restrictions/requirements for the arm version of hq2x are: - width must be at least 8 and it must be divisible by 4 - height must be at least 2 - the palette is an array of 256 16-bit values and it must be aligned to 16-bits (2 bytes) The dsp version has stricter...
  5. M-HT

    Running scalers on DSP

    Do you mean the combined dsp+arm version ? If you need help (or the unreleased code), you can contact me.
  6. M-HT

    Running scalers on DSP

    I wanted to try a different approach so I first took hq2x (running on cpu) and optimized it (using some ideas from dsp version and using arm/neon assembly). The unoptimized version takes 38.6 ms to scale 320x240 16-bit image. The optimized version takes 16.5 ms. The optimized source is in the...
  7. M-HT

    Jumping into ARM assembly

    You mean if you used for example "ldrb r0, [r1]" and "cmp r0, r8" :)
  8. M-HT

    Jumping into ARM assembly

    Just to have some variety :)
  9. M-HT

    Jumping into ARM assembly

    The instruction "ldr r1, =input" also loads address of input into r1, so you must load the value from memory and then compare it to r8 (for example "ldrb r0, [r1]" and "cmp r0, r8" instead of "cmp r1, r8").  
  10. M-HT

    Jumping into ARM assembly

    In your code, the instruction "ldr r8, =quit_char" loads the address of quit_char into r8 - after that you can then use the instruction "ldrb r8, [r8]" to load a byte from memory (pointed to r8) to r8. I don't know if it helps you, but I wrote a 1kB demo for GP2X (in assembler of course) - the...
  11. M-HT

    Running scalers on DSP

    After some changes, optimizations and a minor bugfix, I have following results for the hq2x algorithm (on original Pandora): 16-bit source (320x240) to 16-bit destination: 15.8 ms 8-bit source (320x240) to 16-bit destination: 15.3 ms The source is in the attachment.
  12. M-HT

    Release Albion

    Hi, I updated Albion to version 1.5.5 Download it here: Repo Changes: * limit the maximum number of sold items to 99 * fix bug in the original code I also updated the Linux and Windows versions.
  13. M-HT

    Release Albion

    The problem is a bug in the original code - NULL pointer dereferencing. So the problem is present also in DosBox, but instead of crashing it just reads some value from memory. BTW fine Iskai dagger can be equiped on the tail - same damage as Iskai short-sword, lower weight, nice side-effects...
  14. M-HT

    Release Albion

    I'll take a look at the code, in the meantime, Rainer and Sira have both a stack of arrows with more than 99 items - split both stacks and you can sail off. Normally you can't stack things to more than 99 items, the only exception seems to be when buying from unlimited number of items. I think...
  15. M-HT

    Release Albion

    Hi, I updated Albion to version 1.5.4 Download it here: Repo Changes: * fix bug in the original code I also updated the Linux and Windows versions. Windows version also contains new MIDI plugin (selected by default): nativewindows - it plays MIDI music using native Windows functions and...
  16. M-HT

    SCUMMVM and MT32 Roland/Timidity Support

    Some time ago I tried converting MT-32 music in X-COM: UFO Defense and X-COM: Terror from the Deep to wave format on Pandora using munt 1.4. Some songs required more time to convert than their length. So Pandora doesn't have enough CPU power to play all MT-32 music.
  17. M-HT

    My unhappy adventures with Linux installation

    What about using this in the Monitor section (in xorg.conf): VertRefresh     60-60.01
  18. M-HT

    My unhappy adventures with Linux installation

    Try adding this to Monitor section (in xorg.conf): Option "DefaultModes" "false"
  19. M-HT

    Release Griel's Quest for the Sangraal

    I don't want to scare you, but being stuck on level 2 means a lot of trouble in higher levels. :)
  20. M-HT

    Release Griel's Quest for the Sangraal

    Hi, I ported Griel's Quest for the Sangraal to Pandora. "Griel's Quest for the Sangraal" is a puzzle game released for MSX2 systems in the year 1990 (only in Japan). In 2005 it was ported to MSX1 systems by Karoshi Corp. This version is a port of MSX1 version of the game to the GNU/Linux...
Back
Top