Repository navigation
v1.7.0
What's Changed
Monitor effects
A CRT monitor of the time had a show of its own, and now Rust-DOS has it too. Turn it on with Monitor effects in the Display settings (monitor_effects): picture, sound or on for both.
- Power on: the picture warms up from black, slightly too big at first, and wobbles with colour fringes as the degaussing coil's field dies away, to its thump and hum and the crackle of the high voltage.
- Frequency changes: when a game switches to another line or frame rate (say 640x480 at 60 Hz after the 70 Hz text mode), the monitor's relay clicks and the picture blanks and comes back with a jolt, as a multisync monitor did. Switching between modes with the same timing, like text mode and mode 13h, stays quiet, as it did on real hardware.
- Power off: when Rust-DOS quits, the picture collapses to a bright line and then a fading dot.
- Ctrl+Shift+D degausses the monitor whenever you like.
- The sounds are synthesized, and have their own
monitorvolume in the mixer.
The effects work with every CRT shader.
BIOS POST screen and setup
- POST screen (
post): before DOS starts, and again at each reboot, a BIOS screen counts the memory and lists the CPU, the drives and the sound cards.quickshows it for a moment;fullcounts the memory up as it is tested. Esc skips the memory test. - Press DEL to enter SETUP: the settings open as a blue CMOS setup utility, with Standard CMOS Setup, BIOS Features Setup, Integrated Peripherals and Monitor Setup pages. Change values with PgUp/PgDn or +/-. Nothing takes effect until F10 (Save & Exit Setup), which saves the settings and restarts the machine, just like setting up a PC back then.
Sound visualizer
Ctrl+Shift+S shows what the sound hardware is doing, over the picture:
- An oscilloscope for each source that plays: the Sound Blaster, the FM synthesizer, the Gravis Ultrasound, MIDI, CD audio and the rest, and the final mix.
- The FM synthesizer's 9 or 18 channels, with the note each one plays and its envelope.
- The Ultrasound's voices and their volumes.
- The notes held on each MIDI channel, on a keyboard strip.
Click a source, an FM channel, an Ultrasound voice or a MIDI channel to mute it, or a source's S to hear it alone. The mutes last until the visualizer closes, so you can pick apart a game's soundtrack instrument by instrument. The debug server has the same data at GET /api/sound.
Dial into BBSes with the modem
The emulated modem now has a phonebook of bulletin boards that are still running. Start a terminal program such as Telix, Telemate or Qmodem, and type ATDT 555-0101 to call Level 29, ATDT 555-0103 for Vertrauen, and so on. The calls go over telnet.
- Modem phonebook on the Ports page of the settings lists the numbers, and Enter copies the dial command.
- Fetch more boards gets an updated list from rust-dos.com, which is kept for the next start.
- Your own numbers go in a
[phonebook]section of the configuration file:555-0199 = bbs.example.org:2323 My board.
Run DOS tools from your shell
rust-dos run COMMAND runs a DOS program, batch file or built-in command without a window, as a tool of your own system:
rust-dos run LHA a DOCS.LZH README.TXT
echo y | rust-dos run -d ~/dos INSTALL.BAT- What the program prints goes to standard output, and what it writes to handle 2 to standard error.
- Standard input is typed at the program's keyboard, and reads from the console end at the end of input.
- The program's exit code is rust-dos's, so it works in scripts and makefiles. A command that isn't found exits with 127.
- The current folder is drive C: (or
-d DIR).--cycles,--memand--screen(print the text screen at the end, for programs that write to the screen directly) are there too.
DOS's fast console output, INT 29h, is now supported as well.
Memory heatmap in the debugger
The browser debugger has a new Heatmap tab (/ui#heat): a pixel for each 64 bytes of RAM, lighting up where the machine writes and blue where its code is. Watch a demo decompress itself, page-flip and bank-switch. Hover for the address, and click to show it in the memory panel. Scripts can use /ws/heat and GET /api/heat. While the heatmap is closed, it costs nothing.
Other changes and fixes
-
Optional online version check (
version_check): Rust-DOS asks rust-dos.com at startup whether a newer version is out, and shows it in a notification and under the box above the first DOS prompt. Turn it off withversion_check=false. -
Fixed joystick detection for games that only read the game port, while keeping the timed calibration of games that strobe it. (courtesy of dosmax on Vogons)
-
CD sheets: find files by their relative path below the sheet by @kibertoad in #21
-
Debug server: reboot_shell closes the program as the settings window does by @kibertoad in #22
-
Net hub test: wait for the host to leave after it ends the room by @kibertoad in #24
-
makeimg test: fix the time while comparing raw and VHD images by @kibertoad in #25
-
Deterministic mode: a fixed clock and input timed in emulated time by @kibertoad in #27
-
Mount CD sheets from the root of an overlaid drive on Windows by @kibertoad in #28
-
Debug server: save states as checkpoints of the running machine by @kibertoad in #29
-
Docs: save states with strict_match, with examples and a reply reference by @kibertoad in #30
-
Debug server: take a free port with port 0 and print the bound address by @kibertoad in #31
-
Debug server: name the missing file when a state load finds none by @kibertoad in #32
-
Web: a failed state load puts back the hardware from before it by @kibertoad in #33
-
Don't log a restore failure when a program the shell started ends by @kibertoad in #34
-
Add --log FILE to write the log to a chosen path by @kibertoad in #35
-
Debug server: a journal of what the machine does, with operations and guarded writes by @kibertoad in #36
-
Fix MZ overlay loading overwriting memory with appended data by @firestrand in #37
-
Name the build: git commit in /api/version, the journal and --version by @kibertoad in #40
-
README: building on Windows needs SDL2's VC package on LIB by @kibertoad in #41
-
Sound Blaster: DSP write status reads busy at times during a transfer (Dark Sun 2 freeze) by @kibertoad in #42
-
Tests: keep sockets on the loopback, skip the rest locally on request by @kibertoad in #43
-
Box the CPU so a debug build starts on Windows by @kibertoad in #44
-
GET /api/memory: format=json with the hex PUT takes, state_seq documented per format by @kibertoad in #45
-
Sound Blaster: high-speed DMA mode ignores DSP commands until a reset by @kibertoad in #46
-
Save states: opt-in check of the files on writable drives (check_files) by @kibertoad in #47
-
Debug server: let run queue behind a busy DOS prompt by @kibertoad in #48
-
DOS: a write of no bytes ends the file at its position by @kibertoad in #49
-
EMS: keep what was written through a page mapped twice by @kibertoad in #50
-
Mouse: pass the event handler the motion counters in SI and DI by @kibertoad in #51
-
Debug server: refuse request fields the endpoint doesn't have by @kibertoad in #52
-
Mouse: answer the software reset, INT 33h AX=0021h by @kibertoad in #53
-
CD images: read a CUE sheet whatever its extension (GOG's BloodNet .bdn) by @kibertoad in #54
-
Trace: name the emulator's service traps, keep them with no_bios by @kibertoad in #55
-
CD images: give directories their records' dates and hidden flag by @kibertoad in #56
-
Debug server: screen text with each row's attribute runs by @kibertoad in #57
-
Trace: last_n gets that many entries, a cut reply says so by @kibertoad in #58
New Contributors
- @kibertoad made their first contribution in #21
- @firestrand made their first contribution in #37
Full Changelog: v1.6.0...v1.7.0
P.S.: Yes, Volkov Commander runs just fine:
