Search found 528 matches
- Sun Oct 11, 2020 2:43 pm
- Forum: Web Issues
- Topic: Sometimes can't access nesdev.com
- Replies: 9
- Views: 7712
Re: Sometimes can't access nesdev.com
I can confirm that changing network.http.rcwn.enabled to false appears to have resolved all issues for me.
- Sat Sep 26, 2020 10:40 pm
- Forum: Web Issues
- Topic: Sometimes can't access nesdev.com
- Replies: 9
- Views: 7712
Re: Sometimes can't access nesdev.com
Sounds like it is the same problem. Thanks.
- Sat Sep 26, 2020 7:01 pm
- Forum: Web Issues
- Topic: Sometimes can't access nesdev.com
- Replies: 9
- Views: 7712
Sometimes can't access nesdev.com
Randomly, my browser times out accessing the site. Once this happens I can't access it for some time. (Not sure how long, but eventually it works again.) It seems to happen when I first access the site. (But not everytime.) I'll navigate to forums.nesdev.com and click on a topic or forum, and my bro...
- Mon Sep 14, 2020 12:39 pm
- Forum: NESdev
- Topic: index outside of label (intentionally) asm
- Replies: 12
- Views: 3661
Re: index outside of label (intentionally) asm
I would do something like this: palette .res 32 backgroundPalette = palette spritePalette = palette + 16 Rather than creating a label for each palette, I find it easier to use macros to access palette locations, something like: .macro staBGpal pal, entry sta backgroundPalette + (pal * 4) + entry .en...
- Sat Sep 12, 2020 10:19 am
- Forum: NESdev
- Topic: constants with bitwise logic
- Replies: 8
- Views: 3230
Re: constants with bitwise logic
Another example of how to do it: ; General NES constant values ; ports PPU_CTRL = $2000 PPU_MASK = $2001 ; For ctrl CT_NMI = %10000000 CT_PPUSLAVE = %01000000 CT_SPRITE8x16 = %00100000 CT_BACKADDR1000 = %00010000 CT_SPRADDR1000 = %00001000 CT_ADDRINC32 = %00000100 CT_NAMETABLE2000 = %00000000 CT_NAM...
- Thu Aug 27, 2020 2:53 pm
- Forum: Newbie Help Center
- Topic: Would it be possible to mod a NES to have that "Allow more than 8 sprites per scanline" feature from emulators?
- Replies: 25
- Views: 8983
Re: Would it be possible to mod a NES to have that "Allow more than 8 sprites per scanline" feature from emulators?
The Hi-Def NES mod does have an option for more sprites on a scanline, I believe... but it's an HDMI output mod that replaces the PPU. The Hi-Def mod is a more polished version of the idea posted here: https://forums.nesdev.com/viewtopic.php?t=9561 So it doesn't emulate the PPU, but it does emulate...
- Fri Aug 21, 2020 5:16 am
- Forum: General Stuff
- Topic: Strategies for implementing macro functionality in assemblers
- Replies: 18
- Views: 9693
Re: Strategies for implementing macro functionality in assemblers
I started this thinking I'd use tokens all the way, but then found that macros and defines would make that really hard, since tokens can mean different things when used in different places. For example: .define whatever z: ;in this case, "whatever" expands to a label definition whatever JMP z ;but ...
- Fri May 06, 2016 1:27 pm
- Forum: NESdev
- Topic: Greater than, less than
- Replies: 21
- Views: 5434
Re: Greater than, less than
I would possibly structure it like:
Code: Select all
lda value1
cmp value2
bcc lessThan
beq endif
; if value1 > value2
jmp endif ; (or use a branch if flag condition will be known)
lessThan:
; if value1 < value2
endif:
- Sat Feb 20, 2016 9:10 pm
- Forum: NES Graphics
- Topic: Is it possible to add new colors to the palette?
- Replies: 24
- Views: 13665
Re: Is it possible to add new colors to the palette?
You can only customize the palette if you change the PPU, or attach some extra hardware to it (e.g. NESRGB and Hi-Def NES ), which means the console has to be modified. It can't possibly be done from the cartridge side, because the cartridge is not at all involved with color generation, so there're...
- Thu Feb 18, 2016 6:17 am
- Forum: General Stuff
- Topic: science fiction
- Replies: 16
- Views: 4341
Re: science fiction
Philip K. Dick has a ton of excellent short stories if you just want something quick and easy.
- Mon Feb 01, 2016 7:28 am
- Forum: General Stuff
- Topic: Back to Windows 7 :(
- Replies: 8
- Views: 3632
Re: Back to Windows 7 :(
I just installed Windows 10 and found the install quick and easy and the OS itself to run beautifully. I installed some basic drivers (I think only nvidia video drivers actually) and my computer is running better than ever. There are many different configurations of hardware, so not sure why it does...
- Fri Jan 08, 2016 7:00 am
- Forum: Newbie Help Center
- Topic: SBC help
- Replies: 8
- Views: 4194
Re: SBC help
To put it another way: BEFORE an addition with carry, you could think of carry as bit 8 from the previous addition, but it will now be added to bit 0 of the current addition. AFTER an addition with carry, carry holds bit 8, and will be cleared or set to reflect what bit 8 would be (If there was a bi...
- Sun Dec 20, 2015 7:48 am
- Forum: Newbie Help Center
- Topic: comparing values in memory, which change very quickly
- Replies: 7
- Views: 3833
Re: comparing values in memory, which change very quickly
For myself, I just remember which is which by thinking "S is greater than C". CMP works just like the SBC instruction but without modifying the accumulator, so as you can see now, it also affects the carry flag in the same way. Unlike SBC, I'm pretty sure it doesn't use the carry flag as part of th...
- Wed Dec 16, 2015 11:43 am
- Forum: NESdev
- Topic: 6502 ASM trick
- Replies: 100
- Views: 44314
Re: 6502 ASM trick
As well as not modifying any registers!tepples wrote: To set a flag, beating the article by one byte but adding two cycles:Code: Select all
sec ror flag

- Fri Dec 04, 2015 1:41 pm
- Forum: NESdev
- Topic: Naming libraries
- Replies: 21
- Views: 5656
Re: Naming libraries
It's trendy give things arbitrary names that have nothing to do with the thing. Examples: Chrome, Apache, or tangerine, a bank:
http://www.tangerine.ca
http://www.tangerine.ca