News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

I need a program called "FindLine"

Started by learn64bit, November 29, 2022, 04:41:33 AM

Previous topic - Next topic

sudoku

learn64bit:

How are you creating the file listings a.txt and b.txt. Your own program, or an external third party program? As well as adding the checksum data to the listing, your own program or third party...

I am only asking since it might be a faster process if everything could be done in a single program, since you wouldn't have to first make a file listing (for a.txt and b.txt), add the checksum for each file, then running your "findline" program on the file listings. It is quite conceivable to do everything in a single program.
:cool:


sudoku

Quote from: learn64bit on April 25, 2024, 12:42:17 AMfindFile
Something like This?



Edit:
I just noticed you added the screenshot...
Oh, okay. I will look for that.  :smiley:
:cool:

learn64bit

a and b not just text file or ascii file

a.txt can be 4mb 00h

sudoku

Quote from: learn64bit on April 25, 2024, 12:47:44 AMa and b not just text file or ascii file

a.txt can be 4mb 00h
Is your 'findfile' program from here generating that file with zeros??? Or is the file with zeros made by some other program?
:cool:

learn64bit

Quote from: sudoku on April 25, 2024, 12:55:00 AM
Quote from: learn64bit on April 25, 2024, 12:47:44 AMa and b not just text file or ascii file

a.txt can be 4mb 00h
Is your 'findfile' program from here generating that file with zeros??? Or is the file with zeros made by some other program?

otherApp.
findFile's result.txt is a 65001withoutBom text file

sudoku

Quote from: learn64bit on April 25, 2024, 12:59:54 AMotherApp.
findFile's result.txt is a 65001withoutBom text file
Okay. Probably a lot of work to put everything into one program. I was only thinking that it would save time to not have to run several programs to get the desired results.
:cool:

NoCforMe

Quote from: jj2007 on April 24, 2024, 08:20:53 PM#332 and other smaller archives work fine (they do have the PK signature).
... and the attached .exe throws an error (LODSB with ESI=0). Hmmmmph.
Assembly language programming should be fun. That's why I do it.

learn64bit

Quote from: NoCforMe on April 25, 2024, 09:51:40 AM
Quote from: jj2007 on April 24, 2024, 08:20:53 PM#332 and other smaller archives work fine (they do have the PK signature).
... and the attached .exe throws an error (LODSB with ESI=0). Hmmmmph.

maybe your testFiles will not pass the miscCheck

learn64bit

when I finished 1+47, will try other ideas.

sudoku

Quote from: learn64bit on April 25, 2024, 05:59:39 PMwhen I finished 1+47, will try other ideas.
Let us know about your progress... :smiley:
:cool:

sinsi

v332 takes about 10 seconds here.
c.txt and d.txt are attached (remove the .zip extension :biggrin: )

sudoku

Quote from: sinsi on April 26, 2024, 01:55:11 AMv332 takes about 10 seconds here.
Wow. Fast machine.  :thumbsup:
I just reran v332 (with a&b txt files from #301&302) on my machine.... It is still chugging along.... (very slow for me)

a bit later...
... still just under 4 minutes on my computer.

Your mileage may vary, depending on your cpu of course.
:cool:

sinsi

13th Gen Intel(R) Core(TM) i9-13900KF   3.00 GHz

learn64bit

Quote from: sinsi on April 26, 2024, 01:55:11 AMv332 takes about 10 seconds here.
c.txt and d.txt are attached (remove the .zip extension :biggrin: )

win7+winrar
    copy /b cd.zip.001 + cd.zip.002 x.zip
    use winrar open x.zip

10secs... that's fast