Re: [Freedos-devel] Unix-like utilities for FreeDOS

2017-06-25 Thread Javier Gutiérrez Chamorro
UPTIME has been updated to 2.40: http://nikkhokkho.sourceforge.net/static.php?page=UPTIME History 2.40 - 2017/06/08 - 8086, 186 and 386 optimized versions. 2.30 - 2017/06/07 - Switched to ASMC 2.24. - Added uppercase switches: -h, -H, -?, -r, -R, ... - Added dash (-) and slash (/) switches

Re: [Freedos-devel] Unix-like utilities for FreeDOS

2017-06-06 Thread Javier Gutiérrez Chamorro
If anyone is interested, I have release UPTIME 1.00 and UPTIME 1.10. But also, just published UPTIME 2.00, totally rewritten from FAST to ASM. You can find them at, including full source-code at: - http://nikkhokkho.sourceforge.net/static.php?page=UPTIME -

Re: [Freedos-devel] Unix-like utilities for FreeDOS

2017-06-01 Thread Bret Johnson
> Why not just "touch" your .COM file itself (argv[0], DOS 3+)> when run? > Because you don't know when you're supposed to touch it and when you aren't. > You only want to touch it the first time it is run after a reboot, and you > can't (automatically) tell when a reboot just happened without

Re: [Freedos-devel] Unix-like utilities for FreeDOS

2017-06-01 Thread Rugxulo
Hi, On Thu, Jun 1, 2017 at 11:13 AM, Bret Johnson wrote: > > > What I like of my approach, is storing initial startup time > > on the CMOS, using the unused alarm records, which is by > > far more efficient than storing a file. > > if you don't want to use a file (which is

Re: [Freedos-devel] Unix-like utilities for FreeDOS

2017-06-01 Thread Bret Johnson
> What I like of my approach, is storing initial startup time> on the CMOS, > using the unused alarm records, which is by> far more efficient than storing > a file. A couple of things to note. First of all, you use the CMOS clock for > your time stamps, which doesn't even exist on old

Re: [Freedos-devel] Unix-like utilities for FreeDOS

2017-06-01 Thread Javier Gutiérrez Chamorro
With the recent announcement of FAST being empowered by FreeDOS, and the interest on porting some UNIX utilities to DOS, I decided to combine both. Since current UPTIME v7.02 by Mark Aitchison is written in Turbo Pascal, I tried to do an approach in fast. It is still WIP, and not yet as complete

Re: [Freedos-devel] Unix-like utilities for FreeDOS

2017-05-30 Thread Jerome Shidel
> On May 30, 2017, at 2:40 PM, Jim Hall wrote: > >>> On May 29, 2017, at 3:25 PM, Jim Hall wrote: >>> I have arranged some things on ibiblio to collect the Unix workalike >>> utilities into one directory. I have put them here: >>> >>>

Re: [Freedos-devel] Unix-like utilities for FreeDOS

2017-05-30 Thread Jim Hall
>> On May 29, 2017, at 3:25 PM, Jim Hall wrote: >> I have arranged some things on ibiblio to collect the Unix workalike >> utilities into one directory. I have put them here: >> >> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/unix/ >> >> >> If I missed something

Re: [Freedos-devel] Unix-like utilities for FreeDOS

2017-05-29 Thread Jerome Shidel
> On May 29, 2017, at 3:25 PM, Jim Hall wrote: > >> On Fri, May 26, 2017 at 9:50 AM, Jim Hall wrote: >> We have a few Unix-workalike utilities on ibiblio. >> http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/file/ >> >> I think over the