-
Atari Dual Paddles as Independent Gamepads? Here’s How the iCode Ultimate Adapter Has the Answer.
If you’ve ever tried to get two-player Atari paddle games working on modern hardware, you know the frustration. Maybe it’s MiSTer FPGA where Player 2 is completely invisible. Maybe it’s RetroArch where you spent an hour buried in input configuration menus trying to map the Y axis to a second virtual player. Maybe it’s a…
-
Demystifying Atari Paddle Jitter: How the iCode Ultimate Adapter Delivers the Smoothest Paddle Experience
If you’ve ever plugged vintage Atari paddles into a USB adapter and watched your on-screen paddle twitch and dance while sitting perfectly still, you’ve experienced paddle jitter. It’s the number one complaint from retro gamers trying to play Breakout, Kaboom!, or Warlords on modern hardware. But what actually causes it — and can it be…
-
Extracting Transparency from Flattened Images
Ever had a semi-transparent graphic — a glass effect, a soft shadow, a wisp of smoke — that got flattened onto a solid background? The transparency data is gone. Or is it? With a surprisingly elegant trick, you can perfectly recover the original transparency by comparing the same image on two different backgrounds. Here’s how.…
-
Assembling Duo Bluetooth DIY Kit
The unit comes with all the parts you need except the case and solder. you will need to 3D print the STL file, assemble the parts, and solder the components. The Firmware is already loaded so you do not need to load any firmware. Step 1 Insert the power connector cable to the PC board…
-
Assembling Duo Plus DIY Kit
The unit comes with all the parts you need except the case and solder. you will need to 3D print the SDL file, assemble the parts, and solder the components. The Firmware is already loaded so you do not need to load any firmware. Step 1 Insert the Pro Micro controller daughter board into the…
-
Create RGB Rainbow Gradient with Programming Code
Here is some code that will help you create all the RGB values needed for generating a RGB Rainbow gradient. The code steps through 6 sets of transitions from one color to another in 256 steps each . Red to Yellow Yellow to Green Green to Cyan Cyan to Blue Blue to Magenta Magenta back…
-
How to Interface with Atari Driving Controller – Arduino Programming
The Atari driving controller uses a 16 position encoder that sends pulses to to pin 1 and pin 2 of the game port. These pulses can be deciphered or decoded to understand if the player is spinning the controller in the left or right direction. Here is how the spinners encoder works. If you look…
-
Inject onload javascript function for aspx pages with master page
1. Add the using reference to the top of your pages .cs file using System.Web.UI.HtmlControls; 2. In your Page_Load function of the .cs file add ((HtmlGenericControl) this.Page.Master.FindControl(“PageBody”)).Attributes.Add(“onload”, “load()”); 3. Make sure your master page BODY has the the matching id from above. in this case: ID=”PageBody” runat=”server” 4. In your aspx file, add you…
-
document.getElementById in asp.net with Master Pages
Using JavaScript to locate controls in ASP.net pages that are linked to master pages can be tricky. This is because the ASP.net reassigns control IDs dynamically and the names change. A simple solution is to use asp.net inline Tags. For Example: Instead for using: document.getElementById(“Label1″) try using: document.getElementById(“<%=Label1.ClientID%>”)
-
C# function for a Bezier Curve
The Bezier Curve formula below can be used to define smooth curves between points in space using line handlers (line P0 to P1 and line P2 to P3). P(t) = (1-t)^3P0 + 3(1-t)^2tP1 + 3(1-t)t^2P2 + t^3P3 At t=0 you will be at p0, and at t=1 you will be at p3. The function below…