VOGONS

Common searches


Search results

Display options

UniPCemu is very slow when compiled for Android?

When I compile and run UniPCemu for and on Android, it runs, but it's terribly slow(maxes out at 2500 cycles/second(it's CPU emulation is running at 4.77MHz, so it's running at a speed of 2500 out of ~4770000 cycles needed to run at full speed)). On the PC(2.0GHz+ Dual core/Quad Core CPU) this is …

Re: Anything my unipcemu emulator still needs?

UniPCemu is now properly able to basically(full touch input and Settings menu support) run on Android devices using either lib-SDL(Pelya's) or SDL2 with the toolchains(SDL2 on Android SDK/NDK). The only problem left is that it seems to be idling after returning from the Settings menu or boot option( …

Re: Pelya's libSDL vs SDL2 Android touch events?

I've looked at https://github.com/pelya/commandergenius/blob/sdl_android/project/jni/application/xserver/gfx.c . Looking at the way it processes x and y coordinates, it seems that the event->jball.xrel and event->jball.yrel contain the actual coordinates on the screen, not relative coordinates (- …

Pelya's libSDL vs SDL2 Android touch events?

I've added a simple compatibility layer from Pelya's libSDL 'Joystick' touch events to provide SDL2 touch events. This doesn't seem to be working correctly on Pelya's libSDL somehow? Anyone knows what's going wrong here? From https://bitbucket.org/superfury/unipcemu/src/ …

Re: IBM PC hardware clock division (XT 14MHz clock)?

Like I said, my video card rendering is has a shared CRT emulation, which handles (S)VGA vs CGA/MDA style rendering. Mostly unchanged, CGA/MDA add a little logic to it, together with scanline buffering. The basic CRT emulation(which runs at 25Mhz, 28Mhz, 14Mhz or MDA speed) is used by all video …

Re: IBM PC hardware clock division (XT 14MHz clock)?

I've modified the Game Blaster and OPL2(Adlib) emulation to use those correct dividers to produce their sampling rates(512 for Game Blaster audio, 288(=4 times 72) for OPL2 audio, which is further divided by 4 to get the 80us counter(which already is divided by 4 to get the 320us timing)). The Sound …

Re: IBM PC hardware clock division (XT 14MHz clock)?

So the DMA controller takes 1 cycle for each byte to transfer, so about 4.77 MegaBytes(MB) per second, not depending on CPU speed? With the YM3812 I need the resulting 80us(and 320us by further division) times used to divide that 3.58MHz signal. Do you know what it uses? I already have a global …

IBM PC hardware clock division (XT 14MHz clock)?

I know that: - The CPU divides by 3 to get 4.77MHz. - The PIT divides by 12 to get 1.19MHz. - DMA by about 9 on average to get it's transfer rate in bytes/second? - Adlib output sampling frequency is divided by 288 to get ~49kHz? I still need the following timings for optimizing my emulation to use …

Sdl2 Android storage detection?

Android has an option to move files of an application to the external SD or sdcard0(internal memory). Is there a way for SDL2 software(like UniPCemu I'm working on getting it working) to detect which of the two media the user has selected? So, when the user moves the files to/from external/internal …

Re: UniPCemu emulator releases

A little update containing a big Settings bugfix, as well as a new Turbo mode for 8086 emulation: UniPCemu_20160819_2037.zip Changelog: - Implemented Turbo XT BIOS Turbo functionality, speeding up the CPU to ~10MHz(Default setting) or the specified speed in the Settings. - Fixed Settings checksum …

Re: UniPCemu emulator releases

My latest UniPCemu build: UniPCemu_20160818_1406.zip Changelog: - Added Sound Blaster 1.5, as well as Sound Blaster 2.0 emulation, partially based on Dosbox(the ADPCM decompression functions), but with improvements and accuracy. - Sound Blaster emulation now automatically enables Adlib and MPU …

Page 228 of 275