Search found 567 matches
- Wed Feb 16, 2022 12:48 pm
- Forum: Homebrew Projects
- Topic: effecient 4-way scrolling
- Replies: 11
- Views: 1659
Re: effecient 4-way scrolling
Your simplest, naive sorting algorithm (which would look like insertion sort) would actually be faster than bubble sort. I was thinking that a basic selection sort might actually be faster than insertion sort in this specific case, just because the insertion operation has to move so much data aroun...
- Tue Feb 15, 2022 7:49 pm
- Forum: Homebrew Projects
- Topic: effecient 4-way scrolling
- Replies: 11
- Views: 1659
Re: effecient 4-way scrolling
Bubble sort? Don't. That's the worst possible algorithm. Anything is faster than bubble sort. Your simplest, naive sorting algorithm (which would look like insertion sort) would actually be faster than bubble sort.
- Sun Feb 13, 2022 1:49 pm
- Forum: NESdev
- Topic: Modifiable scenarios using cc65
- Replies: 8
- Views: 1206
Re: Modifiable scenarios using cc65
The simple answer is: you need to memorize what was collected. One simple solution is to do the Super Mario Bros. 3 way: have extra memory in the cartridge (EXRAM, 8kB), load level data into that memory. When you destroy blocks or collect coins, that memory gets changed so it remembers which blocks ...
- Wed Dec 29, 2021 9:30 pm
- Forum: Newbie Help Center
- Topic: MMC5 extended RAM and fill mode
- Replies: 13
- Views: 4128
Re: MMC5 extended RAM and fill mode
Well, better it depends... The point aquasnake's made is that writing to exRAM via PPU registers may be faster because of the address auto-increment, but that point is valid for sequential accesses that occurs in VBlank. Outside of (forced) VBlank and for random access, direct access to the exRAM vi...
- Tue Dec 28, 2021 7:17 am
- Forum: NESdev
- Topic: Is there an assembler that supports unit testing?
- Replies: 18
- Views: 3577
Re: Is there an assembler that supports unit testing?
Not that I'm aware, and frankly I'd be surprised to find one that does. However, with a suitable simulator, you can unit test your code. I believe tepples has made such a simulator to achieve the same goal. Also, you can probably achieve the desired results with the cc65 suite: cc65+ca65+sim65. Crea...
- Sat Dec 04, 2021 1:10 pm
- Forum: General Stuff
- Topic: Back!
- Replies: 29
- Views: 6952
Re: Back!
Aw thanks god it's back. Thanks everybody involved in the revival of the BBS.
- Thu Jul 01, 2021 4:50 am
- Forum: phpBB Issues
- Topic: Anti-spam proposal
- Replies: 55
- Views: 27209
Re: Anti-spam proposal
For the record, I might not be one of the brightest members over here, but would be happy to lend a hand for cleaning spam here. As for the time zone, I'm in EST (EDT currently), so I'm pretty sure there's other people at the same time zone, but anyways.
- Tue May 18, 2021 5:19 am
- Forum: NESemdev
- Topic: Emulating 32 KB PRG RAM
- Replies: 10
- Views: 10093
Re: Emulating 32 KB PRG RAM
Well, you can't make such "clean" memory segmentation, because both the OS and the programs needs to access zero page (indirection!) and the stack.
- Sat Feb 27, 2021 7:28 am
- Forum: NESdev
- Topic: How can i hack Graphics of a game without CHR Rom?
- Replies: 5
- Views: 3827
Re: How can i hack Graphics of a game without CHR Rom?
That's... not how it works. You can't realistically add CHR-ROM to your game from its CHR-RAM, as the game can use the CHR-RAM as it want; it can even use it as scratch space if it wanted to. Moreover, it can "morph" the pattern data in runtime, as the CHR data is in a RAM after all and ca...
- Sat Feb 27, 2021 7:14 am
- Forum: NES Music
- Topic: Ppmck help on vrc6 noise?
- Replies: 10
- Views: 8963
Re: Ppmck help on vrc6 noise?
I had a pretty busy week. Thank you for your patience. In the attached zip file there are binaries for Linux and Windows. For Linux, the helper script mknsf can be used, but on Windows it is not directly usable and you'll need a POSIX shell which can be found in Cygwin, MSYS2, in "bash" su...
- Fri Feb 26, 2021 7:57 am
- Forum: NESdev
- Topic: How can i hack Graphics of a game without CHR Rom?
- Replies: 5
- Views: 3827
Re: How can i hack Graphics of a game without CHR Rom?
That's when it becomes complicated. If the iNES file has no CHR-ROM, then it has CHR-RAM, and the game can write to it whenever it want to, and the data in PRG-ROM is very likely to be compressed into a in-house format, specifically made for this game. You'll have to reverse-engineer the game yourse...
- Mon Feb 22, 2021 5:20 am
- Forum: NES Music
- Topic: Ppmck help on vrc6 noise?
- Replies: 10
- Views: 8963
Re: Ppmck help on vrc6 noise?
Thanks @Jarhmander, it works. Does anyone knows where a lator version of ppmck is other than the one I posted? Difficult to say, but I guess here's the latest version: https://github.com/munshkr/ppmck. It seems there's only a Linux release and you should compile from source if you want a Windows bi...
- Sat Feb 20, 2021 6:18 am
- Forum: NES Music
- Topic: Ppmck help on vrc6 noise?
- Replies: 10
- Views: 8963
Re: Ppmck help on vrc6 noise?
Yes. I nead to know how to do looped noise. I also have this version of ppmck I found, can someone tell me where I could get newer versions of ppmck from? And if it's possyble to do looped noise on this version at all. The simple way to make looped noise is to use D16 on the D channel. It's also po...
- Sun Jan 24, 2021 7:14 am
- Forum: NESdev
- Topic: Question about DMC channel sample size
- Replies: 6
- Views: 6184
Re: Question about DMC channel sample size
Hey guys! I am working on improving DPCM support in FamiStudio and I was re-reading the DMC channel doc and I have a question. What do guys think was the reasoning behind samples start addresses being 64-bytes aligned, while having their size being 16x + 1 ? That "+1" is really wrecking m...
- Wed Dec 16, 2020 5:57 am
- Forum: General Stuff
- Topic: What is with indie games and procedural generation?
- Replies: 16
- Views: 16345
Re: What is with indie games and procedural generation?
Aren't Diablo's levels procedurally generated? They were very well made.