|
hi i am working on my nes emu in java. My emu is already based on loopy doc. Now i change my main loop to match samus doc, but i am wondering how to merge it with loopy doc (i.e. where to place loopy s ppu logic into my new main loop based on samus info). As you probably know, samus explained that an execution line does not match a line on the screen (since 2 tiles are fetched on previous line and so on). so i wonder if should consider the beginning of the frame and the start and the end of a line from the machine point of view (i.e. lines are execution line, and frames includes dummy lines) or from the rendering point of view (a line start when the 2 first tile are fetched and the frame start during the first dummy line not just before it...). so far, i am trying to find how it is by implementing and see what happens, and the result is coming nicely (mario start running correctly (until freeze because i must readd sprites implementation)). I would be interested in sharing ideas about merging the loopy and samus info. Regards
|