delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/10/13/19:30:49

Date: Tue, 14 Oct 1997 03:10:51 RST
From: ark AT mpak DOT convey DOT ru (-= ArkanoiD =-)
Reply-To: ark AT mpak DOT convey DOT ru
Message-Id: <483@mpak.convey.ru>
To: wjackson AT powerup DOT com DOT au
Cc: opendos AT delorie DOT com
Subject: Re: ls
Organization: International Brownian Movement
Lines: 26
MIME-Version: 1.0

nuqneH,

In message <199710132249 DOT CAA19111 AT pool1 DOT convey DOT ru> "Wayne" writes:
>  I think it was DOS 3 or PCDOS 6, that was running under OS/2.
> Try this in a BASIC program:
> 
> open "\dev\dsk0$" for input as #1
> (I cannot remember the rest but you read from the disk)
> 
> Do not try thin on anything that is important too.  You will fill up every
> available piece of RAM before you know it.  You will have to play around
> with it a bit, as I think the device change from OS to OS.

I think it was an OS/2 trick. Bare DOS won't work this way.

> Another one is \dev\mem, now lets say you have 16Mb RAM then \dev\mem would
> have a size of 16,000,000 Bytes.  IF that was a file you would lose 16Mb of
> space.

I have a dd somewhere that works with /dev/mem and /dev/kmem but i believe
those devices are emulated by program itself..

-- 
                                       _     _  _  _  _      _  _
   Must be a visit from the dead..     _| o |_ | | _|| |   / _||_|   |_ |_ |_
   CU in Hell ..........  Arkan#iD    |_  o  _||_| _||_| /   _|  | o |_||_||_|

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019