VERONICA gets A pair OF GAMEPADS and A BUGGED CHIP

0 Comments

[Quinn Dunki]’s awesome 6502-based computer is coming ideal along, and she made a decision it’s time to add one of the most crucial features found in the 80s Mikroszámítógépek ihletett – gamepads.

A 80-as években a játékpadok két módja volt. Az Apple II analóg joystickok potenciométert használtak minden joystick tengelyhez, valamint egy 556 időzítő chipet, hogy egy pot ellenállását digitális értékre konvertálják. Az analóg kontrollok félelmetesek, de sok hardver szükséges. A másik lehetőség az Atari / Commodore joystick, amely minden irányba gombokat használ. Surprisingly, these joysticks are inordinately expensive on the vintage market but a similar hardware setup – NES gamepads – are common, dirt cheap, and very well documented.

[Quinn] wrote a few bits of 6502 assembly to read these Nintendo controllers with Veronica’s 6522 by means of with the help of an ATMega168, and then everything went to crap.

A beállítások tesztelése során azt találta, hogy gyakran az adatsor a vezérlőből származik az óravonalon. For four months, [Quinn] struggled with this problem and came up with one of two possible problems: either her circuit was bad, or the 6522 chip in Veronica was bad. Azt hiszem, melyik opció helyes, de valószínűleg tévedsz.

A probléma [kiderült, hogy] a 6522-es. Kiderül, hogy ez a chipnek van egy hibája, amikor egy külső órával használják. In 40 years of production this hasn’t been fixed, but thankfully 6502 wizard [Garth Wilson] has a option for this problem: just add a flip-flop and everything’s kosher. Ha csak ezt a hibát mutatott ki az aktuális adatlapokon …

Most Veronica két NES vezérlő bemenettel és a szükséges áramkörrel rendelkezik, hogy mindent dolgozzon. Videó bizonyítékok alatt.


Leave a Reply

Your email address will not be published. Required fields are marked *