7 ms·
I work in DOS for a day (2014)
- kencausey 5y agoThis could use a (2014). While this is a very recent re-post it clearly states that it is a re-post from 2014.
- AtlasBarfed 5y agoIt would be fun to dust off Turbo Pascal for a small utility.
- flatiron 5y agoFire it up in dosbox!
- mmastrac 5y agoI started working on a (not-yet-released) scripting language that can target DOS. Not public yet and needs more work to clean it up, but it can successfully build an EXE or COM that lets you easily target DOS to do something. https://github.com/mmastrac/kalos https://github.com/mmastrac/kalos I have some other code that I haven't added to this project that allows you to do things like write text to the screen, etc.
- theshadowknows 5y agoSo this makes me wonder what the smallest modern OS is that’s usable for daily tasks (browsing, email, some light not taking). And also for more rigorous work tasks (programming, video editing, sound editing). I’d be curious to see what can be done on-device. I bet there’s some cool stuff…time to google!
- citrin_ru 5y agoIt's depend on what is considered usable for daily tasks. I don't think there is a modern OS as small as DOS which can run FireFox or Chromium, but NetBSD and OpenBSD have kernels smaller than FreeBSD and much smaller than Linux, but still can run most modern open-source software including browsers.
- tenebrisalietum 5y agoMenuet32/64 is pretty small, and I think it runs a Webkit browser.
- amatecha 5y agoYeah, I've got OpenBSD installed on my iMac G4 from ~2002. Runs fine, quite well in fact (and is fully up to date with modern security features)! Now if I were to put an SSD in there, it would be even better! Hmmm... weekend project added to the list... ;)
- genghizkhan 5y agoIf you're okay compiling your own kernel I'd wager you could get by on around 30 odd megabytes using the Alpine base image (5MB userland and the rest kernel), though it would not be sufficient to do any compilation on its own.
- exdsq 5y agoHow much would 'build-essentials' add to that do you reckon?
- papacho 5y agoif by small you mean code size, Haiku can do all of that.
- mmcgaha 5y agoI spent a few hours playing with RISC OS on my pi 400, and it is a pretty complete system. The image download was less than 200MB.
- handrous 5y agoAny modern, major browser will bloat your install size & minimum system requirements (if you want to actually use the software you've got, that is). I recently used a very minimal install of Void on a machine that crushes what I had in, say, 2005, on a performance basis (2GB memory, dual-core Celeron clocked over 1Ghz, solid-state disk) and the whole system was slooooow and choppy even using mostly suckless software like dwm, including their Surf (webkit-based but otherwise as minimal as it gets) browser—if I opened even one "web app" or more than a couple lighter pages at once. If you remove the requirement for a modern Web experience, we used to fit pretty damn good GUI operating systems on single live-boot floppy disks (QNX had one of these, IIRC, and it was great—much better UI responsiveness under load than a Linux desktop, kinda like BeOS but even tinier)
- morpheos137 5y agoFor my daily driver I run Openbsd 6.9 on a thinkpad from 2008 with a spinning disk drive. It runs lightning quick and I have a modern web browser (Firefox 88). Only thing that is non-stock is the ram size has been increased in capacity but I rarely use all of it (only if I have like 50+ browser tabs open) Just a guess but never counted it. I think the keys to a fast desktop experience is -stay away from linux. The kernel and most distros suffer from kitchensinkitis. -don't use a heavy window manager. I use a custom configuration of Motif (it works and does not get in the way). With quality software old tech is still more than competent today. I can watch HD youtube videos too if I want. Office suites and programs like inkscape work fine. This is a 2 core machine. If I need more compute power I can use the cloud.
- handrous 5y ago> -stay away from linux. The kernel and most distros suffer from kitchensinkitis. > -don't use a heavy window manager. I use a custom configuration of Motif (it works and does not get in the way). Yeah, that's why I picked Void. It's only a little fatter than Alpine, but better-suited to desktop use. Agreed that Linux generally has never (in the 20ish years I've used it, anyway) felt high-performance, exactly, on a workstation, but Void keeps out the garbage services Linux has accumulated over the years, unless you install them yourself, so gets it to a point where it's only slightly fatter than circa 2000 Linux (kernel's grown larger, no getting around that). Used dwm because it's extremely light. Certainly Gnome wouldn't have worked, to pick the worst possible option (resource-use wise). Overall, Linux continues to feel like it does very poorly (in a workstation/desktop context, anyway) any time there's any contention for resources whatsoever, including just multiple things needing CPU cycles. Which is... kinda a shitty way to be, for a multitasking operating system. Maybe I'd have had better luck with a BSD, I dunno. It felt OK to use, though, as long as I avoided the Web. I think that machine's going back to being a Lakka box under my TV, but next time I'm on something relatively weak maybe I'll cycle through a couple of the BSDs to see if any of them work better for me.
- VLM 5y agoA chromebook. People don't do "on device" anymore outside of unusual situations.
- ghaff 5y agoMultimedia editing, especially video, is what kills you there. Not so much from an OS perspective. You can do a minimalist container Linux install but in terms of the resources you need on the system.
- prox 5y agoI would go for Pi as well. The Pi3 I have can do most daily tasks, I assume the 4 is even better, especially for video editing (blender perhaps?)
- pavlov 5y agoMac OS 9 is probably the weirdest evolution of 1980s single-task computing into something you could still use as a daily driver. It was kept alive by two entirely disparate user groups: the iMac crowd who only used a browser (or the AOL client), and professional designer users who spent the entire day in Avid (or Pro Tools or After Effects or QuarkXPress or Photoshop).
- mattl 5y agoYou'd be surprised how much you can get done with Mac OS 9 with Classzilla.
- classichasclass 5y agoYes, but Mac OS 9 (and any MultiFinder version of the classic Mac OS) at least presented the illusion of multitasking. And it did multitask, as long as the apps cooperated and handed off to each other, and an extension didn't go bang or smash into another one, and ... But, jokes aside, I still got a lot of work done in Mac OS 9 back in the day, so it wasn't nearly that dire even if it was best not to peek under the hood.
- deckard1 5y agoQNX was almost this. I believe at one point you could even run Firefox or Chrome on it. > And also for more rigorous work tasks (programming, video editing, sound editing) Somewhat amusingly, an OS like DOS (or QNX) would probably be better at video/sound editing than any "modern" OS. It took a long time for Linux to be able to do audio processing or other real-time low latency things. Even today you may have to tweak things a bit[1] depending on your use case. A video editor that has complete control over your machine would absolutely scream. A lightweight DOS with support for newer hardware (USB, PCIe, etc.) with a thin Vulkan/OpenGL and networking stack would probably be ideal for these types of apps. [1] https://wiki.archlinux.org/title/Professional_audio https://wiki.archlinux.org/title/Professional_audio
- ashleyn 5y agoAlpine Linux. Not just for Docker images. I run it text-only on some crap Dell Dimension in my basement workshop. 15-21 megabytes of memory used on a default install. Has networking, framebuffer, usb, and otherwise all the modern trimmings. Probably the closest you'll ever come to a modern DOS experience. Like one commenter above said, everything seems more proprietary now. The moment I realised we no longer live in an open standards world, was when I realised there was no text-mode Discord client, not even possible to make without getting banned from the service.
- peter_d_sherman 5y ago>"Many DOS applications that use TCP/IP use a TCP library rather than a system driver, and FreeDOS has two that are compatible with the Crynwr packet driver: mTCP, still supported and accompanied by a handful of utilities (including an IRC client), and the venerable Waterloo TCP (WATTCP) developed in the early 1990s."
- tssva 5y agomTCP is small enough to be used easily on DOS systems all the way back to the original PC. I have several XT class systems which I have restored. I have a few 8-bit ISA NICs which I use along with the FTP server provided with mTCP to transfer files to them.
- CTOSian 5y agowell there is DesqviewX, so someone could use remote X apps , I am not sure if QEMM is working well with FreeDOS.
- deleted 5y ago[deleted]
- myth_drannon 5y agoGolang in DOS! "...and it was updated in March 2012 to include the Go programming language in addition to C, C++, and Fortran. " I wouldn't mind having Rust on 486 but it doesn't look like it will ever be possible from what I read about its architecture.
- deleted 5y ago[deleted]
- Teknoman117 5y agoI managed to compile for a 386 as a target for a no_std rust, but as far as running the compiler goes, might be SOL on that one. https://github.com/teknoman117/ts-3100-images/tree/master/rustimage https://github.com/teknoman117/ts-3100-images/tree/master/ru... (for this SBC: https://docs.embeddedarm.com/TS-3100 https://docs.embeddedarm.com/TS-3100) My goal was to follow blog_os on this board for fun. Main sticky point is the 386 not having any hardware atomic operations (which didn't show up until 486). I recently got a current Gentoo base environment booting on a 133 MHz AM5x86 based industrial SBC and it takes 3 minutes to compile hello world in C++ (70 seconds for C) so I'm not super confident you'd even want to use rust compiler on a 486, even for "a day in a programmer's life from 30 years ago" experiment.
- mmastrac 5y agoTechnically, as a single-core CPU, all operations are atomic. /s
- Teknoman117 5y agoI suppose I should say instructions which let you do critical sections without disabling preemption or interrupts =P
- mmastrac 5y agoHah yes. I got used to the CLI/STI pattern around perf-sensitive or concurrent code on <=386 back in the day. EDIT: though I wonder now if you could use the fact that flags are returned from basic memory ALU operations to implement some basic atomics.
- ok123456 5y agoI would use a 90s version of Slackware over DOS. With DOS you have to fight with different DOS Extenders and all the pain associated with that.
- WesolyKubeczek 5y agoSince DOS is a single-task system, fortunately you only have to fight them one at a time.
- don-code 5y agoIt's a neat idea that, thanks to the applications-not-protocols approach taken by many platforms today, probably isn't viable any longer. When the article was written, my workplace communicated over e-mail (IMAP-enabled), our calendars supported CalDAV, and we did have an instant messaging system that ran over extensions to SIP, which _was_ compatible with libpurple. We also all had voice phones on our desks for very-impromptu calls. The ironic part of all this: it was Microsoft Exchange and Microsoft Lync. I at the time was using Linux with Pidgin and Evolution, there being no Microsoft clients for any of the stack. Nowadays, our stack is GApps with Slack, and a heathy dose of Zoom. To get Slack out of the way: good luck; the XMPP and IRC gateways were retired ages ago, and interactive API clients even today appear to be second-class citizens. GApps is interesting in that they do support standards like IMAP and CalDAV, but only if your organization allows for "insecure authentication" options, which mine does not. Otherwise, you're glued to a browser app that sometimes breaks in browsers that aren't Chrome. And let's not even start with Zoom. My point in saying this is: in 2014, this would have been seen as a cool project, and I'd bet some coworkers would've even encouraged me to try and get it working. In 2021, this is how I'd get fired.
- closeparen 5y agoOffering an IMAP service runs the same security risk under Exchange as it does under G Suite, namely, it’s a username and password login flow. It’s also disabled in Office 365 if you opt for a secure configuration. The one difference might be, if you have a Windows domain, you could integrate MFA into your domain login process and then use AD’s built in Kerberos to authenticate mail clients to the IMAP server. That’s still relatively Microsoft-proprietary stuff. Thunderbird on Linux probably won’t access that, even though “Kerberos” and “IMAP” are nominally things it supports. I think what changed here was a less a shift towards proprietary architecture and more an increased emphasis on MFA.
- herodoturtle 5y agoThis brings back memories of me, a naive and curious 11-year old keyboard adventurer, ignorantly running DriveSpace, in the pursuit of more space. Months later I discovered the file I'd accidentally created, which when deleted, gave me my hard drive space back. Since then I've been hooked on computer programming.
- exikyut 5y agoJust to clarify - was this a reference to you discovering and deleting DRVSPACE.BIN, or had you actually lost a file a la http://bash.org/?5273 http://bash.org/?5273?
- herodoturtle 5y agoDRVSPACE.BIN! Yes that was it! You just helped crystallise one of my favourite sentimental memories. Thank you stranger.
- exikyut 5y agoAwesome/you're welcome - and ouch. I remember removing DoubleSpace from CONFIG.SYS (didn't have enough free diskspace to upgrade to DriveSpace) and discovering an empty C: drive with just a very large DBLSPACE.BIN in it. Or... wait, actually I don't remember what I did now... DoubleSpace loaded before CONFIG.SYS (located of course inside the compressed volume) could even be read, so maybe I was booting from a floppy that didn't have the DoubleSpace driver installed on it, or something. In any case, cue freaked-out reboot with "normal" settings after taking one look at the directory listing... and *whew* everything's back. How'd this get you interested in programming? Did you somehow reconstruct the file's FAT entry from scratch, or (heavily presuming a lot) maybe this was more a case of "reinstall DOS, discover QBASIC"? My own "oops" was helping someone with an XCOPY command on IRC once that yeeted everything from C: to D: to make a backup. TIL XCOPY has a flag (still don't know which one) that causes everything on the destination directory (or drive) to be deleted first. The command somehow completed instantly. Thankfully it was "only" ~4GB or so, IIRC. I also got my first old box around the 9 year mark, incidentally (IIRC I was ~14 when I was poking around w/ DoubleSpace). After learning about batch files at around ~10 or so I decided to put some batch file entries at the top of the EXE file of my favorite game. (Why I didn't just create a new batch file, I honestly just...). Yeah, EDIT.COM (a la QBASIC) mangled the line endings and just about everything else in the file; and no more game. Yay.
- zh3 5y agoDepends what sort of work you're doing, but it's really not that hard and personally I find it great for focus (maybe it's like old school writers banging out a novel on a Remington). I've got at least half a dozen 386's and 486's that run DOS (diskless) to this day and the lovely thing is the lack of distraction.
- RiadAli 5y agoThank you very much for for your great information. It really makes me happy and I am satisfied with the arrangement of your post. You are really a talented person I have ever seen. I will keep following you forever. If you have time you can check this site and give me suggestion. https://iconcpl.com/ https://iconcpl.com/
- taftster 5y agoHoly spam, batman.