Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectFast drawing in Windoze Reply to this message
Posted byMinuous
Posted on07/01/06 04:13 PM



I'm the coder of the WinArcadia emulator, which is now feature-complete. I want to optimize it as it is extremely slow, it only achieves 1-2 FPS in most modes, this is with the CPU emulation turned off! The Amiga port of WinArcadia runs faster than this, even through WinUAE!

I'm using SetPixel()/ClipBlit() to do the drawing. Apparently it is much quicker to use SetBitmapBits(), but there doesn't seem to be any reasonable documentation about it.

If I may say so the entire Windoze display subsystem is a joke, it seems convoluted and poorly designed, things are much easier to do on an Amiga. The documentation over at MSDN is absolute crap and there doesn't seem to be any tutorials about it.

I don't want to use DirectX as I know for a fact that it is not necessary to gain adequate performance, there are other emulators of more complex machines which achieve good performance with GDI.

All I need to do is plot pixels one at a time to a bitmap, it only needs to be 8 colours (3 bitplanes), and refresh the window after each frame has been drawn. It already does this of course but much too slowly.

Aaarrrggh....




-
Entire Thread
Subject  Posted byPosted On
.Fast drawing in Windoze  Minuous07/01/06 04:13 PM
.*Allegro or SDL  newsdee07/02/06 11:00 AM
..*Re: Allegro or SDL  Minuous07/02/06 12:13 PM
...*Re: Allegro or SDL  smf07/09/06 06:36 AM