Search found 1101 matches

by unregistered
Fri Dec 04, 2020 4:58 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 896
Views: 435524

Re: Mesen - NES Emulator

Hmmm, for me, I like to add Roman numerals after a function’s name if I rewrite it or some of it. Mesen should keep its name, IMO, so maybe use Meseni and Meseni-s? :) I think Meseni feels awkward to say, but I think this is the right sort of idea. Something that makes it clear that it's connected ...
by unregistered
Fri Dec 04, 2020 4:33 pm
Forum: Newbie Help Center
Topic: How to find X and Y in debugger ?
Replies: 4
Views: 172

Re: How to find X and Y in debugger ?

Hi , I am kinda noob in terms of debugging I started first a breakpoint on the RAM value of X position (of a sprite) When I track down that , I find something similar to this : https://i.imgur.com/lvwXybB.png I was never able to find where the Y value originates from , where $EB27 here is an uniden...
by unregistered
Wed Nov 25, 2020 5:17 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 896
Views: 435524

Re: Mesen - NES Emulator

Hmmm, for me, I like to add Roman numerals after a function’s name if I rewrite it or some of it. Mesen should keep its name, IMO, so maybe use Meseni and Meseni-s? :)
by unregistered
Thu Nov 19, 2020 9:58 am
Forum: Newbie Help Center
Topic: Simplify long, repetitive code.
Replies: 39
Views: 12329

Re: Simplify long, repetitive code.

So one screen / level of information about the collision with the background takes 240 bytes? In my code, one screen is 26 bytes (13x 16bits) x 256 screens = 6656 bytes (I don't count the screen border blocks, these are solid). Yes, is CAN be smaller, if 1 bit per 16bit screen block is efficient fo...
by unregistered
Wed Nov 18, 2020 4:16 pm
Forum: Newbie Help Center
Topic: Simplify long, repetitive code.
Replies: 39
Views: 12329

Re: Simplify long, repetitive code.

The program generally works fine, but is quite large. "LEV_UpdateBlock_Linexxx" variables are temporary for calculations, after exiting a specific screen, they are transferred to eg "LEV001-256_UpdateBlock_Linexxx" - separate variables for each screen / level to remember information about damaged w...
by unregistered
Tue Oct 20, 2020 1:14 pm
Forum: Newbie Help Center
Topic: Changes to background tiles showing on all screens
Replies: 13
Views: 2950

Re: Changes to background tiles showing on all screens

I’m sorry QT and others, I don’t understand why the buffer needs to be flushed. :? The buffer can be in any section of memory, ROM or RAM, and it, that specific section of memory, is only used to store tile hex codes. And your game has a ton of non-vblank time to fill that tiny buffer (remember we j...
by unregistered
Tue Oct 20, 2020 8:54 am
Forum: Newbie Help Center
Topic: Changes to background tiles showing on all screens
Replies: 13
Views: 2950

Re: Changes to background tiles showing on all screens

Hmmm... hi The Rook, It seems to me that your screen appearing weirdly, has to do with your turning rendering off, drawing a screen, and turning rendering on again. It seems your code does this over and over. What I’ve learned, is that altering rendering, your ppu_off(or on), can be problematic. Pro...
by unregistered
Thu Oct 15, 2020 1:02 pm
Forum: Newbie Help Center
Topic: Trying to understand bank switching
Replies: 5
Views: 1962

Re: Trying to understand bank switching

nesdev’s wiki Mapper 002 page:
http://wiki.nesdev.com/w/index.php/UxROM

nesdev’s wiki Mapper 002 bank change page:
http://wiki.nesdev.com/w/index.php/Programming_UNROM

:)
by unregistered
Tue Oct 13, 2020 4:05 pm
Forum: Newbie Help Center
Topic: Assembly optimization
Replies: 11
Views: 3023

Re: Assembly optimization

Hi Kitty_Space_Program, The best, most helpful, read, for me, has been “6502 Hacks” by Mark S. Ackerman. That read can be found in Dr Dobb’s Journal vol12 on pages 97 through 103. The pdf is massive though... I ended up making a much smaller pdf with just those pages, but am under the impression tha...
by unregistered
Tue Oct 06, 2020 10:22 am
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 896
Views: 435524

Re: Mesen - NES Emulator

Eugene.S wrote:
Mon Oct 05, 2020 10:34 pm
Eugene.S, your link does not link to that post from Sour. Please, could you fix your link? I’m interested to read its thread.
Fixed
Thank you Eugene.S! :D
by unregistered
Mon Oct 05, 2020 3:00 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 896
Views: 435524

Re: Mesen - NES Emulator

Found it on Reddit topic : Just for the sake of not letting the speculations spin out of control, I figured I should at least post something. I stopped working on the emulators back in July, and just marked them as archived yesterday because I don't plan on resuming work on them at this point (and ...
by unregistered
Fri Oct 02, 2020 3:28 pm
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1567
Views: 456586

Re: 8x16 and whatever else unreg wants to know

OOOOOH, now, thank you top of nesdev wiki MMC1 page , writing a negative value, bit7 set, to any address in $8000-$FFFF causes ONLY the shift register to reset! If bit7 is set the shift register isn’t written to... so that’s why the game is one write behind. :D PRAISE GOD!! :mrgreen: :D My problem w...
by unregistered
Wed Sep 30, 2020 3:02 pm
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1567
Views: 456586

Re: 8x16 and whatever else unreg wants to know

Rendering is disabled inside of vblank, so the interrupt flag is set... then the PRGROM banks are changed after writing the first 4K CHR file to PPU $0000. During this PRGROM bank change, on cycle 119 of Scanline 225, the Interrupt flag is still set. Does changing banks outside of vblank, with rende...
by unregistered
Tue Sep 29, 2020 2:56 pm
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1567
Views: 456586

Re: 8x16 and whatever else unreg wants to know

Sigh, sorry, we’re actually using SXROM... why do we need 32kb of PRGRAM? Anyways, the CHR register is used to select 256kb PRGROM bank0 and 8kb PRGRAM bank0. Next, $0E is correctly written to $8000 to set MMC1 for vertical mirroring, fixed $C000, and 8kb CHRRAM pages (using CHRRAM). My question is:...
by unregistered
Tue Sep 29, 2020 9:11 am
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1567
Views: 456586

Re: 8x16 and whatever else unreg wants to know

Ahh, thank you tepples! :D That’s a great strategy, but I don’t believe this is an issue. The nesdev wiki, in the MMC1’s “Higher CHR lines” section, says: In these scenarios, however, both CHR bank registers must be set to the same value (or the CHR bank size must be set to 8KB), or the PRG ROM/RAM ...