{"id":20283859,"url":"https://github.com/nanochess/toledo-atomchess","last_synced_at":"2025-06-23T18:39:14.365Z","repository":{"id":98138433,"uuid":"44785196","full_name":"nanochess/Toledo-Atomchess","owner":"nanochess","description":"Toledo Atomchess is the world's smallest chess program in x86 assembly code","archived":false,"fork":false,"pushed_at":"2019-12-16T02:45:17.000Z","size":64,"stargazers_count":116,"open_issues_count":0,"forks_count":17,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-11T09:12:54.918Z","etag":null,"topics":["asm","bootloader","game","x86"],"latest_commit_sha":null,"homepage":null,"language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nanochess.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-10-23T02:09:25.000Z","updated_at":"2025-03-20T07:43:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"703cfe70-19d0-40b5-a75e-e41ee6a274c0","html_url":"https://github.com/nanochess/Toledo-Atomchess","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nanochess/Toledo-Atomchess","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanochess%2FToledo-Atomchess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanochess%2FToledo-Atomchess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanochess%2FToledo-Atomchess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanochess%2FToledo-Atomchess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanochess","download_url":"https://codeload.github.com/nanochess/Toledo-Atomchess/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanochess%2FToledo-Atomchess/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261535057,"owners_count":23173517,"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":["asm","bootloader","game","x86"],"created_at":"2024-11-14T14:17:22.503Z","updated_at":"2025-06-23T18:39:14.331Z","avatar_url":"https://github.com/nanochess.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"Toledo Atomchess\n(c) Copyright 2015-2019 Oscar Toledo G.\r\n\nhttp://www.nanochess.org/\r\nhttps://github.com/nanochess\r\n\r\nThis Github repository contains the x86 assembler source code\r\nfor Toledo Atomchess and Toledo Atomchess Reloaded.\r\n\r\nToledo Atomchess allows the player to play against the computer,\r\nthe computer only plays basic legal chess movements, no promotion,\r\nno castling and no enpassant. All this in 356 bytes bootable from\r\na floppy disk or 352 bytes if using the COM file. Also there is\na HACK mode version reaching 326 bytes with COM file, or 330 bytes\nbootable.\r\n\r\nToledo Atomchess Reloaded plays full chess movements and\r\ncurrently sizes up to 779 bytes. It hasn't been optimized further\nbecause of lack of time.\r\n\r\nCheck the source code for further details.\r\n\r\nIn order to assemble it, you must download the Netwide Assembler\r\n(nasm) from www.nasm.us\r\n\r\nUse this command line:\r\n\r\n  nasm -f bin toledo_atomchess.asm -o toledo_atomchess_disk.img\r\n  nasm -f bin toledo_atomchess_reloaded.asm -o atomr.img\r\n\nOr this command line for compatibility with bootOS (see my repositories):\n\n  nasm -f bin toledo_atomchess.asm -Dbootos -o toledo_atomchess_bootos.img\r\n\r\nIt can be run with DosBox or qemu:\r\n  \r\n  qemu-system-x86_64 -fda toledo_atomchess_disk.img\r\n  qemu-system-x86_64 -fda atomr.img\r\n\r\nThanks to following people:\n\n  * HellMood for suggesting the translation of Toledo Atomchess\n    to nasm syntax and some optimization suggestions.\n  * Peter Ferrie (qkumba) for suggestions.\n  * qu1j0t3 for providing a makefile.\n  * theshich for optimization suggestions.\n\r\nEnjoy it!\r\n\r\nUseful links: \r\n\r\nOriginal homepage of Toledo Atomchess\r\n  http://nanochess.org/chess6.html\r\n\n\n\u003e\u003e THE BOOK \u003c\u003c        \r\n\nDo you would like more details on the inner workings? This program\nis fully commented in my new book Programming Boot Sector Games\nand you'll also find a 8086/8088 crash course!\n\nNow available from Lulu:\n\n  Soft-cover\n    http://www.lulu.com/shop/oscar-toledo-gutierrez/programming-boot-sector-games/paperback/product-24188564.html\n\n  Hard-cover\n    http://www.lulu.com/shop/oscar-toledo-gutierrez/programming-boot-sector-games/hardcover/product-24188530.html\n\n  eBook\n    https://nanochess.org/store.html\n\nThese are some of the example programs documented profusely\nin the book:\n\n  * Guess the number.\n  * Tic-Tac-Toe game.\n  * Text graphics.\n  * Mandelbrot set.\n  * F-Bird game.\n  * Invaders game.\n  * Pillman game.\n  * Toledo Atomchess.\n  * bootBASIC language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanochess%2Ftoledo-atomchess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanochess%2Ftoledo-atomchess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanochess%2Ftoledo-atomchess/lists"}