{"id":26052549,"url":"https://github.com/qalle2/nes-clock","last_synced_at":"2026-04-18T08:02:17.228Z","repository":{"id":51606395,"uuid":"496374128","full_name":"qalle2/nes-clock","owner":"qalle2","description":"Qalle's Clock (NES)","archived":false,"fork":false,"pushed_at":"2023-10-05T01:37:37.000Z","size":145,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T06:42:09.577Z","etag":null,"topics":["6502","asm6","assembly","homebrew","nes"],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"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/qalle2.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":"2022-05-25T20:05:24.000Z","updated_at":"2025-01-01T18:53:32.000Z","dependencies_parsed_at":"2025-03-08T06:41:07.360Z","dependency_job_id":"38695ae7-acd2-407b-bd95-8195694f29a7","html_url":"https://github.com/qalle2/nes-clock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qalle2/nes-clock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qalle2%2Fnes-clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qalle2%2Fnes-clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qalle2%2Fnes-clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qalle2%2Fnes-clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qalle2","download_url":"https://codeload.github.com/qalle2/nes-clock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qalle2%2Fnes-clock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31961348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["6502","asm6","assembly","homebrew","nes"],"created_at":"2025-03-08T06:40:59.658Z","updated_at":"2026-04-18T08:02:17.199Z","avatar_url":"https://github.com/qalle2.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qalle's Clock\nA 24-hour 7-segment clock for the [NES](https://en.wikipedia.org/wiki/Nintendo_Entertainment_System).\n\nTable of contents:\n* [List of files](#list-of-files)\n* [Technical info](#technical-info)\n* [How to use](#how-to-use)\n  * [Adjust mode](#adjust-mode)\n  * [Run mode](#run-mode)\n\n## List of files\n\n### Text\n* `assemble.sh`: a Linux script that assembles the program (warning: deletes files)\n* `clock.asm`: source code (assembles with [ASM6](https://www.romhacking.net/utilities/674/))\n\n### Image\n* `chr.png`: CHR data as an image (can be encoded with `nes_chr_encode.py` from [my NES utilities](https://github.com/qalle2/nes-util))\n* `snap*.png`: screenshots\n\n### Binary\n* `chr.bin.gz`: CHR data in NES format (gzip compressed)\n* `clock.nes.gz`: assembled program in iNES format (gzip compressed)\n\n## Technical info\n* mapper: NROM\n* PRG ROM: 8 KiB\n* CHR ROM: 2 KiB\n* name table mirroring: vertical\n* compatibility: NTSC \u0026amp; PAL\n\n## How to use\nThere are two modes.\n\n### Adjust mode\n![adjust mode](snap1.png)\n\n* The program starts in this mode.\n* Time does not advance.\n* The clock is at the center of the screen.\n* The cursor (up arrow) is visible.\n\nButtons:\n* left/right: move cursor\n* up/down: change digit at cursor\n* select: toggle between NTSC and PAL timing\n* start: switch to run mode (hour must be 23 or less)\n\n### Run mode\n![run mode](snap2.png)\n\n* If using NTSC timing, time advances by one second every 60.1 frames.\n* If using PAL timing, time advances by one second every 50.008333\u0026hellip; frames.\n* The clock moves around the screen to prevent burn-in.\n* The cursor is hidden.\n\nButtons:\n* start: return to adjust mode\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqalle2%2Fnes-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqalle2%2Fnes-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqalle2%2Fnes-clock/lists"}