Search found 1124 matches
- Mon Feb 15, 2021 1:31 pm
- Forum: Newbie Help Center
- Topic: ASM6 local label vs nameless label issue
- Replies: 8
- Views: 958
Re: ASM6 local label vs nameless label issue
Hmmm... it’s not a bug; rather, it’s an intentional feature that I gave up trying to remove. And I’ve already tried to add asm6_’s flags to asm6f, but the creator never used the code I submitted, I guess. :) asm6_’s flags are super helpful, to me at least; it’s the assembler I always use now. Believ...
- Mon Feb 15, 2021 9:24 am
- Forum: Newbie Help Center
- Topic: ASM6 local label vs nameless label issue
- Replies: 8
- Views: 958
Re: ASM6 local label vs nameless label issue
This is why my functions that use local labels are entirely filled with local @ labels. :) Asm6f doesn't fix the problem in the topic, but yeah it's the definitive version of asm6. How could you forget about asm6_ ? Every assembly I run uses the -U flag. That’s extremely helpful, for me at least, bc...
- Thu Feb 04, 2021 1:55 pm
- Forum: Newbie Help Center
- Topic: Noob questions about 6502 Assembly
- Replies: 27
- Views: 3060
Re: Noob questions about 6502 Assembly
Pokun, we all have a stomach. If you supply your stomach with a constant excess amount of sugar, then yes your body will feel it needs the daily excess amount of sugar. However, that sugar excess may cause you to feel terrible. And flabby weight gain is more of a possibility. If one, under your cond...
- Thu Feb 04, 2021 10:58 am
- Forum: Newbie Help Center
- Topic: Noob questions about 6502 Assembly
- Replies: 27
- Views: 3060
Re: Noob questions about 6502 Assembly
Pokun, I came back to confess that, obviously, I’m not familiar with traditional Swedish fika-etiquette. Though, that hour of daily exercise makes great sense. :) My way does not require an hour of daily exercise bc my body is not having to constantly process the huge amount of sugar that would come...
- Thu Feb 04, 2021 10:34 am
- Forum: Newbie Help Center
- Topic: Noob questions about 6502 Assembly
- Replies: 27
- Views: 3060
Re: Noob questions about 6502 Assembly
Pokun, perhaps you misunderstand what a cookie is? 
It’s a dessert. Therefore, cookies aren’t supposed to fill you up. Fill up with mostly normal, and healthy (IMHO), food... and then eat dessert if that would satisfy.
tokumaru, it was a great example.

It’s a dessert. Therefore, cookies aren’t supposed to fill you up. Fill up with mostly normal, and healthy (IMHO), food... and then eat dessert if that would satisfy.

tokumaru, it was a great example.

- Wed Feb 03, 2021 5:07 pm
- Forum: Newbie Help Center
- Topic: Random junk appearing when trying to load background
- Replies: 10
- Views: 1062
Re: Random junk appearing when trying to load background
hi Randomletters367, Perhaps a more skilled person will reply, but when I started out I remember two rows of random tiles along the top of my screen. It seems that those horrible rows vanished after I used the debugger to step through a frame of my code. As a result of those steps, I noticed that vb...
- Wed Feb 03, 2021 3:05 pm
- Forum: Newbie Help Center
- Topic: Noob questions about 6502 Assembly
- Replies: 27
- Views: 3060
Re: Noob questions about 6502 Assembly
This is perhaps the most crucial :P reply in noob questions about 6502 assembly: I realize it’s just a great example, but make sure to never eat 6 cookies in a single day. That’s an insane amount of sugar for a human body to process in one day. A maximum of 2 cookies per day should be good to keep, ...
- Mon Feb 01, 2021 6:34 pm
- Forum: Newbie Help Center
- Topic: Noob questions about 6502 Assembly
- Replies: 27
- Views: 3060
Re: Noob questions about 6502 Assembly
what one uses ! for another will use it for something else entirely. When reading this truth, it can be helpful if you realize basic Assembler facts. :) Every computer runs with chips composed of many many transistors. Each transistor can hold one of two possible states. It can either be charged (1...
- Fri Jan 29, 2021 1:28 pm
- Forum: Newbie Help Center
- Topic: Set a bit, clear a bit.
- Replies: 10
- Views: 2314
- Thu Jan 28, 2021 3:56 pm
- Forum: Newbie Help Center
- Topic: Set a bit, clear a bit.
- Replies: 10
- Views: 2314
Re: Set a bit, clear a bit.
Hello. Well, my initial confusion was actually just a linguistic one, but always good to have some tricks more :wink: Hi ludoVIC. I do understand the thread problem had already been solved, but za909’s odd post influenced me to reply... I’m sorry for making this thread long. At the same time I’m pl...
- Wed Jan 27, 2021 3:35 pm
- Forum: Newbie Help Center
- Topic: Set a bit, clear a bit.
- Replies: 10
- Views: 2314
Re: Set a bit, clear a bit.
OR can be represented by + or | 1 + 1 = 1 1 + 0 = 1 0 + 1 = 1 0 + 0 = 0 AND can be represented by * or & 1 * 1 = 1 1 * 0 = 0 0 * 1 = 0 0 * 0 = 0 XOR (used in the EOR instruction on the NES) 1 XOR 1 = 0 1 XOR 0 = 1 0 XOR 1 = 1 0 XOR 0 = 0 Often I find starting at the foundation of an idea much simple...
- Tue Jan 26, 2021 11:21 am
- Forum: Newbie Help Center
- Topic: Pausing during NMI execution.
- Replies: 13
- Views: 2376
Re: Pausing during NMI execution.
tokumaru ninjaed me. QuietTust is obviously being truthful. :) But, just want to note that it IS possible to disable NMIs by writing a positive value, bit7 being clear, to PPU register $2000. So if you need to eliminate vblank code from repeating every frame for a while, that’s NOT impossible. :) Si...
- Mon Jan 25, 2021 5:56 pm
- Forum: Newbie Help Center
- Topic: How to find X and Y in debugger ?
- Replies: 6
- Views: 3591
Re: How to find X and Y in debugger ?
- Mon Jan 25, 2021 5:49 pm
- Forum: NESemdev
- Topic: My Nes emulator causes the main character's body in Kung Fu to split in half?
- Replies: 7
- Views: 2408
Re: My Nes emulator causes the main character's body in Kung Fu to split in half?
It could be a sprite 0 hit issue, or the execution time of the instructions. Are you keeping track of the CPU cycles relative to the PPU cycles? Many games will use timed code while the PPU is rendering in order to wait for specific moments and apply some sort of PPU effect, such as a scroll change...
- Mon Dec 14, 2020 6:33 pm
- Forum: Newbie Help Center
- Topic: not sure I understand bit 2 of $2000
- Replies: 14
- Views: 3308
Re: not sure I understand bit 2 of $2000
In your code like like this: lda <nametableplaceholder+1 clc adc #$01 sta <nametableplaceholder+1 The inc instruction would help you with readability and increase your code’s speed. Since you don’t use the accumulator’s value after the add ( inc increments the value at the memory location; nothing i...