Hi, Merry (belated) Christmas!
On Sun, Dec 23, 2018 at 3:28 PM Robert Riebisch <r...@bttr-software.de> wrote: > > upon my request Chris Kirmse recently open-sourced his popular directory > lister from the early 1990s. To quote a very silly Internet meme: "Not all heroes wear capes." ;-) > ZDir home page is still at <http://www.tipovers.org/zdir/>, but you can > get the source from <https://github.com/ckirmse/ZDir>. > > Source code is for A86, but you need version 3.22 to build out of the box. A86 is shareware but still quite an excellent (albeit eccentric) one-pass macro assembler. I've used it a fair bit over the years (although I'm far from an expert, in either A86 or x86 in general). FYI, 4.05 is from year 2000, so 3.22 is much older and not nearly as common. I wouldn't recommend the ancient version. So .... Here's a small patch that allows A86 4.05 to assemble it identically (same CRC32 for resulting .COM). --- 15-zdir.as~ 2018-11-18 17:21:50 -0600 +++ 15-zdir.asm 2019-01-18 10:56:44 -0600 @@ -0,0 +1 @@ +; NEW! four small fixes to assemble correctly with newer A86 4.05 @@ -231 +232 @@ - IF BE AND No_more_this_level[BX],0 ; BX is slashes + IF BE AND byte No_more_this_level[BX],0 ; BX is slashes @@ -238 +239 @@ - IF BE NOT No_more_this_level[BX] ; means no more! + IF BE NOT byte No_more_this_level[BX] ; means no more! @@ -252 +253 @@ - IF BE AND No_more_this_level[BX],0 ; BX is slashes + IF BE AND byte No_more_this_level[BX],0 ; BX is slashes @@ -258 +259 @@ - or no_more_this_level[bx],-1 + or byte no_more_this_level[bx],-1 N.B. There are still bugs that I didn't investigate. For instance, any file dated 2010 (only!) shows "-100" for the year instead of "-10". (I don't use Git, so I won't be submitting a pull request any time soon, heh.) Just FYI. _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user