{"id":22345381,"url":"https://github.com/dosworld/rtools","last_synced_at":"2026-02-08T08:33:13.378Z","repository":{"id":59637298,"uuid":"445003197","full_name":"DosWorld/rtools","owner":"DosWorld","description":"RDOFF2 16/32 bit object code linker for MS-DOS (Link into COM, MZ, ADAM, LX, PE32 formats).","archived":false,"fork":false,"pushed_at":"2022-11-11T11:02:58.000Z","size":707,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-18T18:37:03.369Z","etag":null,"topics":["16-bit","com","dos","exe","link","linker","ms-dos","nasm","obj","object","pascal","rdf","rdl"],"latest_commit_sha":null,"homepage":"","language":"Pascal","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/DosWorld.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.TXT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-06T01:32:58.000Z","updated_at":"2025-04-22T23:37:13.000Z","dependencies_parsed_at":"2023-01-22T14:46:05.254Z","dependency_job_id":null,"html_url":"https://github.com/DosWorld/rtools","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/DosWorld/rtools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DosWorld%2Frtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DosWorld%2Frtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DosWorld%2Frtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DosWorld%2Frtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DosWorld","download_url":"https://codeload.github.com/DosWorld/rtools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DosWorld%2Frtools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29225477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T06:05:31.539Z","status":"ssl_error","status_checked_at":"2026-02-08T05:58:33.853Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["16-bit","com","dos","exe","link","linker","ms-dos","nasm","obj","object","pascal","rdf","rdl"],"created_at":"2024-12-04T09:17:35.485Z","updated_at":"2026-02-08T08:33:13.236Z","avatar_url":"https://github.com/DosWorld.png","language":"Pascal","readme":"# RTools\r\n\r\nThis is MS-DOS tools for linking `RDF`/`RDL` files.\r\nWhile playing with small compilers, I noticed one problem for all beginners.\r\nIt lacks runtime-libraries and linkers support.\r\n\r\nI investigate the OBJ/OMF format and found it too complicated.\r\nAOUTB has no segment memory support. COFF and ELF are also complex\r\nand solve problems non-relevant to MS-DOS.\r\n\r\nBy chance, I meet the RDOFF2 format from NASM - a beautiful and simple\r\nformat for object modules.\r\n\r\nThis repository contains tools for working with RDOFF2 (and source code)\r\nto help you build small compilers.\r\n\r\n`RDF` - NASM builtin format `RDOFF2` for object files. Different version of\r\nNasm works different with this files. So, I strongly advise to use\r\n`NASM version 0.98.39`. See DOC\\RDOFF2.TXT and source code.\r\n\r\n`RDL` - Again, NASM-format but for libraries.\r\n\r\n* nasm - version `0.98.39`, just recompiled for MS-DOS (no DPMI) with RDF support\r\n(by default - is disabled). No other changes.\r\n* rdfdump - dump utility\r\n* rlib - library manager\r\n* rlink - linker itself\r\n\r\n# RLINK\r\n\r\nRLINK can generate huge files. To speed up RLINK - point your TMP/TEMP directory to ramdrive.\r\nSo, don't be confused with dos 16-bit application - RLINK known how to handle more then 64kb and 640kb :).\r\n\r\n## Supported output formats\r\n\r\n* COM - simple MS-DOS .com file\r\n* MZS - MS-DOS exe, small memory model (CS = code, DS = data,bss,stack)\r\n* MZL - MS-DOS exe, large memory model (each rdf have own CS, DS and BSS segment)\r\n* ADAM - DOS32 Extender.\r\n* LX - OS/2 and DPMI exe file.\r\n* PE - DOS PE32 file (PE32 without imports).\r\n* RDF - Linked rdf into one code-segment (like a .com, but with zero offset and name). Could be used as DLL.\r\nIf you load code segment at ????:0000 - you don't need process relocations. And, as bonus, you can use symbol table.\r\n\r\n## Builtin stubs and extenders\r\n\r\n* Simple stub (will write something like \"This is dpmi exe!\"). Can be used with HX-DOS Extender or with LX format\r\n (if you want bind other DOS-Extender).\r\n* Loader DOS32 Extender (for ADAM)\r\n* ZRDX DOS-Extender (for LX)\r\n* Loader HX-DOS Extender (for PE).\r\n\r\nIf you need viewer for RDF, please visit to https://github.com/DosWorld/objview\r\n\r\n\"Make\" utility available at https://github.com/DosWorld/smallmake\r\n\r\n# How to use\r\n\r\nSee MAKEFILE in TEST directory.\r\n\r\n# Dependencies\r\n\r\nRequires System2 library:\r\n\r\nhttps://github.com/DosWorld/libsystem2\r\n\r\n# Build\r\n\r\nYou need Turbo Pascal, System2 library and \"make\" in path.\r\nJust type:\r\n\r\n        cd src\r\n        make\r\n\r\n# License\r\n\r\nNASM version 0.98.39 binaries distributed with own different license\r\nand copyright-holders (see DOC\\NASMLIC.TXT, GNU LGPL).\r\n\r\nMIT License\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdosworld%2Frtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdosworld%2Frtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdosworld%2Frtools/lists"}