RSSAmplifier

Blog

gutomaia

Pythonist with a NES and an ☂

gutomaia.netRSS feed ↗14 posts

Latest posts

Tired of Floating-Point Problems?

Have you ever looked at your code and thought, "Why does 0.1 + 0.2 equal 0.30000000000000004?" Do the quirks of floating-point arithmetic keep you awake at night, wondering where all those tiny fractions of a cent are going? Well, worry no more! Introducing the ultimate life hack: Penny …

Why You Should Never Use Floats/Doubles Primitives for Money

Handling real numbers in computer science is a complex task, especially for fields like finance and astronomy, where precision is critical. Standard floating-point arithmetic is optimized for speed, often at the expense of exact precision. This trade-off has a particularly problematic impact on financial calculations, where even tiny rounding errors …

wedNESday #9 - Exploring NES Graphics

Playing around with NES graphics can be an incredibly fun and rewarding experience. Transitioning from that blank screen to one filled with tiles in a nametable highlights the capabilities and limitations of the platform. It's like a window ready to explode. Through this post, we might use some terms and …

wedNESday #8 - A long delay

A Long Time Ago It's been a while since my last update, and if you've been visiting this page eagerly awaiting news, thank you for your patience. Let's dive right in. Recently, I've been using the "wedNESday" project to thoroughly test NES emulators and improve them. In a Galaxy Far …

Double Dragon

Not in the mood to code today, so let's play a classic: Double Dragon. It's hard to explain nowadays what a phenomenal game it was back then. So before reviewing the NES version, which I'm going to play, let's first talk about the game’s history. At the end eighties …

Ghostbusters

I had my childhood in the eighties, and 'course, I used to wake up on staturday morning to watch ghostbusters. Then, when I though for a continuos integration lamp, I know it should have the "prohibed ghost sign"! In this post, I'm gonna show you, how to use your smartthings …

wedNESday #7 - More than just coding

One thing that I noticed on opensorce projects, it's more than just coding. Indeed the code itself is the center on wich everything else related to the project gravitates, but there is lot more. Today made some tweaks on my travis continuos integration, and also had a lot of reading …

wedNESday #6 - A bigger blender brain

Blender Bigger Brain* On last week's post, I had a "to do" list over the comments of the "upcoming improvements". So Toshimitsu Kamei came to the rescue again with the IO expander stuff. He sent some study material and sugests a small proof of concept just by following some internet …

wedNESday #5 - It's alive!

First of all, I must thanks Toshimitsu Kamei , without him this post wouln't be possible. Some time ago, he helped me up connecting the RasberryPI's GPIO along with W65C02S . It was fun, although I was kind of clumsy in this meantime, and them now I have to reattach everything. So …

wedNESday #4

Blender Brain* Split and Share I'm splitting the project wedNESday into a guide project. Unfortunelly, it does not have a catch name yet. The goal of this sidekick project is to serve as a lighthouse for thouse who attempt to create an emulator. It's filled with abstract test case scenarios …

wedNESday #3

Goals and Detours One of goals this week was to create a fake PPU, so that we can start testing it and playing with it and create a Pull Request in the py65 project with some tests. Although, while writing some tests in order to reach the first goal, I …

wedNESday #2

Keep up I've refactored the tests and extracted to CPU6502Spec , and them start playing with py65. Didn't take long to have most of the test working. Now I have the same test spec running with either ApplyPy or Py65 6502, and that's amazing. Although, let's keep in mind that the …

wedNESday #1

Forewords I've been hacking the NES for quite a long time, and since them, I've always been asked for writing an emulator. Although it was never a priority, everytime a question like that stands, I usually answer: "Why not?". Let's think over. Why should I, and why you should to …

The First Post

This is not my first attempt to write a blog, nevertheless, shall be the last. However, in this brief time lapse before the next attempt I must overcome the mistakes that lead previous blog to fade after the "First Post". One early mistake is the actual "first post". Usually, in …