{"id":21002872,"url":"https://github.com/mobluse/old-pascal","last_synced_at":"2026-01-02T04:32:19.707Z","repository":{"id":80542882,"uuid":"54245112","full_name":"mobluse/old-pascal","owner":"mobluse","description":"Some of my old Pascal-programs from 1987-1992","archived":false,"fork":false,"pushed_at":"2018-05-01T10:33:58.000Z","size":159,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T10:09:44.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.df.lth.se.orbin.se/~mikaelb/jpc/pascal.html","language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mobluse.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":"2016-03-19T03:19:34.000Z","updated_at":"2023-01-21T16:58:23.000Z","dependencies_parsed_at":"2023-04-07T18:47:33.158Z","dependency_job_id":null,"html_url":"https://github.com/mobluse/old-pascal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Fold-pascal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Fold-pascal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Fold-pascal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobluse%2Fold-pascal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mobluse","download_url":"https://codeload.github.com/mobluse/old-pascal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243419128,"owners_count":20287806,"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":[],"created_at":"2024-11-19T08:20:48.969Z","updated_at":"2026-01-02T04:32:19.675Z","avatar_url":"https://github.com/mobluse.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Old Pascal\nThese are some old [Pascal](https://en.wikipedia.org/wiki/Pascal_%28programming_language%29)-programs I wrote in Vax Pascal or Turbo Pascal between 1987 and 1992. You can run some of them in an [DOS-emulator that is a Java applet: JPC](http://www.df.lth.se.orbin.se/~mikaelb/jpc/pascal.html).\n\nI converted them from [CP437](https://en.wikipedia.org/wiki/Code_page_437) to UTF8 using `iconv`. There is one\nprogram, pu7.pas, that used [ISO646-SE](https://en.wikipedia.org/wiki/ISO/IEC_646), but that was converted\nmanually since it also uses square brackets for arrays.\n\nI removed ^Z (end of file character) and changed CRLF to LF using\n`sed -i -e 's/^Z//' -e 's/^M$//' filename.pas`, where ^Z is entered by typing Ctrl+V Ctrl+Z in Bash, and ^M, Ctrl+V Ctrl+M.\n\nAn alternative is to use `dos2unix`:  \n`iconv -f CP437 -t UTF8 filename.pas | tr -d '\\32' | dos2unix \u003e filename.pas2`\n\nNow you can compile to `bubsigma`, `crcrcrlf`, `field`, `polsk`, `polsk2`, and `spridn` using `fpc`\n(Free Pascal Compiler version 2.6.4 for Raspbian on Raspberry Pi). `pu7` uses different file procedures. \nThe other programs uses unit Graph which I can't use yet in Raspbian Linux with X.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobluse%2Fold-pascal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobluse%2Fold-pascal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobluse%2Fold-pascal/lists"}