Search found 507 matches

by Bananmos
Wed May 13, 2020 4:20 am
Forum: NESdev
Topic: Compiled stack proposal
Replies: 22
Views: 2094

Re: Compiled stack proposal

Nice to see this being picked up. Though I would probably suggest avoiding the *requirement* to specify / maintain calle-caller relationships. The point is after all to automate all of this for conveniency, and lots of new metadata requirements kind of work against that. They would lead to subtle bu...
by Bananmos
Wed May 13, 2020 4:16 am
Forum: NESdev
Topic: Aren't you afraid that NES Maker would just bring lazy noobs
Replies: 137
Views: 36712

Re: Aren't you afraid that NES Maker would just bring lazy noobs

By contrast I wouldn't even know how to start doing this with cc65... as there's no obvious way in the language to save the current address within a function to return to the same point of execution in the next frame - the C language was never designed for lightweight threading of concurrent actors...
by Bananmos
Tue May 12, 2020 9:15 am
Forum: NESdev
Topic: Aren't you afraid that NES Maker would just bring lazy noobs
Replies: 137
Views: 36712

Re: Aren't you afraid that NES Maker would just bring lazy noobs

I've found that C can be great for writing a main character's logic, as that often has a lot of complexity of different moves/attacks/etc, and isn't as likely to iterate through a loop of pointers/arrays. C is a lot worse for iterating over your enemies or other entities, as it does a terrible job ...
by Bananmos
Tue May 12, 2020 7:06 am
Forum: NESdev
Topic: Aren't you afraid that NES Maker would just bring lazy noobs
Replies: 137
Views: 36712

Re: Aren't you afraid that NES Maker would just bring lazy noobs

BUT! It's amazing. It's interesting how this machine is made. My first computer of childhood was Z80-based. And Z80 has big set of registers and the main problem with compilers is ignoring of register set. C compilers emits code load/saving memory for just incrementing and so on. But in the case of...
by Bananmos
Sun May 10, 2020 9:05 am
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 194
Views: 99014

Re: Mesen Debugger - Feedback/Feature Requests? (2018 edition)

Ah, I probably broke the modulo operator back when I added support binary values (e.g "x == %00010001"). Might have to change the operator for one of them, but I'll try and see if it's simple to keep them both in with the '%' operator. Ah, I see. No worries about using a different operator if it ma...
by Bananmos
Sat May 09, 2020 10:04 am
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 194
Views: 99014

Re: Mesen Debugger - Feedback/Feature Requests? (2018 edition)

So I'm trying to use the new super-useful assert feature with modulo to check my sprite page index is always divisible by 4, but can't get it to work. * Doing "assert(Y % 4 == 0)" just plain doesn't do anything. And when I try to type "%" in the debugger, it wont even accept the condition - so guess...
by Bananmos
Fri May 08, 2020 5:04 pm
Forum: NESdev
Topic: Aren't you afraid that NES Maker would just bring lazy noobs
Replies: 137
Views: 36712

Re: Aren't you afraid that NES Maker would just bring lazy noobs

And here are a few more hints: https://shiru.untergrund.net/articles/programming_nes_games_in_c.htm As much as I respect Shiru's work (all done in C, I know) the "time saving" example looks like total nonsense to me. No one in their right mind would "hand-write" assembly code like that. To begin wi...
by Bananmos
Tue May 05, 2020 11:21 am
Forum: NES Graphics
Topic: Poll: How would you prefer a first-person shooter on the NES to look like?
Replies: 21
Views: 3136

Re: Poll: How would you prefer a first-person shooter on the NES to look like?

Great to hear you're working on the raycaster again! I think it was such a cool project and would love to back a Kickstarter for the first fun'n'playable NES FPS. :) I think in cases like these, faking stuff is always better than brute-forcing it. Two tricks I can think of: 1) The Gamehut guy posted...
by Bananmos
Mon May 04, 2020 5:52 am
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 194
Views: 99014

Re: Mesen Debugger - Feedback/Feature Requests? (2018 edition)

Is the .dbg file called "myrom.dbg" (not the lack of .nes in the name here) for a rom called "myrom.nes"? Is it in the same folder as the "myrom.nes" file? Doh! It was named myrom.nes.dbg... I've updated my built batch script and it seems to work fine now :) Glad it's already useful to someone! Lik...
by Bananmos
Mon May 04, 2020 3:16 am
Forum: NESdev
Topic: Aren't you afraid that NES Maker would just bring lazy noobs
Replies: 137
Views: 36712

Re: Aren't you afraid that NES Maker would just bring lazy noobs

I think that's the core issue I have with C on the 6502. The language is designed to assume a 16-bit CPU with local stack storage. To get anywhere near good performance, it appears you have to use generally poor practices (globals, excessive use of typecasts to avoid implicit int-conversion etc). An...
by Bananmos
Sun May 03, 2020 7:19 am
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 194
Views: 99014

Re: Mesen Debugger - Feedback/Feature Requests? (2018 edition)

Was already planning on eventually doing something like this for the CHR viewer (to allow it to display PRG ROM as tiles), makes sense to have something similar for the sprite viewer, too. So, here you go! (next appveyor build will have it) Thanks a lot! Just used this new feature to easily track d...
by Bananmos
Sun May 03, 2020 5:15 am
Forum: NESdev
Topic: Aren't you afraid that NES Maker would just bring lazy noobs
Replies: 137
Views: 36712

Re: Aren't you afraid that NES Maker would just bring lazy noobs

I don't think performance is the key issue here. As you try to scale up a one-screen minigame to something larger on the NES, you inevitably run into more problems of asset management, tackling issues of having to choose compression formats for levels, how to carefully partition your banks, etc. Wit...
by Bananmos
Sat May 02, 2020 12:54 pm
Forum: NESdev
Topic: Aren't you afraid that NES Maker would just bring lazy noobs
Replies: 137
Views: 36712

Re: Aren't you afraid that NES Maker would just bring lazy noobs

I've been interested in trying out making my own NES games. Now that it's been out for a while, is NES Maker considered a good tool? I do know how to code assembly, so that is an option, but I've never attempted programming a game with it. Well, the people using it have managed to make some very pl...
by Bananmos
Thu Apr 30, 2020 5:39 pm
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 194
Views: 99014

Re: Mesen Debugger - Feedback/Feature Requests? (2018 edition)

Will a build supporting it eventually pop up here ? The latest build (0.9.9.25) has support for the asserts (for all comments, not just CA65 integration) Let me know if you find issues - I haven't tested this a whole ton. :p Finally got around to trying it out... and it works fantastically with bot...
by Bananmos
Thu Apr 30, 2020 2:36 am
Forum: Homebrew Projects
Topic: Mega Man 9 remade into an NES ROM
Replies: 11
Views: 1801

Re: Mega Man 9 remade into an NES ROM

As others have said, tread carefully. While Capcom have been surprisingly receptive in SF2 vs Megaman, it's dangerous to assume goodwill won't kill a fan project. I don't think I would plan to make the Jewel Man stage. Like you mentioned, it would be quite a flickering mess. That said, about I could...