News for hackers. Stuff that matters.
Re:The weird Hewlett Packard FreeDOS option by mcculley on Sunday May 15, 2022 @04:41PM (#31390915)
Maybe it is for customers running weird old legacy hardware (e.g., lab devices, manufacturing, that only runs on DOS).
Re:The weird Hewlett Packard FreeDOS option by ndiddy on Sunday May 15, 2022 @04:53PM (#31391015)
Weird old legacy hardware that only runs on DOS generally requires real-time access to stuff like ISA cards or parallel/serial ports, so this wouldn't work for that use case since the computer doesn't have any of those.
Re:The weird Hewlett Packard FreeDOS option by mcculley on Sunday May 15, 2022 @05:49PM (#31391489)
I have a weird old nylon cutting machine connected to a DOS machine over a serial port. It would not work with a USB/RS-232 adaptor?
Re:The weird Hewlett Packard FreeDOS option by zozbot234 on Sunday May 15, 2022 @05:59PM (#31391571)
USB-serial conversion would add a measurable amount of latency, and the access to USB hardware would occur under a non-real-time OS. Whether the setup "works" would be highly hardware-specific. There are modern industrial "PC" boards that are essentially a i586 implementation in a SoC and can run these workloads far more reliably, while consuming a lot less power compared to old x86 hardware. (They're also of interest to retrocomputing enthusiasts, for largely the same reasons.)
Re:The weird Hewlett Packard FreeDOS option by coryrc on Sunday May 15, 2022 @08:23PM (#31392542)
It probably won't if they do weird things with the flow control pins or if the timing really matters, but serial is far more likely than parallel to keep working.
Re:The weird Hewlett Packard FreeDOS option by GekkePrutser on Sunday May 15, 2022 @08:54PM (#31392724)
Yeah this is why industrial PCs still have those physical ports.
Re:The weird Hewlett Packard FreeDOS option by arbitrandomuser on Monday May 16, 2022 @04:46AM (#31394768)
Depends on the adaptor too. Cheap ones only have Rx and TX pins . The rest of the pins are not connected. If your device only used Rx and Tx it would work fine . If it uses functionality of other pins make sure you get the right adaptor
Re:The weird Hewlett Packard FreeDOS option by wildzzz on Sunday May 15, 2022 @08:40PM (#31392623)
Spend no less than $20 on a USB to serial converter and you'd probably be fine. Anything with an FTDI chip in it are the best. Anything with a Prolific chip has a good possibility of being counterfeit will either not work well or the legit driver will try to brick it.
Re:The weird Hewlett Packard FreeDOS option by 0x0 on Sunday May 15, 2022 @10:24PM (#31393174)
FTDI pushed driver updates that bricked counterfeits... https://www.theregister.com/2016/01/31/ftdi_accused_of_brick...
Re:The weird Hewlett Packard FreeDOS option by petre on Sunday May 15, 2022 @07:49PM (#31392347)
That's orecisely how we run our thread 3D printer. It even has a serial (UART) to USB chip on board and it's connected to a RPi3 boc running Linux and Octoprint.
Re:The weird Hewlett Packard FreeDOS option by adrian_b on Monday May 16, 2022 @04:44AM (#31394760)
No, the FreeDOS HP option has always been used by the customers who did not want to pay a Windows license, because they wanted to install a different operating system, usually some Linux variant (the option to install a pirated Windows variant was also popular in some parts of the world).

Dell has the Ubuntu option for many computers, but for those who do not want to use Ubuntu, like myself, there is no difference between the Dell Ubuntu option and the HP FreeDOS option, because such customers will always install their own preferred OS, immediately after the purchase of a new computer.

Re:The weird Hewlett Packard FreeDOS option by TMM2K on Monday May 16, 2022 @10:57AM (#31398343)
I'm the author of the article; It's not actually usable for that. The way the Qemu VM is setup there is no way to interface with the outside world at all. The only way to get any data in or out of that VM is through the keyboard and screen.
Re:The weird Hewlett Packard FreeDOS option by wmf on Sunday May 15, 2022 @04:47PM (#31390976)
Would those apps work inside QEMU though? Is it configured to properly pass through the parallel port?
Re:The weird Hewlett Packard FreeDOS option by mcculley on Sunday May 15, 2022 @05:02PM (#31391086)
Maybe, but wouldn’t the customer have to know how to run QEMU? I am imagining a customer who wants to just replace an old machine while changing as little as possible.
Re:The weird Hewlett Packard FreeDOS option by djur on Sunday May 15, 2022 @05:39PM (#31391416)
Since this install is based on QEMU running in Linux, it would not meet that need.
Re:The weird Hewlett Packard FreeDOS option by mcculley on Sunday May 15, 2022 @05:57PM (#31391551)
The end user need not know it is QEMU atop Linux. They see and use DOS.
Re:The weird Hewlett Packard FreeDOS option by ale42 on Monday May 16, 2022 @04:20AM (#31394649)
Yes, but inside a VM. What access to real hardware (e.g. to communicate with the outside world) does the user get?
Re:The weird Hewlett Packard FreeDOS option by necovek on Monday May 16, 2022 @06:24AM (#31395325)
Whatever is configured with QEMU: everything if that was the use case.
Re:The weird Hewlett Packard FreeDOS option by ale42 on Wednesday May 18, 2022 @06:49AM (#31421189)
But it looks like their setup is not configured to give access to hardware, at least I didn't see any options on the command line.
Re:The weird Hewlett Packard FreeDOS option by walrus01 on Sunday May 15, 2022 @04:51PM (#31391003)
Highly unlikely, without really messing around with it.
Re:The weird Hewlett Packard FreeDOS option by mc4ndr3 on Sunday May 15, 2022 @04:54PM (#31391020)
FreeDOS is known to not run well inside of virtualization. A proper host install would be far more capable.
Re:The weird Hewlett Packard FreeDOS option by lproven on Wednesday May 18, 2022 @06:48AM (#31421180)
That is not true.

In fact, if you just boot FreeDOS 1.3 in VirtualBox, you'll see it detect the virtual NIC, load a TCP/IP stack and acquire an IPv4 address, then report it.

It is mostly developed and run inside VMs these days, AFAICS.

Re:The weird Hewlett Packard FreeDOS option by mcculley on Sunday May 15, 2022 @05:03PM (#31391106)
But a proper host install is not possible on modern hardware.