Search found 100 matches

by hackfresh
Fri May 17, 2019 10:43 am
Forum: NESdev
Topic: Why not read controllers in NMI?
Replies: 50
Views: 42458

Re: Why not read controllers in NMI?

For most people the number is more like 10, or lower. Here's a famous video of a former mashing champion doing 13 (supposedly he did 16 in his prime). Here's a vibrator assisted attempt that actually gets 20. Though, personally, I think it's immoral to ask a user to destroy their controller and/or ...
by hackfresh
Fri May 17, 2019 9:48 am
Forum: NESdev
Topic: Why not read controllers in NMI?
Replies: 50
Views: 42458

Re: Why not read controllers in NMI?

Tecmo Super Bowl checks the joypad as part of the NMI unless the "task busy flag is set" indicating a task is in the process of being created/ended/suspended. There is one mechanic in the game that requires this though. How fast you press the a button determines whether or not you throw or get tackl...
by hackfresh
Mon May 06, 2019 5:10 pm
Forum: NESdev
Topic: posting code in hopes of peer reviews.
Replies: 21
Views: 11662

Re: posting code in hopes of peer reviews.

Just an example of making the code slightly more readable... with the comments all lined up and commands indented from labels. And getting rid of a few of the "magic numbers". Well everything is not lined up perfectly in my example because using the code tag is a bit wonky but you get the idea. ;ass...
by hackfresh
Fri Dec 28, 2018 1:27 pm
Forum: NESemdev
Topic: Which NES netplay emulator is most fit for homebrew games?
Replies: 4
Views: 4566

Re: Which NES netplay emulator is most fit for homebrew game

Nestopia's netplay using p2p kaillera is pretty good and just require port forwarding. The only problem I encountered with Mesens netplay is that the lag is one sided. The host(server) basically has none and the client bears all the lag. So its really only going to work well on LAN for certain games...
by hackfresh
Thu Sep 27, 2018 10:05 am
Forum: General Stuff
Topic: Video Games That Have Been Fully Disassembled?
Replies: 32
Views: 9458

Re: Video Games That Have Been Fully Disassembled?

I have fully disassembled Tecmo super bowl with tons and tons of comments. I've almost fully re-worked it into nicely buildable asm6 format. However its currently not available for the public. This is a tiny example. A lot of the comments are excessive now that I have labels and variable names for m...
by hackfresh
Mon Jun 11, 2018 10:43 am
Forum: NES Graphics
Topic: Good looking 8x8 or 8x16 pixels sprite games?
Replies: 17
Views: 11008

Re: Good looking 8x8 or 8x16 pixels sprite games?

Tecmo Super Bowl uses 8x16 sprites for the players on the field.
by hackfresh
Mon Mar 05, 2018 7:22 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 777
Views: 303622

Re: Mesen - NES Emulator

How do you search for a hex sequence in the PRG ROM? It doesn't seem to be working for me on the lastest build
by hackfresh
Wed Jan 03, 2018 1:36 pm
Forum: General Stuff
Topic: 6502 coding style.
Replies: 16
Views: 3016

Re: 6502 coding style.

I like notepad++ for its 1. Code folding 2. Special highlighting for (ZP variables, macros, fixed bank functions) . This could be achieved with naming conventions going forward but in my reverse engineering it was easier to do it this way. I only do one level of indenting but can see where it would ...
by hackfresh
Mon Dec 11, 2017 5:48 pm
Forum: NESemdev
Topic: 4 player input bug?
Replies: 2
Views: 3027

Re: 4 player input bug?

Thanks lidnariq. That was indeed the problem.
by hackfresh
Mon Dec 11, 2017 5:25 pm
Forum: NESemdev
Topic: 4 player input bug?
Replies: 2
Views: 3027

4 player input bug?

I'm not sure if this is a bug but it occurred in both fceux,mesen and nestopia. I can't find anything on the wiki that would suggest this is normal operation but perhaps it is. If player 3 HOLDS down+right, "B" and "start" are not recognized on the player 1 controller. I tested this in a couple of c...
by hackfresh
Fri Nov 24, 2017 3:37 pm
Forum: NESdev
Topic: Checksum for savestates
Replies: 28
Views: 6561

Re: Checksum for savestates

Tecmo super bowl uses a simple two byte checksum. If the current checksum doesn't match the saved checksum it wipes the entire SRAM.
by hackfresh
Mon Sep 04, 2017 12:58 pm
Forum: NESdev
Topic: How to start developing games for NES?
Replies: 16
Views: 4362

Re: How to start developing games for NES?

Macros, descriptive function names, and good comments make things insanely more readable


Image
by hackfresh
Mon Aug 07, 2017 3:19 pm
Forum: NES Hardware and Flash Equipment
Topic: Please help me identify this SMD component :-)
Replies: 6
Views: 1727

Re: Please help me identify this SMD component :-)

My guess would be unmarked diode...


Image


Did you try measuring across the intact one on the diode setting on the multimeter?
by hackfresh
Mon Jul 24, 2017 10:39 am
Forum: General Stuff
Topic: First Programming Language?
Replies: 57
Views: 13076

Re: First Programming Language?

Pretty sure my first exposure to programming was BASIC in middle school.

I remember making a a stick figure guy walking across some ground and getting struck by lightning. Heh.
by hackfresh
Mon Jun 19, 2017 9:43 am
Forum: NESdev
Topic: Eclipse to make ASM filtes - tips needed
Replies: 13
Views: 3071

Re: Eclipse to make ASM filtes - tips needed

Ok just checking.

I remember I had to make this change in the IDE preferences to get it to work right.

Under Window->preferences->Editors->File Associations

MADS was the default editor for *.asm files. I had to remove it as the default and make ASM6 the default editor for that file type.