rust_dos icon indicating copy to clipboard operation
rust_dos copied to clipboard

Rust DOS : Creating a DOS executable with Rust

Results 10 rust_dos issues
Sort by recently updated
recently updated
newest added

It looks like the actual file write function does not work with what I've tested. It looks like the write function makes no actual modifications to the file. I'm not...

I'm not entirely sold on all the different package managers (I've actually never used chocolatey) so open to suggestions.

Add support for cooperative multitasking **WARNINGS:** - Each task will have a stack size of 4096 bytes, there is no check if a task overflows this limit - The maximum...

Basically, if AUTOEXEC.bat doesn't exist, try opening README.md. Also, it seemed like the second example was the same just with a different file name so I removed it.

The date setting works just fine. The time, not so much. I assume this is because I'm using DOSBox for development, but I'm honestly not sure. References: * http://spike.scu.edu.au/~barry/interrupts.html *...

dpkey module doesn't work, like if no key was pressed. I think it's because **inb(0x64)** always returns the same status.

https://github.com/o8vm/rust_dos/blob/4daecbe703b4137efe99bc99a7fff3361b44b7c3/i586-rust_dos.json#L12

Build error: ``` error: data-layout for target `i586-rust_dos-1566376339033223016`, `e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128`, differs from LLVM target's `i586-unknown-none-code16` default layout, `e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128` ``` Toolchain version: ``` rustc 1.90.0-nightly (667787527 2025-07-02) commit-hash: 6677875279b560442a07a08d5119b4cd6b3c5593 commit-date: 2025-07-02 host:...

while the RUST_DOS.COM work in DOSBox, using FreeDOS/QEMU I always got this error: ![Image](https://github.com/user-attachments/assets/a491984b-6503-4ed2-bd78-9b12d5d2114a)

``` ❯ cargo build --release Compiling core v0.0.0 (/home/arthur/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core) warning: target json file contains unused fields: is-builtin Compiling rustc-std-workspace-core v1.99.0 (/home/arthur/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core) error: data-layout for target `i586-rust_dos-1566376339033223016`, `e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128`, differs from LLVM...