{"id":17058721,"url":"https://github.com/denilsonsa/retroadapter","last_synced_at":"2025-07-06T20:34:27.805Z","repository":{"id":136891353,"uuid":"275635617","full_name":"denilsonsa/retroadapter","owner":"denilsonsa","description":"My changes on top of RetroAdapter to make it work with my microcontroller. This is basically the RetroAdapter version 2.1a with some tweaks in the Makefile, an updated usbdrv, and many modules disabled. Built as an USB adapter for SEGA Genesis / Mega Drive controllers.","archived":false,"fork":false,"pushed_at":"2024-01-13T12:36:11.000Z","size":1523,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T01:31:53.002Z","etag":null,"topics":["atmega","atmega8","avr","retro-controller","sega-genesis","sega-mega-drive","usb-game-controller","usb-gamepad","usb-hid"],"latest_commit_sha":null,"homepage":"http://denilson.sa.nom.br/blog/2013-07-15/i-built-a-retroadapter","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denilsonsa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-28T17:33:08.000Z","updated_at":"2024-03-05T04:37:28.000Z","dependencies_parsed_at":"2024-10-14T10:30:41.450Z","dependency_job_id":"a52dcad7-5386-4184-a7cf-d7c0ae3aa766","html_url":"https://github.com/denilsonsa/retroadapter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denilsonsa%2Fretroadapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denilsonsa%2Fretroadapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denilsonsa%2Fretroadapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denilsonsa%2Fretroadapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denilsonsa","download_url":"https://codeload.github.com/denilsonsa/retroadapter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252721062,"owners_count":21793746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atmega","atmega8","avr","retro-controller","sega-genesis","sega-mega-drive","usb-game-controller","usb-gamepad","usb-hid"],"created_at":"2024-10-14T10:30:36.522Z","updated_at":"2025-05-06T16:28:48.172Z","avatar_url":"https://github.com/denilsonsa.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"RetroAdapter\n============\n\nOriginally written by Paul Qureshi (for the ATmega168 microcontroller).\n\nModifications in this repository by Denilson Sá (adapted to the ATmega8 microcontroller).\n\nOverview\n--------\n\nThis repository contains my changes on top of RetroAdapter (originally for\nATmega168) to make it work with the ATmega8 microcontroller that I already had.\nThis is basically the RetroAdapter version 2.1a with these changes:\n\n* some tweaks in the Makefile,\n* an updated usbdrv,\n* some bugfixes in the main firmware (corrected some button mappings),\n* many modules disabled (because I'll never use them, and to reduce the size of the firmware),\n* a few conditionals hardcoded (because my hardware only supports one kind of controller),\n* optional bootloader changed (or updated) from bootloadHID to USBaspLoader.\n\nThe firmware in this repository worked on the ATmega8 microcontroller.\n\nFeel free to use this repository as a starting point for your own project.\n\nBackground\n----------\n\nFor a long while I wanted to build a Sega Mega Drive controller adapter to USB.\nFortunately, Paul Qureshi wrote have created RetroAdapter and published all the\nsource and schematics on his website \u003chttp://denki.world3.net/retro_v2.html\u003e.\nThis adapter uses an ATmega 8-bit microcontroller with almost no extra\ncomponents (only a few resistors, a few capacitors, a couple of Zener diodes, a\ncrystal).\n\nHe used ATmega168, which is more powerful than the ATmega8 that I already have.\nIn order to make it compile and make it fit in 8KB (or 6KB + bootloader), I had\nto make small changes to the RetroAdapter code. These changes are saved in this\nrepository.\n\nThe Makefile changes mostly come from my previous project:\n[atmega8-magnetometer-usb-mouse](https://github.com/denilsonsa/atmega8-magnetometer-usb-mouse/blob/master/firmware/Makefile)\n\nMy blog post about this project:\n\u003chttp://denilson.sa.nom.br/blog/2013-07-15/i-built-a-retroadapter\u003e\n\nHow to get started\n------------------\n\nIf you're not familiar with AVR ATmega microcontrollers, please read my\nmulti-part series:\n[First contact with ATmega8 microcontroller](https://denilson.sa.nom.br/blog/2007-10-25/first-contact-with-atmega8-microcontroller-part-1).\nIt starts from the very basics and goes step by step on building a simple\nproject using such microcontrollers.\n\nOnce you're familiar with AVR ATmega microcontrollers, and you have the\nnecessary software tools, you can dig into this repository:\n\n* [fuses.md](fuses.md) - Lists what are the expected Fuse values to be\n  programmed into the microcontroller.\n* [hardware/](hardware/) - Schematics of the original RetroAdapter and also for\n  the ATmega8 version.\n* [source/](source/) - The entire source-code for the firmware and for the\n  optional bootloader. Includes a [Makefile](source/Makefile) which can be used\n  to build the firmware, write it to the microcontroller, and also write the\n  fuse bytes.\n* [more_docs/](more_docs/) - Further documentation on the RetroAdapter, saved\n  from the original website before it went offline.\n* [legacy_from_RetroAdapter_2.1a/](legacy_from_RetroAdapter_2.1a/) - Other\n  files originally from RetroAdapter 2.1a, before the changes from this\n  repository. You probably don't need these.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenilsonsa%2Fretroadapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenilsonsa%2Fretroadapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenilsonsa%2Fretroadapter/lists"}