A question about PPU's scanline(HELP ME!)

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
A question about PPU's scanline(HELP ME!)
by on (#3961)
Do you know how they do in rendering one scanline of Emulator?

As my analysis we can not interrupt one scanline rendering,
in other word the line is not scanned by per pixel.
So we can only wait until we finish rendering this scanline.

I want to use multi-Thread to do so,
becuase I can not let the CPU work during the PPU rendering.
But I've found they don't use it, espesically the DOS program.
There's no thread under DOS......

Can you help me?
Re: A question about PPU's scanline(HELP ME!)
by on (#3962)
aaa233 wrote:
I want to use multi-Thread to do so,
becuase I can not let the CPU work during the PPU rendering.
But I've found they don't use it, espesically the DOS program.
There's no thread under DOS......

MS-DOS is a single-processing operating system. Use Windows or GNU/Linux or *BSD or Solaris if you want to have your multiple threads run on multiple processors or multiple HT functional units of newer Pentium 4 CPUs.

by on (#3963)
I made a lengthy post about the technique I use for this a few topics below this one.

Here:
http://nesdev.com/bbs/viewtopic.php?t=505

My emu runs in a single thread using that technique and can draw partial scanlines.