{"id":17795635,"url":"https://github.com/commandblockguy/cemscripten","last_synced_at":"2025-09-16T16:10:55.101Z","repository":{"id":86467096,"uuid":"310510393","full_name":"commandblockguy/CEmscripten","owner":"commandblockguy","description":"Compiles TI-84+CE CEdev C programs to WebAssembly with minimal source modifications.","archived":false,"fork":false,"pushed_at":"2020-12-18T20:16:04.000Z","size":81,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-27T00:31:04.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/commandblockguy.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":"2020-11-06T06:23:33.000Z","updated_at":"2025-07-14T07:47:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2cec775-6d6d-4f8e-914e-ef77fe333481","html_url":"https://github.com/commandblockguy/CEmscripten","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/commandblockguy/CEmscripten","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commandblockguy%2FCEmscripten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commandblockguy%2FCEmscripten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commandblockguy%2FCEmscripten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commandblockguy%2FCEmscripten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commandblockguy","download_url":"https://codeload.github.com/commandblockguy/CEmscripten/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commandblockguy%2FCEmscripten/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275447393,"owners_count":25466564,"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-09-16T02:00:10.229Z","response_time":65,"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":[],"created_at":"2024-10-27T11:35:56.977Z","updated_at":"2025-09-16T16:10:55.054Z","avatar_url":"https://github.com/commandblockguy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CEmscripten\n\nA toolchain to compile C programs originally designed for the TI-84+CE calculator using [CEdev](https://github.com/CE-Programming/toolchain) to WebAssembly with minimal source modifications.\n\nCurrently, it is extremely incomplete - do not expect it to compile much of anything besides [Taxi Simulator](https://commandblockguy.xyz/demos/taxi/) without implementing many functions yourself.\n\nContributions are highly welcome - not just PRs, but also issues for bugs or feature requests, so that I can have some idea of what needs to be implemented.\n\nThis probably won't run on Windows.\n\n## Usage\n1. Clone this repository to your computer.\n2. Set the CEMSCRIPTEN environment variable to the path to the repo.\n3. Add this line to the end of your project's makefile: `include $(CEMSCRIPTEN)/makefile.mk`\n4. Build the project with `make web`\n\n## Limitations\n- Currently, most functions are not implemented.\n- There is no 24-bit type in WebAssembly. You should replace all instances of `uint24_t` and `int24_t` with `int` and `unsigned int`, respectively. If your program uses hardcoded sizes, this will likely break it, so just don't do that.\n- Assembly functions will not compile, as this is not an emulator.\n- Direct access to any hardware registers, besides vram, the LCD palette, or kb_Data will not work.\n- The web browser uses an asynchronous model, while almost all C programs use a synchronous model. CEmscripten attempts to work around this by adding a short delay during some IO-related functions to allow the browser to process other events. You may also do this yourself by calling the delay() function.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommandblockguy%2Fcemscripten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommandblockguy%2Fcemscripten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommandblockguy%2Fcemscripten/lists"}