The blog of Jafar Aliyev

Archive

Home :: Programming :: Solutions


Creation date:

MS-DOS Programs

Alti New Doodle (27 Feb, 1995)

This MS-DOS based antivirus program finds and cleans the virus named New Doodle.

At the time of writing this antivirus by me MSAV.EXE found this virus and named New Doodle but didn't clean. This time AidsTest 1001 (it was the famous antivirus of MS-DOS)didn't even find this virus. That's why I had to write my own detector/cleaner.

About New Doodle (RCE-1070) virus

This virus is resident, sits on memory and infects all executables.In COM files it takes 1070 buytes and changes first 4 bytes, the changed bytes copyes to the end of the file. In EXE files the size of virus differs from file to file.He changes here PSP: segment offset SS, value SP, IP(during execution),segment offset CS(saves), the size of last partial page and the size in pages of image of executable program(saves wrong data).

The last two parameters virus saves after(not before) infection. I think it's the bug of virus.Hence this parameter are lost after repairing.Although antivirus can't calculate the initial size of EXE files, because of above mentionde bug, the repaired programs work without problem as before inteftion.

Usage

ANTIDOOD [/C] [drive]
/C - stands for clean
drive=* - for all drives

Note for Users
It's recommended to startup system from clean boot disk then run this antivirus.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (Pascal)
License: Free

Download here

Assembler Programs (1992-1993)

I found these programs in my archive. I even don't remember what for these programs were written. I only know that prikol.asm is something like a virus. It swaps some bytes in Directory or FAT of HDD. If you run it the second time it swaps them again, restoring the system. Remember that U must run it twice to restore the damage. If you plan to check it in old MsDOS, run it from boot diskette or U'll lose your file system.

I strongly recommend to not run these proprams in production PC. Test them by your own risk.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (Assembler)

Download here

Basic Programs (1990-1992)

There is a program of Tir game written in Turbo Basic. It was one of my first programs, if not the first. I programmed it in 1st cource of university on March 1990. U'll need Turbo Basic to compile and run it.The main program is asnew.bas. All of them was checked on Turbo Basic. There's some other files of my first graphical editor, music box etc.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (Turbo Basic)

Download here

Numerical Methods (1990-1991)

My programs of Numerical Methods on 2nd course of University.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (Turbo Pascal)

Download here

Miscelleneous Pascal Programs (1991-1996)

I zipped all remaining Pascal programs to one file. Some of them I describe here. U'll needTurbo pascal to compile them.

HYUNDAI.PAS - MsDOS based Azeri driver for HYUNDAI HDP-910/920 dot maxrix printers. It correspond to Azeri.tab layout and prints the text typed in Cyrillic Azeri with Latin fonts.

UPORFILE.PAS - sorts the list in file based sorting algorithm.

COPY_ALI.PAS - 09-Jul-1992 This copy program writes the large files from one disk to another and splites them if necessary. It creates .inf file to restore the original files.

These and all remaining programs you can download and test.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (Turbo Pascal)

Download here

Warehouse and Distribution program (Oct, 1996)

This is an old inventory management program and works on FoxBase. The purpose of program is warehouse inventory and distribution of goods between Points of Sales.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (FoxBase)

Download here

DOS2Win converter (May, 1997)

This program converts an old Azeri text from MsDOS coding to Windows Russian base Azeri fonts coding.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (C++)

Download here

Ventura Publisher Utilites (1991-1993)

When I worked on Printing House we was using Ventura Publisher for formatting newspapers and books.Thoose times there was neither azeri fonts nor grammatic checker for azeri text.That's why we created azeri fonts ourselves on FontMonger. Ventura publisher didn't hyphen azeri textbecause of absence azeri grammer on this program. Therefore I wrote the program to hyphen the text instead of Ventura.There are also some other utilites, that converts the azeri text to other charset before reading it in Ventura. All of these programs are MsDOS command line utilites.

AZ2LAT.EXE - this program converts the text typed on Azeri Cyrillic to Azeri Latin. 03 Mar,1993.
usage is az2lat <filesname>
It accepts the wildcards and finds files that match to the filesname and creates the new files with the same name as source files and extension 'lat'.

P_NK.EXE - this program converts the text files from cyrillic to latin azeri and makes hyphenation. Accepts wildcards.
usage: p_nk <filesname>

P_NKVEN.EXE - this program converts the text files from MsDOS azeri charset to Ventura Publisher azeri charset and makes hyphenation. Accepts wildcards.
usage: p_nkven <filesname>

PERENOS.EXE - hyphens cyrillic and latin azeri texts. 03 Aug, 1992
usage: perenos <filesname> <K/L>
where K stands for cyrillic and L for latin azeri texts. Accepts wildcards.

PEREMINE.EXE - another version of PERENOS.EXE that hyphens azeri text already converted to Ventura charset.
usage: PEREMINE <filesname>

PERECOD.EXE - only converts (without hyphenation) the text files from MsDOS azeri charset to Ventura Publisher azeri charset. 20 Jul,1992
usage: PERECOD <filesname>

All these utilites can be downloaded in one package.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (Turbo Pascal)

Download here

Small Ventura (1992)

This is a text editor that compatible with Ventura Publisher. It loads the Style file of Ventura and formats content so, that one can load it to Ventura Publisher and print the formatted text with style. You can highlight the block, format it, assign functional keys, etc.

The program must be installed with install.exe file or it'll not work complining to the illegal copy of application. To install the editor copy install.exe and sv.exe to any catalog then run
install.exe sv.exe

Now you can run sv.ex and use. Launch the program and press Esc to open menu. Then open Help and read all commands that available.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (C++)

Download here

Virus (May, 1993)

The sample virus that infects EXE files implanting itself into these files. This virus preserves the modification date of infected files. Every infected file at next start first loads the virus and the virus loads the remaining part of file after affecting the other files. Hence the program continue working without any problem. This virus checks itself to not infect the same file twice. The antivirus to repair infected files also supplied. Virus and antivirus are given here with source code.

Author: Jafar N.Aliyev (Jsoft)
Source: Included (Turbo Pascal)

Download here