Xref: utzoo comp.std.c:2193 comp.lang.c:24025 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!uunet!mcsun!sunic!tut!tukki!tarvaine From: tarvaine@tukki.jyu.fi (Tapani Tarvainen) Newsgroups: comp.std.c,comp.lang.c Subject: Re: ansi c and directories Summary: HP41 has them, too! Message-ID: <2153@tukki.jyu.fi> Date: 27 Nov 89 06:29:11 GMT References: <13295@s.ms.uky.edu> <20881@mimsy.umd.edu> <7100@ficc.uu.net> <17359@rpp386.cactus.org> <7108@ficc.uu.net> Reply-To: tarvaine@tukki.jyu.fi (Tapani Tarvainen) Organization: University of Jyvaskyla, Finland Lines: 29 Irrelevant though it really is to the discussion at hand, I can't let these pass by: In article <17359@rpp386.cactus.org> jfh@rpp386.cactus.org (John F. Haugh II) writes: > hell, my hp-41cv didn't even have a directory, i think. In article <7108@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes: >Didn't have files, either. And probably can't run C. The HP-41 most definitely has both files and directories. (Not subdirectories, though: Each disk/cassette/ramdisk has a single-level directory. File names consist of 7 characters, types are coded separetely and you can't have two files with the same name but different type.) What comes to running C, well, I don't think a C compiler for it exists, or is likely to -- but impossible it wouldn't be. Not even a full hosted implementation, I think. (Perhaps I should try writing one. Sounds like fun, and probably would be a good contender for the "weirdest machine ever to run C" contest: Two separate address spaces, one 10-bit words with 16-bit addresses, the other 56-bit words with 10-bit addresses, CPU registers 56 bits wide; the OS doesn't know the concept of "command line", though it could be faked; etc.) -- Tapani Tarvainen (tarvaine@tukki.jyu.fi, tarvainen@finjyu.bitnet)