home *** CD-ROM | disk | FTP | other *** search
- ;-----------------------------------------------------------------------------;
- ; meg.asm âüâbâZü[âWÅoù═âïü[â`âô (C) ÄOû╪ÿaòF NIFTY SDR SDI00147 1989/2/12;
- ;-----------------------------------------------------------------------------;
- ; ü@ü@ü@ü@ü@ü@ü@ü@ü@ü@ü@ü@ü@ü@ü@ü@ü@ ü@ü@ü@ü@ ì\æóë╗â}âNâìé═î├É∞Äüé╠éαé╠é≡Ägùp;
- ; ;
- ; ì∞ɼû@: ;
- ; optasm é≡ Use THREADs for Smaller OBJ(N) é╔é╡é─âAâZâôâuâïé╖éΘ ;
- ; ;
- ; ü@Ägùpû@: ;
- ; ;
- ; âXâ^âbâNé╔âüâbâZü[âWö╘ìåé≡É╧é▌üAî─é╤Åoé╖üB ;
- ; âèâ^ü[âôÄ₧é╔é═é╗é╠âXâ^âbâNé═û▀é│éΩüAéäéôüAéééÉüAéôéÉüAéôéôê╚èOé╠ ;
- ; âîâWâXâ^Ælé═ò█Å╪é╡é╚éóüBüiâpâXâJâïâTâuâïü[â`âôüj ;
- ; ĵô╛é╡é╜âüâbâZü[âWé═è╓Éöé╠â|âCâôâ^é╞é╡é─ò╘é╖ ;
- ; ;
- ;-----------------------------------------------------------------------------;
- include lms3.inc ; ìéæ¼ì\æóë╗â}âNâì
- ; (c)S.Furukawa
- include minimac.inc ; movseg movdat movdatb
- ;-----------------------------------------------------------------------------;
- code segment byte public ;
- assume cs:code,ds:code,es:code,ss:code ;
- ;
- public Meg ;
-
- E MACRO s
- IF ENG EQ 1
- DB s,0
- ENDIF
- ENDM
-
-
- J MACRO s
- IF ENG NE 1
- DB s,0
- ENDIF
- ENDM
-
- D MACRO s
- DB s,0
- ENDM
-
- msgdata label byte
- J ' üyòíÉ╗üEö╨òzé╔é┬éóé─üz'
- J ' '
- J 'Ääé═üA'
- J 'ü@éPüjé▒é╠â\âtâgâEâFâAé╠òíÉ╗é╞ö╨òzé╔é¿éóé─üAî└éΦé╚é½Ä⌐ùRé¬ò█Å╪é│éΩéΘé▒é╞'
- J 'ü@éQüjâ\âtâgâEâFâAÄæÄYé╠ïñùLë╗é╠ÉäÉié╔üAżé╚éΦé╞î╛éªé╟éαìvîúé╡é╜éóé▒é╞'
- J 'é≡ïFèΦé╡é─é▒é╠â\âtâgâEâFâAé≡î÷ò\é╡é▄é╖üB'
- J ' '
- J 'ïMò√é═üA'
- J 'ü@éPüjéóé⌐é╚éΘö}æ╠é┼éáéδéñé╞éαüAòíÉ╗é╞ö╨òzé¬ïûé│éΩé─éóéΘüB'
- J 'ü@éQüjéóé⌐é╚éΘïαòié╠Ä÷Ä≤é¬ö║é╠éñé╞éαüAòíÉ╗é╞ö╨òzé¬ïûé│éΩé─éóéΘüB'
- J 'ü@éRüjéóé⌐é╚éΘÅCÉ│üEê°ùpé┼éáéδéñé╞éαüAé▒é╠üyòíÉ╗üEö╨òzé╔é┬éóé─üzé╞â\ü[âX'
- J 'ü@ü@ü@âRü[âhé¬ôYòté│éΩé─éóéΘî└éΦüAïûé│éΩé─éóéΘüB'
- J ' '
- ;
- J 'ì╖ò¬ê│Åkü@ékécéhéeéeü@Ver.1.20ü@89/7/15ü@(C) ÄOû╪ÿaòF (NIFTY SDR SDI00147)'
- J '---------------------------------------------------------------------------'
- J 'üyÄgùpû@üz LDIFF {H|{X}|C} {ì╖ò¬âtâ@âCâï} {ïîâtâ@âCâï} {ÉVâtâ@âCâï}'
- J ' H: Éαû╛ X: ÉVâtâ@âCâïò£èê C: ì╖ò¬âtâ@âCâïì∞ɼ'
- J 'üyü@ùßü@üz LDIFF c test.org test.com --> test.lzdé≡ì∞ɼé╖éΘ'
- J 'ü@ü@ü@ü@ü@ LDIFF x test --> ïîâtâ@âCâï(test.com)é⌐éτÉVâtâ@âCâï(test.com)é≡'
- J ' ì∞ɼé╡üAïîâtâ@âCâïé═test.orgé╔ëⁿû╝é│éΩéΘ'
- ;**************************Message
- J <CR,LF,'LDIFF Ver1.20 Copyright(C) 1989 K.MIKI',CR,LF> ;20
- J 'Ľſâtâ@âCâï(' ;21
- J ')é╠âtâ@âCâïÆ╖é╞ébéqébé¬ôKìçé╡é▄é╡é╜üB' ;22
- J 'ì∞ɼâtâ@âCâï ->' ;23
- J 'æ╬Å█âtâ@âCâï ->' ;24
- J 'Ľſâtâ@âCâï ->' ;25
- J 'ɼî≈é╡é▄é╡é╜üIüIì∞ɼé╡é╜âtâ@âCâïé═' ;26
- J 'ÅπÅæé½é╡é▄é╖é⌐üH' ;27
- J 'üiê│Åkùªüjüü' ;28
- ;**************************Error type 1
- J 'ì╖ò¬âtâ@âCâïû╝é¬è╘êßé┴é─éóé▄é╖' ;29
- J 'û╜ù▀é¬è╘êßé┴é─éóé▄é╖' ;30
- J 'âtâ@âCâïé¬èJé¡é▒é╞é¬é┼é½é▄é╣é±' ;31
- J 'âtâ@âCâïé≡ô╟é▐é▒é╞é¬é┼é½é▄é╣é±' ;32
- J 'âtâ@âCâïé╔Åæé¡é▒é╞é¬é┼é½é▄é╣é±' ;33
- J 'âtâ@âCâïé╠Åæé½ì₧é▌é╔Ä╕ösé╡é▄é╡é╜üBæ╜ò¬üAâfâBâXâNé¬êΩöté╚é±é┼é╡éσéñé╦' ;34
- J 'âtâ@âCâïé≡ì∞ɼé╖éΘé▒é╞é¬é┼é½é▄é╣é±' ;35
- J 'ébénéméeéhéfüDéréxéré╠éeéhékédéré≡ò╧ìXé╡é─ë║é│éó' ;36
- J 'ÆåÄ~é╡é▄é╡é╜' ;37
- J 'âoâCâgé╠écénéré╠âtâèü[âüâéâèé╡é⌐éáéΦé▄é╣é±üB' ;38
- J 'écénéré═éuéàéÆéQüDéPéPê╚Åπé≡é▓ùÿùpë║é│éó' ;39
- J 'âRâ}âôâhâëâCâôé╠ÄwÆΦé¬è╘êßé┴é─éóé▄é╖' ;40
- J 'é▒éΩé═û{ôûé╔ì╖ò¬âtâ@âCâïé┼é╖é⌐üH' ;41
- J 'é▒é╠ì╖ò¬âtâ@âCâïé═Ääé╔é═ê╡éªé▄é╣é±üBÉVé╡éóékécéhéeéeé═éméhéeéséxé╠érécéqé╔éáéΘé⌐é╞Ävéóé▄é╖üB' ;42
- J 'é▒é╠âtâ@âCâïé═ì▌éΦé▄é╣é±é╦' ;43
- J ': âtâ@âCâïÆ╖é¬è·æ╥é╡é─éóéΘéαé╠é╞êßéóé▄é╖' ;44
- J ': âtâ@âCâïé╠ébéqébé¬è·æ╥é╡é─éóéΘéαé╠é╞êßéóé▄é╖' ;45
- J 'ê│Åké╔Ä╕ösé╡é▄é╡é╜üBæ╜ò¬üAâfâBâXâNé¬êΩöté╚é±é┼é╡éσéñé╦' ;46
- J 'ò£èêé╔Ä╕ösé╡é▄é╡é╜üBæ╜ò¬üAâfâBâXâNé¬êΩöté╚é±é┼é╡éσéñé╦' ;47
- J 'ì╧é±é▄é╓é±üBé▒éΩé═ékécéhéeéeé╗é╠éαé╠âoâOé┼üDüDüDÄOû╪é▄é┼ÿAùìé╡é─ë║é│éóüB' ;48
- J 'é▒éΩé═ûóÆmé╠âAü[âJâCâoé╔éµé┴é─ì∞ɼé│éΩé╜éαé╠é┼é╖' ;49
- J 'é▒éΩé═ékégéüéÆéâé┼ê│Åké╡é╜éαé╠é┼é╡éσüI' ;50
- J 'é▒éΩé═éké`éqébé┼ê│Åké╡é╜éαé╠é┼é╡éσüI' ;51
- J 'é¿éΓüAé▒éΩé═ÉVé╡éóÄΦû@é╔éµéΘì╖ò¬âtâ@âCâïé┼é╖é╦üBâoü[âWâçâôéPüDéTé≡é▓ùÿùpë║é│éóüB' ;52
- J 'é¿éΓüAé▒éΩé═ÉVé╡éóÄΦû@é╔éµéΘì╖ò¬âtâ@âCâïé┼é╖é╦üBâoü[âWâçâôéQüDéOé≡é▓ùÿùpë║é│éóüB' ;53
-
-
- E ' <<COPYING POLICIES>>'
- E 'I will be guided by the two goals of'
- E ' (1) of preserving the free status of all derivatives of my free software'
- E ' (2) of promoting the sharing and reuse of software.'
- E 'You may:'
- E ' 1) COPY and DISTRIBUTE copies of LDIFF as you receive it, in any medium.'
- E ' 2) CHARGE a distribution fee for the physical act of transferring a copy.'
- E ' 3) MODIFY your copy or copies of LDIFF or any portion of it, and copy and'
- E ' distribute such modifications under the terms of Paragraph 1&2 above,'
- E ' provided that you also do the following: cause the whole of any work'
- E ' that you distribute or publish, that in whole or in part contains or'
- E ' is a derivative of LDIFF to be licensed at no charge to all third'
- E ' parties on terms identical to those contained in this COPYING POLICIES'
- ;
- E 'File Differencer LDIFF Ver.1.20 89/7/15(C)Kazuhiko MIKI(NIFTY SDR SDI00147)'
- E '---------------------------------------------------------------------------'
- E '[ USAGE ] LDIFF {H|{X}|C} {LzdFName} {OldFName} {NewFName}'
- E ' H: Help X: Extract new file C: Create .lzd file'
- E '[EXAMPLE] LDIFF c test.org test.com --> create test.lzd'
- E ' LDIFF x test --> create test.com from old-test.com'
- E ' rename old-test.com to test.org'
- ;**************************Message
- E <CR,LF,'LDIFF Ver1.20 Copyright(C) 1989 K.MIKI',CR,LF> ;20
- E 'Old File(' ;21
- E ') is good SIZE & CRC' ;22
- E 'Creating' ;23
- E 'from' ;24
- E 'with' ;25
- E 'CONGRATULATION!! Name of new file is' ;26
- E 'OverWrite ?' ;27
- E '(Lzd/New)=' ;28
- ;**************************Error type 1
- E 'Bad LzdFName' ;29
- E 'Bad Command' ;30
- E 'Error in Open' ;31
- E 'Error in Reading' ;32
- E 'Error in Writing' ;33
- E 'Error in Writing [disk is full]' ;34
- E 'Error in Create' ;35
- E 'Too many opened files. Please change config.sys' ;36
- E 'Aborted' ;37
- E 'bytes are free memory. DOS memory is not enough' ;38
- E 'MS-DOS must be ver2.11,3.XX' ;39
- E 'Bad Command Line' ;40
- E 'is not LZD file ?' ;41
- E 'This LZD-file is new type..New LDIFF is in NIFTY FSDR(JAPAN)' ;42
- E 'dose not exist' ;43
- E ': Bad size of old file' ;44
- E ': Bad CRC of old file' ;45
- E 'Packing Error : disk full?' ;46
- E 'UnPacking Error : disk full?' ;47
- E 'CRC Error : Fatal Error!! please contact with K.MIKI' ;48
- E 'is compressed by unkown Archiver' ;49
- E 'is compressed by LHarc' ;50
- E 'is compressed by LArc' ;51
- E 'Please use LDIFF(LDARC) Ver1.2X' ;52
- E 'Please use LDIFF(LDARC) Ver2.XX' ;53
- DB 0
-
- strofres equ dword ptr [bp+8]
- strofcount equ byte ptr [bp+6]
- ;-------------------------------------------------------------------------
- ; meg(num):string
- ;-------------------------------------------------------------------------
- meg proc far
- push bp
- mov bp,sp
- les di,strofres
- mov cl,strofcount
- mov si,offset msgdata
- push ds
- movseg ds,cs
- cld
- .while <<byte ptr [si]> nz 0 and <cl nz 0>>
- dec cl
- .do
- lodsb
- .if <al z 0>
- .break
- .endif
- .if <al ae 81h and <al be 9fh or <al ae 0e0h and <al be 0fch>>>>
- inc si
- .endif
- .enddo <>
- .enddo
- .if <<byte ptr [si]> z 0>
- xor al,al
- .else
- push di
- inc di
- .do
- lodsb
- .if <al e 0>
- .break
- .endif
- stosb
- inc cl
- .if <al ae 81h and <al be 9fh or <al ae 0e0h and <al be 0fch>>>>
- movsb
- inc cl
- .endif
- .enddo <>
- pop di
- mov al,cl
- .endif
- stosb
- pop ds
- pop bp
- ret 2
- meg endp
-
-
- code ends
- end