NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectMore in general..  
Posted byMuchaserres
Posted on7/6/03 8:02 PM
From IP62.82.148.154  



Hi everyone!

Well, I've new questions...

1.- A general question. Let's say the PPU renders a frame 60 times per second (60Hz). Then, in an emulator: the CPU runs the equivalent cycles, then the PPU renders a frame, then other tasks are done, then CPU runs the equivalent cycles, then... and so on. Is it right? If so, a problem comes to mind. In a real NES the CPU is running while the PPU renders a frame (to process the frame) and also between a frame and the next one, it never stops running. Then, how many cycles have to be executed in a frame render based emulator? I'm a bit lost with it.. Is it there any kind of interrupt implicated?

2.- Another question. A NMI is signalled by the PPU after the last rendered scanline (if 8D of $2000 is 1). The question is: is it signalled after the full Name Table has been rendered or after the last VISIBLE scanline has been rendered? I supose the first one is the right answer, cause it means that everything has been processed, both the virtual and the visible screen.

3.- And last questions. Are the 256 SPR-RAM bytes independent of PPU's $4000 bytes? If so, how does the game set its contents? Via DMA maybe? Then, which are the initial values of the Name Tables, the Attribute Tables and the SPR-RAM? What happens in the first rendered frame? (I supose first frames may look black cause there's nothing to render...) How should start an emulator: rendering the first frame or running CPU cycles? (I supose it should run CPU cycles, cause at the begining there's nothing to render...).

I think I would be able to aswer all these questions, but I prefer asking to more experienced programmers.

Thanks in advance and excuse me for being so ignorant.



-
Entire Thread
Subject  Posted byPosted On
.More in general..  Muchaserres7/6/03 8:02 PM
.*Re: More in general..  quietust7/6/03 11:26 PM
..*Re: More in general..  Muchaserres7/7/03 7:07 PM
...*Re: More in general..  Memblers7/7/03 8:36 PM
...*Re: More in general..  quietust7/7/03 8:36 PM
....*Re: More in general..  Muchaserres7/8/03 5:01 PM
.....*Re: More in general..  quietust7/8/03 8:18 PM
......*Re: More in general..  Muchaserres7/9/03 4:59 PM
.......*Re: More in general..  Memblers7/9/03 5:47 PM
........*Re: More in general..  Muchaserres7/11/03 5:38 PM
.........*Re: More in general..  <_Hyde_>7/11/03 7:21 PM
..........*Re: More in general..  quietust7/11/03 9:23 PM
...........*Re: More in general..  Muchaserres7/12/03 1:47 PM
............*Re: More in general..  Muchaserres7/12/03 3:09 PM
.............*Re: More in general..  quietust7/12/03 6:35 PM
..............*Re: More in general..  Muchaserres7/12/03 11:48 PM
...............*Re: More in general..  Muchaserres7/13/03 08:55 AM
................*Re: More in general..  Muchaserres7/14/03 10:44 AM
.................*Re: More in general..  RoboNes7/14/03 12:36 PM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo