home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / bye3 / asmb3.sub < prev    next >
Encoding:
Text File  |  1985-03-18  |  1.5 KB  |  40 lines

  1. ;                           ASMB3.SUB
  2. ;
  3. ;                       Walt Jung 03/12/85
  4. ;
  5. ;       This file shows how to (more simply) edit and assemble
  6. ; BYE33n.ASM for multiple versions and/or many changes...
  7. ; WITHOUT always editing the humongous 80K source each time.
  8. ;       The key is to use LASM, and the LINKing assembly feature.
  9. ; To do this, split BYE33n into 3 main parts, plus the hardware insert
  10. ; specific to your machine.  The parts are: (for BYE331 as an ex.)
  11. ;
  12. ; B331.ASM      The option part, up to "ORG 100" (not to include)
  13. ; B331B.ASM     The relocating part of the source, up to
  14. ;               where your hardware insert goes
  15. ; HDWINS.ASM    Your machine specific hardware insert, renamed
  16. ; B331C.ASM     The final part of BYE33n.ASM
  17. ;
  18. ;       Edit the original source, splitting it into these parts.
  19. ; On the LAST line of each of the first three sources (only)
  20. ; add the statement:
  21. ;       LINK    B331B.ASM
  22. ;       LINK    HDWINS.ASM
  23. ;       LINK    B331C.ASM
  24. ; (These will of course be uncommented in the actual sources)
  25. ;
  26. ;       Now you can fine-tune it all much more quickly, as
  27. ; you need only edit the small chunks, for different options.
  28. ; Parts B and C will need few changes.  A VERY pleasant bonus is
  29. ; that LASM will actually assembly a hefty source such as this
  30. ; FASTER than MAC will.  Kudos Ward (sorry DR).  
  31. ;
  32. ;       When all is ready, place a copy of EX, LASM and MLOAD
  33. ; on your disc, enter in the following as a command line, and
  34. ; let er rip.
  35. ;       B>ex asmb3 b331<RETURN>
  36. ;
  37. lasm $1.bbz
  38. mload $1
  39.