søren peter mørch

Conversation

Recent posts in reply to #dnesepa

movq (www.uninformativ.de)

Made a little program to print the system’s uptime on DOS, OS/2, and Windows NT:

https://movq.de/git/retrouptime/

(Release pending.)

This was pretty easy to do on Windows, a bit harder on OS/2 (because documentation is scarce), and quite the mess on DOS. DOS doesn’t explicitly keep track of the system’s uptime, so you have to resort to tricks like “give me the mtime of stdin”, which probably works … Yeah.

https://movq.de/v/013e7ef5a3/nt%2Duptimes.png

https://movq.de/v/013e7ef5a3/os2v2%2Duptimes.png

https://movq.de/v/013e7ef5a3/dos%2Duptimes.png

Read replies 1 month ago
Reply via email