rusty-dos
rust_dos
rusty-dos | rust_dos | |
---|---|---|
5 | 5 | |
134 | 140 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | over 1 year ago | |
Rust | Rust | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rusty-dos
-
Moving from Rust to C++
Some kind of framework: https://github.com/Serentty/rusty-dos
-
How can I compile rust for 16bit x86 (Intel 8086)?
I assume that's what rusty-dos is using, given this bit from the README:
- Shoot me straight.
-
Are these misconceptions about rust?
I know, but if you want to do dos, you can .
-
Writing bindings to `dos-like` for Rust: some lessons learned
Now, being both a Rust enthusiast and MS-DOS nostalgic, I have, multiple times, tried closing the gap on writing applications for real DOS systems in Rust. Unfortunately, this is not without issues, and there is not a clear path on how to go with this yet. More on existing efforts here.
rust_dos
-
Djgpp
You do not need segment registers much if you stick to the tiny model. Here is someone compiling Rust to a 16-bit DOS COM executable:
https://github.com/o8vm/rust_dos
Not sure what the approach would be for them to expand that to support segments.
In DJGPP there are macros to allow your protected mode application access physical real-mode addresses (like when you want to write to video RAM). I don't know if IA-16 also does something like that, or if they added far/near keywords to the language like old 16-bit C compilers did (at least the ones I used).
Free Pascal has helper-functions to work with segment+offset pointer pairs, also without having to modify the language itself. I think that would work well enough in C, but I guess the old method of adding non-standard keywords was seen as slightly more convenient.
- Who invented file extensions in file names?
-
Moving from Rust to C++
Demo: https://github.com/o8vm/rust_dos
-
Resources for programs they used back in the 90s/early 00s?
It is probably possible for almost any old platform with some cross-compilation magic, but not anything that will be officially supported as the compiler-makers focus on modern systems. There is for instance an unofficial 16-bit DOS backend for GCC and at least one or two projects to compile Rust to DOS-executables (that I assume use Clang?) (in addition to 32-bit DJGPP(gcc) for MSDOS that I linked to above). Probably are similar projects to target 68k somewhere?
- Rust DOS: Creating a DOS Executable with Rust
What are some alternatives?
rustc-perf - Website for graphing performance of rustc
Animator-Pro - A classic paint program originally for dos
gcc-ia16 - Fork of Lambertsen & Jenner (& al.)'s IA-16 (Intel 16-bit x86) port of GNU compilers ― added far pointers & more • use https://github.com/tkchia/build-ia16 to build • Ubuntu binaries at https://launchpad.net/%7Etkchia/+archive/ubuntu/build-ia16/ • DJGPP/MS-DOS binaries at https://gitlab.com/tkchia/build-ia16/-/releases • mirror of https://gitlab.com/tkchia/gcc-ia16
crates.io - The Rust package registry
rv51 - A RISC-V emulator for the 8051 (MCS-51) microcontroller.
open-watcom-v2 - Open Watcom V2.0 - Source code repository, Wiki, Latest Binary build, Archived builds including all installers for download.
dos-like - Engine for making things with a MS-DOS feel, but for modern platforms
file - Read-only mirror of file CVS repository, updated every half hour. NOTE: do not make pull requests here, nor comment any commits, submit them usual way to bug tracker or to the mailing list. Maintainer(s) are not tracking this git mirror.
wajic - WebAssembly JavaScript Interface Creator
linuxontheweb
one-way
linux - Linux kernel source tree