Loading...
2,515
2 years ago

Ever wondered how devs measure performance on real a NES, which has no dev kit? A common way is the change the "color emphasis" while an operation is executing, during rendering. This effectively draws colored bars representing how long something takes.


Here, Green represents the player update. At the start of the "player_update" function, which is running while the TV is drawing the previous frame from top to bottom & left to right, I tell the NES to tint everything Green. At the end of the function I stop tinting Green.

image.png

This tells me that to update the player, it takes *roughly* 15 scanlines of the video frame. I have about 260 scanlines to finish all the work for the next frame to maintain 60 frames per second, so this one function takes about 6% of my CPU budget for the frame.

image.png

The game in the video is a new, untitled, NES homebrew I am working on.

Follow for more updates on that game, and retro console development in general!



9 comments

Loading...

Next up

Here's something you don't see in every NES game:

A platformer with ZAPPER support! Super Sunny World allows a 2nd player to kill enemies with the Zapper Gun.

#nesdev

Big news for From Below (NES) and From Below Pocket (GB) physical editions!

Full Update: https://mailchi.mp/9df0515acedb/from-below-update-3

Short Version: Both NES and GB will start shipping next week!

Woohoo!!! #nesdev #gbdev

MASSIVE Game Boy Homebrew GIVEAWAY! We're giving away physical copies of 4 new Gameboy games to 1 winner! From Below is on sale NOW: http://shop.matthughson.com ๐Ÿšจ ENTER HERE: https://twitter.com/matthughson/status/1710641131590221843 ๐ŸGiveaway ends Oct 11th 11:59PM PT

Our first Pride Month quests have begun! ๐Ÿณ๏ธโ€๐ŸŒˆ

Celebrate with us by completing these quests.

Unlock basic Pride backgrounds! Get Pride sticker packs! Earn Pride trophies!

๐Ÿšจ1 WEEK LEFT!๐Ÿšจ ๐ŸšจGAMEBOY PREORDER!๐Ÿšจ Last chance to get a copy of this brand new Game Boy game, From Below Pocket, as well as the NES version!๐Ÿฆ‘ After this week, the game will be out of print, likely for YEARS. ๐Ÿ“† https://frombelowgame.com #gbdev #nesdev

LGBTQ+ Game Dev Icons:

Rebecca Heineman is a trans woman, award-winning Space Invaders player, and game dev who worked as a dev on The Bardโ€™s Tale, Myth III, and more.

She was inducted into the International Video Game Hall of Fame in 2017.

An NES crossover!

The Kraken from my first NES game, "From Below", will make a cameo as one of the bosses in my next NES game, "Super Sunny World"๐ŸŒž

Super Sunny World is a new pixel platformer, and a love letter to the original Super Mario Bros.๐Ÿ„

WISHLIST!

"Ghost Piece" is now available in From Below Pocket via a "patch/hack" for anyone interested! It comes with the game when purchased on itch.io! Warning: It's very untested, and probably has perf issues. ๐Ÿ˜… https://mhughson.itch.io/from-below-pocket/devlog/617249/ghost-pโ€ฆ

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

It's the FINAL push for From Below!

shop.matthughson.com

Sale ends 11:59PM PT!

If you know folks who love Game Boy, Tetris, NES, or Homebrew... LET THEM KNOW!

If you're on Reddit, Discord, social media... anything: Every share makes a HUGE difference!