home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / txtutl / lit.lbr < prev    next >
LBR Archive  |  1987-09-24  |  1.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LBR Archive (archive/lbr).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LBR Archive (archive/lbr) magic Supported
1% dexvert Micro Focus Cobol library (other/microFocusCobolLibrary) ext Unsupported
1% dexvert Micro Focus COBOL Library (other/microFocusCOBOLLibrary) ext Unsupported
100% file LBR archive data default
99% file data default
87% TrID LU library default
12% TrID C64 Hires bitmap default (weak)
100% lsar LBR default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 20 20 20 20 20 20 20 | 20 20 20 20 00 00 01 00 |. | ....|
|00000010| 0f a1 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 4c 49 54 20 20 20 20 | 20 43 4f 4d 01 00 01 00 |.LIT | COM....|
|00000030| 47 a5 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |G.......|........|
|00000040| 00 4c 49 54 20 20 20 20 | 20 44 4f 43 02 00 09 00 |.LIT | DOC....|
|00000050| b6 81 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 21 00 00 39 22 2c 01 31 | 2c 01 0e 09 11 80 01 cd |!..9",.1|,.......|
|00000090| 05 00 af 2a 2c 01 f9 c9 | 00 00 00 00 00 00 00 00 |...*,...|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 2a 2a 20 4c 49 54 2e 44 | 4f 43 20 2a 2a 0d 0a 0d |** LIT.D|OC **...|
|00000110| 0a 48 65 72 65 20 69 73 | 20 61 20 73 69 6d 70 6c |.Here is| a simpl|
|00000120| 65 20 77 61 79 20 74 6f | 20 63 6f 6e 76 65 72 74 |e way to| convert|
|00000130| 20 61 20 74 65 78 74 20 | 66 69 6c 65 20 69 6e 74 | a text |file int|
|00000140| 6f 20 61 20 43 4f 4d 20 | 66 69 6c 65 0d 0a 77 68 |o a COM |file..wh|
|00000150| 69 63 68 20 77 69 6c 6c | 20 64 69 73 70 6c 61 79 |ich will| display|
|00000160| 20 69 74 73 65 6c 66 2e | 2e 2e 41 64 64 20 74 68 | itself.|..Add th|
|00000170| 69 73 20 27 68 65 61 64 | 65 72 27 20 6f 6e 74 6f |is 'head|er' onto|
|00000180| 20 74 68 65 20 66 72 6f | 6e 74 0d 0a 6f 66 20 79 | the fro|nt..of y|
|00000190| 6f 75 72 20 74 65 78 74 | 20 66 69 6c 65 20 75 73 |our text| file us|
|000001a0| 69 6e 67 20 50 49 50 2e | 20 54 68 61 74 20 63 72 |ing PIP.| That cr|
|000001b0| 65 61 74 65 73 20 61 20 | 6e 65 77 20 43 4f 4d 20 |eates a |new COM |
|000001c0| 66 69 6c 65 0d 0a 77 68 | 69 63 68 20 75 73 65 73 |file..wh|ich uses|
|000001d0| 20 61 20 42 44 4f 53 20 | 66 75 6e 63 74 69 6f 6e | a BDOS |function|
|000001e0| 20 74 6f 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 | to disp|lay the |
|000001f0| 74 65 78 74 2e 20 4a 75 | 73 74 20 6d 61 6b 65 0d |text. Ju|st make.|
|00000200| 0a 73 75 72 65 20 79 6f | 75 72 20 74 65 78 74 20 |.sure yo|ur text |
|00000210| 66 69 6c 65 20 68 61 73 | 20 61 20 27 24 27 20 61 |file has| a '$' a|
|00000220| 73 20 69 74 73 20 6c 61 | 73 74 20 63 68 61 72 61 |s its la|st chara|
|00000230| 63 74 65 72 2e 0d 0a 0d | 0a 46 6f 72 20 65 78 61 |cter....|.For exa|
|00000240| 6d 70 6c 65 2c 20 73 75 | 70 70 6f 73 65 20 79 6f |mple, su|ppose yo|
|00000250| 75 20 77 61 6e 74 20 74 | 6f 20 63 72 65 61 74 65 |u want t|o create|
|00000260| 20 61 20 43 4f 4d 20 66 | 69 6c 65 20 77 68 69 63 | a COM f|ile whic|
|00000270| 68 0d 0a 77 69 6c 6c 20 | 64 69 73 70 6c 61 79 20 |h..will |display |
|00000280| 74 68 65 20 6d 65 73 73 | 61 67 65 0d 0a 0d 0a 48 |the mess|age....H|
|00000290| 45 4c 4c 4f 20 57 4f 52 | 4c 44 0d 0a 0d 0a 6f 6e |ELLO WOR|LD....on|
|000002a0| 20 79 6f 75 72 20 73 63 | 72 65 65 6e 2e 20 43 72 | your sc|reen. Cr|
|000002b0| 65 61 74 65 20 61 20 74 | 65 78 74 20 66 69 6c 65 |eate a t|ext file|
|000002c0| 20 28 57 4f 52 4c 44 2e | 54 58 54 29 20 77 68 69 | (WORLD.|TXT) whi|
|000002d0| 63 68 20 63 6f 6e 74 61 | 69 6e 73 0d 0a 74 68 65 |ch conta|ins..the|
|000002e0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 2e 2e 2e 0d 0a 0d | followi|ng......|
|000002f0| 0a 48 45 4c 4c 4f 20 57 | 4f 52 4c 44 0d 0a 24 0d |.HELLO W|ORLD..$.|
|00000300| 0a 0d 0a 4e 6f 77 2c 20 | 75 73 65 20 50 49 50 20 |...Now, |use PIP |
|00000310| 74 6f 20 63 72 65 61 74 | 65 20 74 68 65 20 66 69 |to creat|e the fi|
|00000320| 6c 65 20 57 4f 52 4c 44 | 2e 43 4f 4d 2e 2e 2e 0d |le WORLD|.COM....|
|00000330| 0a 0d 0a 20 20 20 70 69 | 70 20 57 4f 52 4c 44 2e |... pi|p WORLD.|
|00000340| 43 4f 4d 3a 3d 4c 49 54 | 2e 4f 42 4a 2c 57 4f 52 |COM:=LIT|.OBJ,WOR|
|00000350| 4c 44 2e 54 58 54 0d 0a | 0d 0a 54 68 61 74 20 69 |LD.TXT..|..That i|
|00000360| 73 20 61 6c 6c 20 74 68 | 65 72 65 20 69 73 20 74 |s all th|ere is t|
|00000370| 6f 20 69 74 2e 2e 2e 57 | 68 65 6e 20 79 6f 75 20 |o it...W|hen you |
|00000380| 72 75 6e 20 57 4f 52 4c | 44 2e 43 4f 4d 2c 20 69 |run WORL|D.COM, i|
|00000390| 74 20 77 69 6c 6c 0d 0a | 64 69 73 70 6c 61 79 20 |t will..|display |
|000003a0| 74 68 65 20 6d 65 73 73 | 61 67 65 2e 2e 2e 0d 0a |the mess|age.....|
|000003b0| 0d 0a 54 68 65 20 73 6f | 75 72 63 65 20 63 6f 64 |..The so|urce cod|
|000003c0| 65 20 66 6f 72 20 74 68 | 69 73 20 70 72 6f 67 72 |e for th|is progr|
|000003d0| 61 6d 20 69 73 20 76 65 | 72 79 20 73 69 6d 70 6c |am is ve|ry simpl|
|000003e0| 65 20 61 6e 64 20 77 61 | 73 20 6c 69 66 74 65 64 |e and wa|s lifted|
|000003f0| 0d 0a 66 72 6f 6d 20 55 | 53 45 52 2e 41 53 4d 20 |..from U|SER.ASM |
|00000400| 77 68 69 63 68 20 61 70 | 70 65 61 72 73 20 69 6e |which ap|pears in|
|00000410| 20 5a 43 4d 44 32 39 2e | 4c 42 52 2e 20 49 20 73 | ZCMD29.|LBR. I s|
|00000420| 69 6d 70 6c 79 20 6d 6f | 76 65 64 20 74 68 65 0d |imply mo|ved the.|
|00000430| 0a 73 74 61 63 6b 20 74 | 6f 20 69 6d 6d 65 64 69 |.stack t|o immedi|
|00000440| 61 74 65 6c 79 20 66 6f | 6c 6c 6f 77 20 74 68 65 |ately fo|llow the|
|00000450| 20 70 72 6f 67 72 61 6d | 20 63 6f 64 65 20 61 6e | program| code an|
|00000460| 64 20 61 64 64 65 64 20 | 73 6f 6d 65 0d 0a 66 69 |d added |some..fi|
|00000470| 6c 6c 20 63 68 61 72 61 | 63 74 65 72 73 20 28 54 |ll chara|cters (T|
|00000480| 68 65 20 66 69 6c 6c 20 | 63 68 61 72 61 63 74 65 |he fill |characte|
|00000490| 72 73 20 6d 61 79 20 6e | 6f 74 20 72 65 61 6c 6c |rs may n|ot reall|
|000004a0| 79 20 62 65 20 6e 65 65 | 64 65 64 2c 0d 0a 49 20 |y be nee|ded,..I |
|000004b0| 6a 75 73 74 20 77 61 6e | 74 65 64 20 74 6f 20 72 |just wan|ted to r|
|000004c0| 6f 75 6e 64 20 6f 75 74 | 20 74 68 65 20 73 65 63 |ound out| the sec|
|000004d0| 74 6f 72 20 66 6f 72 20 | 64 69 66 66 65 72 65 6e |tor for |differen|
|000004e0| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 29 2e 0d |t applic|ation)..|
|000004f0| 0a 0d 0a 2d 2d 50 68 69 | 6c 6c 69 70 20 48 61 6e |...--Phi|llip Han|
|00000500| 73 66 6f 72 64 0d 0a 20 | 20 39 2f 38 36 0d 0a 1a |sford.. | 9/86...|
|00000510| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
|00000520| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
|00000530| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
|00000540| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
|00000550| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
|00000560| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
|00000570| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
+--------+-------------------------+-------------------------+--------+--------+