{"id":30302349,"url":"https://github.com/w84death/game12-asm","last_synced_at":"2025-10-11T10:48:43.821Z","repository":{"id":297779394,"uuid":"997831883","full_name":"w84death/game12-asm","owner":"w84death","description":"Cortex Labs - Real-time, puzzle, strategy game for x86 processors made in assembly. MS-DOS.","archived":false,"fork":false,"pushed_at":"2025-10-01T21:11:02.000Z","size":13558,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-01T21:24:49.412Z","etag":null,"topics":["assembly-language","assembly-x86","baremetal","baremetal-programming","floppy","freedos","game","msdos","msdos-game","strategy-game"],"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/w84death.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-07T09:27:07.000Z","updated_at":"2025-10-01T21:11:06.000Z","dependencies_parsed_at":"2025-06-28T22:23:11.568Z","dependency_job_id":"c5bd2539-f812-4da8-9af5-af53de11db81","html_url":"https://github.com/w84death/game12-asm","commit_stats":null,"previous_names":["w84death/game12-asm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/w84death/game12-asm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w84death%2Fgame12-asm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w84death%2Fgame12-asm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w84death%2Fgame12-asm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w84death%2Fgame12-asm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w84death","download_url":"https://codeload.github.com/w84death/game12-asm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w84death%2Fgame12-asm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006866,"owners_count":26084208,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["assembly-language","assembly-x86","baremetal","baremetal-programming","floppy","freedos","game","msdos","msdos-game","strategy-game"],"created_at":"2025-08-17T05:08:58.322Z","updated_at":"2025-10-11T10:48:43.810Z","avatar_url":"https://github.com/w84death.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![Cortex Labs](docs/logo.png)\nReal-time strategy for x86 processors made in assembly.\n![Game screen](docs/screenshot-4.png)\n\n## Features\n* VGA 320x200, 16 colors, 4 colors per tiles, 3 + transparency for sprites\n* Arne 16 color palette\n* 2D tile-based top-down view\n* Procedural map generation\n* Big, 128x128 tiles, map\n* 16x16 sprites/tiles in 4 colors\n* No framebuffer, redrawing only parts that changed\n* RLE image compression for pre-rendered backgrounds\n* Game state machine\n* Windows and Menu system\n* Sound effects (PC Speaker)\n* Rails system with pods transporting goods\n* Main base expansion + buildings\n* 3 type of resources to extract, transport, and refine\n* Development tools (vibe coded C):\n  * png2asm - compress tileset to assembly db\n  * rleimg2asm - compress 320x200 images to assembly RLE db\n  * fnt2asm - compress font tileset to assemlby db\n\n## Tileset\n![Sprites](docs/sprites.png)\n\n## Running\nBoot from a floppy or run on MS-DOS (FreeDOS).\n\n![Game Title screen](docs/screenshot-1.png)\n![Menu screen](docs/screenshot-2.png)\n\n## Building\nCreate floppy and binary:\n```make```\n\nMake just binary:\n```make com```\n\nCheck statistics:\n```make stats```\n\nFor more targets check help.\n```make help```\n\n## Tools\n\n### png2asm\nFor converting .png tilemap into 2-bit compressed and palettes assembly code.\n```./png2asm tileset.png palettes.png ../../src/tiles.asm```\n\n### rleimg2asm\nFor converting .png image into RLE compressed assembly code.\n```./rleimg2asm frames/p1x.png ../../src/img_p1x.asm -asm p1x_logo_image -stats```\n### fnt2asm\nFor converting .png font charset into 1-bit compressed assembly code.\n```./fnt2asm font.png ../../src/font.asm```\n\n![P1X logo screen](docs/screenshot-0.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw84death%2Fgame12-asm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw84death%2Fgame12-asm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw84death%2Fgame12-asm/lists"}