{"id":20999879,"url":"https://github.com/brentseidel/m68k-stuff","last_synced_at":"2026-05-22T10:02:41.892Z","repository":{"id":222186791,"uuid":"756499761","full_name":"BrentSeidel/m68k-stuff","owner":"BrentSeidel","description":"Assembly language programming for the 68000 CPU","archived":false,"fork":false,"pushed_at":"2024-03-28T16:14:00.000Z","size":865,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T13:43:43.853Z","etag":null,"topics":["assembly-language","motorola-68000","multitasking"],"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/BrentSeidel.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-02-12T19:28:07.000Z","updated_at":"2024-11-14T11:28:30.000Z","dependencies_parsed_at":"2025-03-13T13:51:19.766Z","dependency_job_id":null,"html_url":"https://github.com/BrentSeidel/m68k-stuff","commit_stats":null,"previous_names":["brentseidel/m68k-stuff"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BrentSeidel/m68k-stuff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrentSeidel%2Fm68k-stuff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrentSeidel%2Fm68k-stuff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrentSeidel%2Fm68k-stuff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrentSeidel%2Fm68k-stuff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrentSeidel","download_url":"https://codeload.github.com/BrentSeidel/m68k-stuff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrentSeidel%2Fm68k-stuff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28098796,"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-12-28T02:00:05.685Z","response_time":62,"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","motorola-68000","multitasking"],"created_at":"2024-11-19T08:08:47.476Z","updated_at":"2025-12-28T11:05:35.595Z","avatar_url":"https://github.com/BrentSeidel.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assembly Language Stuff for the M68000 CPU\n\nNow that I have a [68000 simulator](https://github.com/BrentSeidel/Sim-CPU)\nrunning, I needed some software for it.  So, I decided to try writing a\nsimple multitasking operating system that can run a few tasks.  The first\ngoal is to have something that will blink the lights on the [Pi Mainframe](https://github.com/BrentSeidel/Sim-CPU)\nin interesting patterns.  The second goal is to learn a bit about how\nto write an operating system kernel and provide services.  The third\ngoal is maybe to have something uself.\n\n## Background\nWay back in the 1980s, I first encountered a multiuser operating system\nin the form of RSTS/E and later VAX/VMS.  I had a dream of writing my own\noperating system (BOS for Brent's Operating Systems).  This didn't happen.\nHowever, some ideas and things that I've picked up over the years may\nshow up here.\n\nCurrently, I am calling this OS-68000 (or OS68k for short) until I can\ncome up with a better name.\n\n## Current status\n### Multitasking is Working\nCurrently five tasks are defined:\n1. The background null tasks which runs when all other tasks are blocked.  It\nis part of the operating system.\n2. A task used to test various routines.\n3. A task that just prints Fibonacci numbers that always runs.  It provides\nan obvious indication if the systems stalls.\n4. A task that provides a system status indication.\n5. Another Fibonacci task to load the system.\n\nTasks can be suspended for sleeping or waiting for input to occur.\n\nTasks are scheduled in a round-robin fashion on each clock tick, or whenever\na task gets suspended.  The null task is only scheduled when no other task\ncan be run.\n\n### Working on the Library\nThe system library provides a bunch of services to both the operating system\nand the user tasks.  It provides things like:\n* String to number (and vice-versa) conversions for octal, decimal, and\nhexidecimal for byte, word, and long number.\n* String input\n* String functions to assist in parsing string\n* A basic command line interpreter that is shared between all tasks\n\n## Future Plans\nFuture plans include the following (subject to change)\n* Implement mass storage with a filesystem (possibilities include MS-DOS,\nCP/M, Minix, or other).\n* Add message passing to the OS kernel.\n* Add a buffer pool.  This will probably be needed to support other things.\n\n### Hardware\nI'd like to design and build a 680x0 based computer.  This probably won't\nhappen due to the time and cost required, but would be an interesting\nproject...\n\n## License\n\nThis project is licensed using GPL 3.0+.  I don't expect anyone to actually\nbe interested in using this commercially, but if you wish to use this with\na different license, contact the author (me).\n\nI expect this to be of most use for people interested in operating systems.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrentseidel%2Fm68k-stuff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrentseidel%2Fm68k-stuff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrentseidel%2Fm68k-stuff/lists"}