Search found 23 matches

by HLorenzi
Fri Oct 14, 2016 11:10 am
Forum: General Stuff
Topic: customasm: Assembler for custom instruction sets
Replies: 4
Views: 2449

customasm: Assembler for custom instruction sets

I made a tool to assemble binaries from custom instruction set definitions! So you just write out some mnemonics and their binary representations, and it assembles based on that. There's quite a bit of functionality already, like using arbitrary expressions, but it's missing a lot too. It's somethin...
by HLorenzi
Sat Feb 07, 2015 3:18 pm
Forum: NESemdev
Topic: Emulator MahNES with a different approach
Replies: 5
Views: 4965

Re: Emulator MahNES with a different approach

Thanks, guys, but I think I wasn't clear enough. So the idea is not to make a fast emulator. By no means that. I tried to make it as precise, decoupled and customizable as possible (for where it stands now, anyways...). I was just trying to figure out whether those scanline.nes discrepancies come fr...
by HLorenzi
Sat Feb 07, 2015 12:05 pm
Forum: NESemdev
Topic: Emulator MahNES with a different approach
Replies: 5
Views: 4965

Emulator MahNES with a different approach

I've rewritten my emulator from scratch, keeping decoupling patterns in mind. Every part of the emulator is isolated and needs the caller to set up callback/hook functions for them to communicate. Not only that, I've also tried other approaches to emulation, namely: - The CPU is emulated for every c...
by HLorenzi
Sat Jan 03, 2015 11:57 am
Forum: Homebrew Projects
Topic: Ninja of the Kick -- Test Stages and an Enemy Added
Replies: 17
Views: 9131

Re: Ninja of the Kick -- Concept Gameplay Test

Well, I've implemented an enemy now (though you still can't take damage). More importantly, I've implemented scrolling and done a bit of work on the levels. I've put it at the first post!
by HLorenzi
Sat Dec 27, 2014 11:20 am
Forum: Homebrew Projects
Topic: Ninja of the Kick -- Test Stages and an Enemy Added
Replies: 17
Views: 9131

Re: Ninja of the Kick -- Concept Gameplay Test

And I highly recommend people do not . I know, I'd never want people to circumvent the NES's original design. But it really gets difficult to watch those apples pushing each other when everything flickers. I would recommend that you update your sfx/music in the NMI routine, rather than inline with ...
by HLorenzi
Fri Dec 26, 2014 3:56 pm
Forum: Homebrew Projects
Topic: Ninja of the Kick -- Test Stages and an Enemy Added
Replies: 17
Views: 9131

Re: Ninja of the Kick -- Concept Gameplay Test

If you draw an apple on the background when it's not moving and then turn it back into a sprite once it starts moving again, that won't be as necessary. Think of what Super Mario Bros. does when you bash a 10 coin block or Super Mario Bros. 2 does when you toss a mushroom block or Crystal Mines , E...
by HLorenzi
Thu Dec 25, 2014 10:20 pm
Forum: Homebrew Projects
Topic: Ninja of the Kick -- Test Stages and an Enemy Added
Replies: 17
Views: 9131

Ninja of the Kick -- Test Stages and an Enemy Added

(That name.....I just quickly made it up.) After considering concepts about my other demos ( http://forums.nesdev.com/viewtopic.php?f=22&t=11965 ), I've come up with another kind of gameplay that I think can bring in many possibilities of level design. Someone might have done a game like this be...
by HLorenzi
Wed Oct 29, 2014 12:06 pm
Forum: Homebrew Projects
Topic: Ninja Platformers: Small test games
Replies: 13
Views: 6530

Re: Ninja Platformers: Small test games

Thanks everyone for the feedback! :o I would also like this to become a full game! However, I can only work on it on my spare time now, so it may take long. Should I make more progress on this, I would love to see it on a cartridge and play it on a real console! I've chosen MMC1 as the mapper, becau...
by HLorenzi
Mon Oct 27, 2014 7:22 pm
Forum: Homebrew Projects
Topic: Ninja Platformers: Small test games
Replies: 13
Views: 6530

Ninja Platformers: Small test games

Just thought I would rather post them here instead of letting them die in my hard drive without them ever seeing the light of day. :o These are small test games I made a while back, when learning to program for the NES. They kind of show my progress in learning better ways to program a game engine o...
by HLorenzi
Mon Jan 14, 2013 2:45 pm
Forum: NESemdev
Topic: MahNES Library Released - Emulator using SDL_Audio now
Replies: 24
Views: 26230

Re: MahNES Library Released - Emulator using SDL_Audio now

MahNES is crashing because you're calling fclose on a null pointer. This happens if there is no existing file named "MahNES Settings.txt" You know, I just love it when something works on my computer for who-knows-what reason, and when someone tries to run it, I look like a noob. I'm reall...
by HLorenzi
Sun Jan 13, 2013 6:54 pm
Forum: NESemdev
Topic: MahNES Library Released - Emulator using SDL_Audio now
Replies: 24
Views: 26230

Re: MahNES Library Released

I already tried a different OpenAL32.dll, it was a slightly different version number, and the emulator crashed. OK, now I've been able to get rid of that OpenAL thing, and switched to SDL, which was even easier to set up (but I'm still getting used to it, so there may be sound crackling or whatever...
by HLorenzi
Sun Jan 13, 2013 11:18 am
Forum: NESemdev
Topic: MahNES Library Released - Emulator using SDL_Audio now
Replies: 24
Views: 26230

Re: MahNES Library Released

Can you build a x86 compatible version of the emulator? I'd like to test it out. I think the problem is just the DLL -- I'll try to find the 32-bit version. That OpenAL website is... really messy. I could not verify what version the DLLs I found are, so I can only ask you to download the official i...
by HLorenzi
Sat Jan 12, 2013 7:34 pm
Forum: NESemdev
Topic: MahNES Library Released - Emulator using SDL_Audio now
Replies: 24
Views: 26230

Re: MahNES Library Released

A permissive license encourages voluntary collaboration among developers who use it. The others rely on forced collaboration and have involved terms which must be followed, which turns away some developers who prefer voluntary collaboration and simplicity. Neither will cause collaboration where the...
by HLorenzi
Sat Jan 12, 2013 12:10 pm
Forum: NESemdev
Topic: MahNES Library Released - Emulator using SDL_Audio now
Replies: 24
Views: 26230

Re: MahNES v0.3.6 - Possible Full Portable NES Emulation Lib

If you want to distribute a library as free software, the choice of license depends on how widely you want the library to be used by non-free software. A strong copyleft means the library can be used only in other free software projects . Use GNU General Public License, version 3 or later, or Sleep...
by HLorenzi
Fri Jan 11, 2013 7:46 pm
Forum: NESemdev
Topic: MahNES Library Released - Emulator using SDL_Audio now
Replies: 24
Views: 26230

Re: MahNES v0.3.6 - Possible Full Portable NES Emulation Lib

Is there something like that already? https://gitorious.org/nesicide/nesicide/trees/master/libs/nes Well, I'm late to this NES thing, anyway. The project started as a way for me to learn more. I wasn't hoping of being innovative. :P Maybe I should port my code to pure C? Don't know if that would he...