Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #576

Re: lfndssrc.zip

From "Rod Pemberton" <do_not_have@notemailntt.cmm>
Newsgroups comp.os.msdos.programmer
Subject Re: lfndssrc.zip
Date 2012-05-11 17:56 -0400
Organization Aioe.org NNTP Server
Message-ID <jok1tl$mlc$1@speranza.aioe.org> (permalink)
References (2 earlier) <dqgiq75ptivv2iabukala0acokfi3a494u@4ax.com> <jod2h2$hdg$1@speranza.aioe.org> <edekq7hhnac7jap2bm9pr9jtgtt8v6a8im@4ax.com> <jofrkd$vst$1@speranza.aioe.org> <vkoqq7lqshij3mfngok9g02gkcp5fg6kou@4ax.com>

Show all headers | View raw


"cg_chas" <cg_chas@hotmail.com> wrote in message
news:vkoqq7lqshij3mfngok9g02gkcp5fg6kou@4ax.com...
> On Thu, 10 May 2012 03:44:24 -0400, "Rod Pemberton"
> <do_not_have@notemailntt.cmm> wrote:
...

> I've tried 0.41b and it has the same symptom.
...
> Just curious, have you tried it with MS-DOS 7 in real mode?
>

I use it with MS-DOS in RM for Win98/SE.  I first used it with Windows 98
and later with Windows SE.  I believe that's v7.10.  My partitions have been
FAT32.  I don't believe I've used it with other devices, like floppies or
USB or cd-roms.

So far, the only thing I've noticed is that one program which creates a
ramdisk won't create an LFN for the disk, but I assumed that it was
something to do with the ramdisk program.

So, you just type "DIR C:\" and get garbage at the end when the "Program
Files" directory is displayed?  Let me go check.

Yeah, I'm not seeing that (032.o).  I did DIR/P in the C:\ directory as well
as within "Program Files" directory, multiple times.  Everything appears
correct to me.

Which DOS and version are you using: MS-DOS, FreeDOS, OpenDOS/DR-DOS,
PC-DOS?

The only thing I recommend, besides a different DOS, is to try the LFN tools
package by Ortwin "Odi" Glueck.  Use LDIR to check the SFN and LFN are
correct.  Use DOS' REN to fix the SFN, and LREN to fix the LFN.  The tools
are really good.  I *love* LCOPY.  No LFN TSR required.  He implemented
drive locking too, so AIUI they work in a Windows dosbox/console too.
However, building them requires an old DOS version of MSVC++ (v1.51) that
can produce DOS binaries.  And, there is no TSR by Odi ...  The lack of a
TSR was the big disappointment.
http://lfntools.sourceforge.net/

> I started WATCH21H a few days before you had given me the LFNDOS
> sources.  It effectively works like a 16-bit real mode TSR.  It hooks int
> 21h and handles pre and post oldint21 calls and displays register codes
> on the screen like a debugger.  I am finding that it works really well for
> me so far and it is going to make life easier when implementing my own
> updates to LFNDOS.
>

Nice.

I did it somewhat more brutishly.  I implemented a bunch, like 186 of them,
of "watcher" routines in assembly using 16-bit x86 for NASM.  I have a
base group of maybe four or five small programs that get repeated and
renamed for each interrupt.  One displays the interrupt vector.  One
displays interrupt calls to that vector.  Etc.  Some pause for keypresses.
Etc.  The more advanced ones display in the bottom-right hand corner of the
screen, then scroll the right hand side of the screen.  They display the
interrupt number and AX/AH value, sometimes BX etc., and indicate repeated
AX/AH calls with an asterisk "*" to slow down unnecessary scrolling.  I just
run one for each interrupt I want to watch, after loading other programs
that set interrupts, obviously.  I learned that there are certain few
interrupts that don't like being trapped, and others that don't like it if
you pause for a keypress.  I always wanted to have the ability to save the
data to a file, but I never got around to learning how to do that exactly.
See Int 10h, ax=06h for scrolling.

> The techniques I use for stack switching and DTA/PSP manipulation are from
> John English's C++ TSR Class. I've included his archive in mine for
> compliance with his permission as well as completeness to watch21h.zip.

I'm not familiar with manipulating DTA or PSP or InDOS stuff.  Supposedly,
DJGPP handles it for you ...   Unfortunately, learning DOS programming was
just a side result of using DJGPP (GCC compiler for DOS w/custom DOS C
library) for my personal C programs.

Have you heard of undocumented Int 21h, ax=5d06h or 5d0bh?
http://groups.google.com/group/comp.os.msdos.programmer/msg/8417651dcc1d72da


Rod Pemberton






Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-07 22:21 -0400
  Re: lfndssrc.zip Rugxulo <rugxulo@gmail.com> - 2012-05-08 08:47 -0700
    Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-08 12:10 -0400
      Re: lfndssrc.zip "Auric__" <not.my.real@email.address> - 2012-05-08 17:39 +0000
      Re: lfndssrc.zip "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-05-09 02:24 -0400
        Re: lfndssrc.zip "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-05-09 05:28 -0400
          Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-09 05:32 -0400
            Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-09 10:04 -0400
        Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-09 05:42 -0400
          Re: lfndssrc.zip "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-05-10 03:44 -0400
            Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-11 15:35 -0400
              Re: lfndssrc.zip "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-05-11 17:56 -0400
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-12 04:41 -0400
                Re: lfndssrc.zip "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-05-13 03:24 -0400
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-13 09:21 -0400
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-14 10:37 -0400
                Re: lfndssrc.zip "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-05-14 23:46 -0400
                Re: lfndssrc.zip Rugxulo <rugxulo@gmail.com> - 2012-05-14 21:02 -0700
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-15 08:13 -0400
                Re: lfndssrc.zip "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-05-15 18:54 -0400
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-15 09:51 -0400
                Re: lfndssrc.zip "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-05-15 18:59 -0400
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-16 08:55 -0400
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-16 09:08 -0400
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-16 16:11 -0400
                Re: lfndssrc.zip Rugxulo <rugxulo@gmail.com> - 2012-05-13 07:00 -0700
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-15 08:21 -0400
                Re: lfndssrc.zip "Rod Pemberton" <do_not_have@notemailntt.cmm> - 2012-05-15 19:46 -0400
                Re: lfndssrc.zip Rugxulo <rugxulo@gmail.com> - 2012-05-15 17:32 -0700
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-16 10:37 -0400
                Re: lfndssrc.zip cg_chas <cg_chas@hotmail.com> - 2012-05-16 10:42 -0400
            Re: lfndssrc.zip Rugxulo <rugxulo@gmail.com> - 2012-05-12 14:09 -0700

csiph-web