home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / ASSEMBLE / EXLITE2 / EXLITE.MSG next >
Text File  |  1992-04-07  |  7KB  |  194 lines

  1.   From: Inbar Raz
  2.     To: Itay Zandbank                Date: 21 Mar 92  08:49:00
  3.   Subj: PkLite extractor program, incl. source
  4.   Conf: `PC Assembly Language'
  5. *******************************************************************************
  6.  >   You don't need a program for that. Run the PKLITEed program under a
  7.  > debugger, and single-step past that load sequence. Then you'll have the
  8.  > original program in memory just waiting to be saved to disk.
  9.  
  10. That's exactly (well, almost) what my program does. I was searching for a 'MOV
  11. DI,AX' and replaces it with INT3. Before that instruction is executed, DI holds
  12. the filesize+100, so you even know what to put in Debug's CX. My new int3
  13. (reprogrammed by the program)  simply writes the program to disk.
  14.  
  15.  
  16. The code, for COM's only:
  17.  
  18.  
  19. ======================== cut here ========================================
  20.  
  21. [extracted to EXLITE.ASM]
  22.  
  23. ======================= cut here ====================================
  24.  
  25.  
  26. See what I mean?
  27.  
  28. Inbar Raz
  29.     Co-SysOp,
  30.         Alien's BBS
  31.  
  32. -!-
  33.  ! Origin: Inbar's Point, Yavne, ISRAEL. True ZMailH Point. (2:403/123.5)
  34.  
  35.   From: David Kirschbaum
  36.     To: Inbar Raz                Date: 25 Mar 92  11:15:58
  37.   Subj: PkLite extractor program
  38.   Conf: `PC Assembly Language'
  39.  
  40. Hey, your EXLITE.ASM is just fine!  Saves a lot of grunge work.
  41. I've taken the liberty of making a few tweaks (see attached).
  42.  
  43. Do you object to your original message and the tweaked code
  44. being uploaded to the Internet's famous SIMTEL20 archive?
  45. You'll get full credits, of course.  (I'm only the tweaker.)
  46.  
  47. I'd like to add a "Released to the public domain" to it,
  48. if you don't mind, just to make it absolutely clear about
  49. copyrights, etc.  Or if you *do* have any constraints on
  50. the code, could you let me know?
  51.  
  52. David Kirschbaum
  53. Toad Hall
  54. === new EXLITE1.ASM follows ===
  55. [deleted]
  56.  
  57.   From: Inbar Raz
  58.     To: David Kirschbaum            Date: 31 Mar 92  14:16:00
  59.   Subj: Pklite Extractor Program
  60.   Conf: `PC Assembly Language'
  61.  
  62.  > Do you object to your original message and the tweaked code
  63.  > being uploaded to the Internet's famous SIMTEL20 archive?
  64.  > You'll get full credits, of course.  (I'm only the tweaker.)
  65.  
  66. I do not object at all. On the countrary. I have been interested in the process
  67. of making a software a PD so I could send a couple of other progs I wrote.
  68.  
  69.  > I'd like to add a "Released to the public domain" to it,
  70.  > if you don't mind, just to make it absolutely clear about
  71.  > copyrights, etc.  Or if you *do* have any constraints on
  72.  > the code, could you let me know?
  73.  
  74. Be my guest. However, I am not familiar with the word 'constraints', and I am
  75. too lazy to dictionary it up. Please explain...
  76.  
  77.  > David Kirschbaum
  78.  > Toad Hall
  79.  > === new EXLITE1.ASM follows ===
  80.  
  81.  > ; ExLite, by Inbar Raz, Jan. 12th, 1992.
  82.  > ; via FIDO's PC Assembly Language Echo
  83.  > ;
  84.  > ; Run: ExLite <filename>.
  85.  > ;
  86.  > ;v1.1    Toad Hall Tweak, 25 Mar 92
  87.  > ; - Insured CS: overrides where required
  88.  > ; - Significant tightening
  89.  > ; David Kirschbaum
  90.  > ; Toad Hall
  91.  > ; kirsch@usasoc.soc.mil
  92. .
  93. .
  94. .
  95.     mov ah,4Ch          ; Terminate process
  96.     int 21h
  97.  
  98.  > CSEG ENDS
  99.     END ExLite          ;v1.1
  100.  
  101. Well, you are playing with a lot of M/TASM pseudo commands, which I am not
  102. familiar with them either. I am used to write a classic program. I should learn
  103. this sometime. I didn't understand a lot of your changes, if any...
  104.  
  105. Inbar Raz
  106.     Co-SysOp,
  107.         Alien's BBS
  108.  
  109. -!-
  110.  ! Origin: Inbar's Point, Yavne, ISRAEL. True ZMailH Point. (2:403/123.5)
  111.  
  112.   From: David Kirschbaum
  113.     To: Inbar Raz            Date: 06 Apr 92  11:02:40
  114.   Subj: PkLite extractor program
  115.   Conf: `PC Assembly Language'
  116.  
  117.  DK> Do you object to your original message and the tweaked code
  118.  DK> being uploaded to the Internet's famous SIMTEL20 archive?
  119.  DK> You'll get full credits, of course.  (I'm only the tweaker.)
  120.  
  121. IR> I do not object at all. On the countrary. I have been interested in the
  122. IR> process of making a software a PD so I could send a couple of other
  123. IR> progs I wrote.
  124.  
  125. Great!  The process is easy:  You just say "Released to the public domain"
  126. and do NOT say "Copyright".  It then belongs to the world.
  127.  
  128.  DK> I'd like to add a "Released to the public domain" to it,
  129.  DK> if you don't mind, just to make it absolutely clear about
  130.  DK> copyrights, etc.  Or if you *do* have any constraints on
  131.  DK> the code, could you let me know?
  132.  
  133. IR> Be my guest. However, I am not familiar with the word
  134. IR> 'constraints', and I am too lazy to dictionary it up. Please
  135. IR> explain...
  136.  
  137. Some authors put constraints, limitations on how their code can
  138. be used, or who can use it.  Some authors feel users must be
  139. "politically correct." I remember one example where the author
  140. forbade any US Department of Defense use.  Others say their code
  141. can't be used in ANY commercial context.
  142.  
  143. Some authors have been upset by their code being stolen and
  144. copyrighted by another person or company.  It doesn't happen
  145. often, but it *does* happen.  For this reason, whenever I
  146. produce anything significant that I wish to "give to the world",
  147. I usually copyright it ("Copyright (C) 1991 David P Kirschbaum"),
  148. but then add a release statement ("May be freely used for all
  149. purposes, public and private.") That keeps some feelthy
  150. multinational from claiming it as their own.
  151.  
  152. Some authors like to add the line "May be freely distributed,
  153. so long as the original author [and copyright] is not removed."
  154.  
  155. This insures their everlasting glory and fame, I suppose :-)
  156.  
  157.  > CSEG ENDS
  158.     END ExLite          ;v1.1
  159.  
  160. IR> Well, you are playing with a lot of M/TASM pseudo commands, which I am not
  161. IR> familiar with them either. I am used to write a classic program. I should
  162. IR> learn this sometime. I didn't understand a lot of your changes, if any...
  163.  
  164. Well, I don't use all the newfangled "simplistic" or "Ideal"
  165. options available in the latest version of TASM .. mainly
  166. because that makes it impossible for someone *without* TASM's
  167. manual to figure out!  I stick with the old-fashioned segment
  168. declarations, and use LOTS of "ASSUME" statements just to insure
  169. the assembler (and reader) isn't confused about where DS and ES
  170. are pointing.
  171.  
  172. Part of the CSEG and ASSUME stuff is to insure that the
  173. assembler correctly computes the program length (in paragraphs)
  174. for the TSR envocation.  What I did works, and I'm *sure* it
  175. works, and I'm not sure any other "simplistic" or "Ideal" method
  176. would work.
  177.  
  178. I'll double-check the EXLITE code, put in some nice public
  179. domain statement (if that's ok with you), and field it with some
  180. documentation (probably here since some others are asking for
  181. it), and via the Internet (SIMTEL20 and perhaps comp.sources.ibmpc
  182. via Usenet).
  183.  
  184. That'll insure *your* everlasting fame :-)
  185.  
  186. Until someone writes a better one.
  187.  
  188. Regards
  189. David Kirschbaum
  190. Toad Hall
  191.  
  192. ... Mail your ideas written on the back of a $20 bill to...
  193.  
  194.