It is currently Sun Dec 17, 2017 12:52 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Aug 20, 2005 10:34 pm 
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?


Top
  
 
PostPosted: Sun Aug 21, 2005 7:54 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19353
Location: NE Indiana, USA (NTSC)
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 21, 2005 8:00 am 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1845
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: sdm and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group