{"id":17427307,"url":"https://github.com/xboot/libxnes","last_synced_at":"2025-07-05T18:12:10.488Z","repository":{"id":257866580,"uuid":"856127174","full_name":"xboot/libxnes","owner":"xboot","description":"A lightweight, portable pure C99 NES emulator library.","archived":false,"fork":false,"pushed_at":"2024-10-21T09:35:11.000Z","size":7774,"stargazers_count":32,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T03:22:37.093Z","etag":null,"topics":["6502","apu","c99","emulator","family-computer","fc","lightweight","nes","nintendo","ppu"],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xboot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-09-12T03:18:27.000Z","updated_at":"2025-03-06T07:04:53.000Z","dependencies_parsed_at":"2024-10-21T13:28:26.619Z","dependency_job_id":null,"html_url":"https://github.com/xboot/libxnes","commit_stats":null,"previous_names":["xboot/libxnes"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xboot%2Flibxnes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xboot%2Flibxnes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xboot%2Flibxnes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xboot%2Flibxnes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xboot","download_url":"https://codeload.github.com/xboot/libxnes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249165845,"owners_count":21223332,"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":["6502","apu","c99","emulator","family-computer","fc","lightweight","nes","nintendo","ppu"],"created_at":"2024-10-17T06:06:51.180Z","updated_at":"2025-04-15T22:30:37.962Z","avatar_url":"https://github.com/xboot.png","language":"Assembly","readme":"\n\n***\n# Libxnes\nA lightweight, portable pure `C99` NES emulator library.\n\n## Getting Started\n\nJust type `make` at the root directory, you will see some binary of [examples](examples) for usage.\n\n```shell\ncd libxnes\nmake\n```\n\nTo compile the example, you need to install SDL2, In ubuntu systems:\n\n```shell\nsudo apt-get install libsdl2-dev\n```\n\n#### How to running\n\nAfter compiling all of files, you can running an example or drag some nes file to xnes:\n\n```shell\ncd examples/linux/output/\n./xnes \u003crom.nes\u003e\n```\n\n## Screenshots\n![super-mario](documents/screenshots/super-mario.png)\n![contra](documents/screenshots/contra.png)\n![battle-city](documents/screenshots/battle-city.png)\n![flying-hero](documents/screenshots/flying-hero.png)\n![gun-smoke](documents/screenshots/gun-smoke.png)\n![jackal](documents/screenshots/jackal.png)\n![1943](documents/screenshots/1943.png)\n![circus-chablic](documents/screenshots/circus-chablic.png)\n![chinese-chese](documents/screenshots/chinese-chese.png)\n![lode-runner](documents/screenshots/lode-runner.png)\n![pinball](documents/screenshots/pinball.png)\n![excite-bike](documents/screenshots/excite-bike.png)\n![bomber-man](documents/screenshots/bomber-man.png)\n![3eye](documents/screenshots/3eye.png)\n![chip-dale](documents/screenshots/chip-dale.png)\n![duck-hunt](documents/screenshots/duck-hunt.png)\n![64-in-1](documents/screenshots/64-in-1.png)\n\n## Keyboard\n\n| Description | Player 1 | Player 2 |\n| ---- | ---- | :--- |\n| UP   | W         | Arrow Up |\n| DOWN | S       | Arrow Down |\n| LEFT | A       | Arrow Left |\n| RIGHT | D     | Arrow Right |\n| A    | K        | Numpad 6 |\n| B    | J        | Numpad 5    |\n| SELECT | Space | Numpad 8 |\n| START | Enter  | Numpad 9 |\n\n| Description | Key |\n| :--- | ---- |\n| RESET | ESC    |\n| SLOW SPEED | F1       |\n| FAST SPEED | F2       |\n| REWIND | R       |\n\n## Joystick\n\n| Description | Joystick 1 | Joystick 2 |\n| ---- | ---- | :--- |\n| UP   | Up     | Up |\n| DOWN | Down   | Down |\n| LEFT | Left | Left |\n| RIGHT | Right | Right |\n| A    | A         | A |\n| B    | B        | B   |\n| SELECT | Select | Select |\n| START | Start | Start |\n| REWIND | L      |L|\n| FAST SPEED | R      |R|\n\n## Links\n\n* [The Chinese Discussion Posts](https://whycan.com/t_11467.html)\n* [The Nesdev Wiki](https://www.nesdev.org/wiki/Nesdev_Wiki)\n* [The 6502 Instruction Set](https://www.masswerk.at/6502/6502_instruction_set.html)\n* [The NES Cart Database](https://nescartdb.com)\n\n## License\n\nThis library is free software; you can redistribute it and or modify it under the terms of the MIT license. See [MIT License](LICENSE) for details.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxboot%2Flibxnes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxboot%2Flibxnes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxboot%2Flibxnes/lists"}