Search found 101 matches

by hackfresh
Fri Mar 18, 2022 4:14 pm
Forum: General Stuff
Topic: NES games with a lot of character logic going on
Replies: 25
Views: 2897

Re: NES games with a lot of character logic going on

Tecmo super bowl(football) 11 vs 11 can have a lot going on. It uses some of the tricks mentioned in this thread. 1. Entity logic only gets run once the timer runs out. Example ball carrier pursuit. It only checks after so frames to adjust to the ball carriers direction. Hence why you can zig-zag yo...
by hackfresh
Fri May 17, 2019 10:43 am
Forum: NESdev
Topic: Why not read controllers in NMI?
Replies: 50
Views: 58415

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: 58415

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...
by hackfresh
Mon May 06, 2019 5:10 pm
Forum: NESdev
Topic: posting code in hopes of peer reviews.
Replies: 21
Views: 17910

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 ...
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: 7083

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: 33
Views: 28064

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: 19456

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: 991
Views: 637393

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: 6622

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: 4587

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: 4587

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 t...
by hackfresh
Fri Nov 24, 2017 3:37 pm
Forum: NESdev
Topic: Checksum for savestates
Replies: 28
Views: 11793

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: 8213

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: 4394

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: 26837

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.