Home » CEEFAX disks » telesoftware2.adl » 26_09_87/COMPIL

26_09_87/COMPIL

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware2.adl
Filename: 26_09_87/COMPIL
Read OK:
File size: 1041 bytes
Load address: 0000
Exec address: 0000
File contents


Mastering Interpreters & Compilers                            Brian Ardron




BBC Telesoftware - Reviews For Education:

Book:     Mastering Interpreters And Compilers
          (Techniques for the BBC Micro series and Electron)
          A BBC Master Guide Written by Bruce Smith

Supplier: BBC Soft,
          PO Box 234,
          London SE1 3TH.

Price:    `14.95

Other items available:  Software disc   `7.95

Reviewed by B. Ardron - Tabor High School Braintree

This is the latest in a line of sixteen books written by Bruce Smith on
computing. He is at present the technical editor of Acorn User magazine,
and most of his books most have been on aspects of the BBC Micro.

This book is not for a beginner, and should only be considered for
purchase by someone with a good working knowledge of assembly language
programming, as the book deals with interpreters and compilers for use
with the BBC.

The book deals with the understanding and construction of the main
computer's routines, languages and the like, such as the BASIC ROM, LOGO
etc. The book attempts to be a practical course as well as giving lots of
theory. Each chapter of the book contains programs for you to type in and
try out, and on this point I would recommend you buy the disc which is
available additionally, as all the programs are in assembler and a few are
very long and involved. The disc costs `7.95.

The first two chapters of the book deal with "The Wedge" - the mechanism
in the BBC operating system which allows 'operations' to be intercepted -
and Interpreters - what they are, how they work and how to adapt them.
These chapters include an interpreter for you to type in and try out.

The first section on interpreters ends with a chapter containing an
interpreted Graphics language called "Grafrite" - the aim of this language
being that once you have worked through the chapter, you can adapt and
extend the language with the help contained in later chapters of the book.

The next section is about Threaded Interpreted languages (TIL) - what they
are and how they work. There are two examples included - "miniTHORF" and
"MiniTIL". There are detailed notes on how to use or expand these
routines, as well as how the TIL makes use of the stack (including two
examples).




                                  Page 1








Mastering Interpreters & Compilers                            Brian Ardron





The last sections of the book are on Compilers. Such routines are used to
change BASIC programs to machine-code, thus reducing memory requirements
and increasing speed.

Chapter 10 gives hints on the writing of a compiler, and introduces, as an
example, a compiler called "Tactless". Chapter 11 is an extension of the
preceding chapter, outlining the "Tactless" compiler's Library. These
routines produce code which can be used on any BBC or Electron.

There follows an Editor program, with details of using the "Tactless"
Compiler and it's related programs. Once typed in, the compiler is put
into action by the command "COMPILE". This will trigger the translation,
ordering, interfacing of the library, and saving of the stand alone code
created.

The "Tactless" compiler is a "Two pass" compiler - the first pass
calculates addresses and stores them, and the second assigns the operands.

The Compiler can be used with the ROM filing system by creating a Sideways
ROM image from the files "Tact" and "Libcode", and then blowing this into
an Eprom.

This book is definitely not for the beginner, as some knowledge of
assembly language is needed. But anyone who has ventured further than
BASIC will find this book of great interest. The programs included are
good, especially the suit of programs called "Tactless", and throughout
the program, the content helps to guide you through what is a very
complicated area. I would strongly recommend that the purchase of this
book should include the software disc also, as the programs are long and
all in assembler language - errors creep in if you are anything but a very
good typist.

So if you have a good knowledge of assembler, this book is for you.


















                                  Page 2




00000000  0d 0d 0d 4d 61 73 74 65  72 69 6e 67 20 49 6e 74  |...Mastering Int|
00000010  65 72 70 72 65 74 65 72  73 20 26 20 43 6f 6d 70  |erpreters & Comp|
00000020  69 6c 65 72 73 20 20 20  20 20 20 20 20 20 20 20  |ilers           |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000040  20 42 72 69 61 6e 20 41  72 64 72 6f 6e 0d 0d 0d  | Brian Ardron...|
00000050  0d 0d 42 42 43 20 54 65  6c 65 73 6f 66 74 77 61  |..BBC Telesoftwa|
00000060  72 65 20 2d 20 52 65 76  69 65 77 73 20 46 6f 72  |re - Reviews For|
00000070  20 45 64 75 63 61 74 69  6f 6e 3a 0d 0d 42 6f 6f  | Education:..Boo|
00000080  6b 3a 20 20 20 20 20 4d  61 73 74 65 72 69 6e 67  |k:     Mastering|
00000090  20 49 6e 74 65 72 70 72  65 74 65 72 73 20 41 6e  | Interpreters An|
000000a0  64 20 43 6f 6d 70 69 6c  65 72 73 0d 20 20 20 20  |d Compilers.    |
000000b0  20 20 20 20 20 20 28 54  65 63 68 6e 69 71 75 65  |      (Technique|
000000c0  73 20 66 6f 72 20 74 68  65 20 42 42 43 20 4d 69  |s for the BBC Mi|
000000d0  63 72 6f 20 73 65 72 69  65 73 20 61 6e 64 20 45  |cro series and E|
000000e0  6c 65 63 74 72 6f 6e 29  0d 20 20 20 20 20 20 20  |lectron).       |
000000f0  20 20 20 41 20 42 42 43  20 4d 61 73 74 65 72 20  |   A BBC Master |
00000100  47 75 69 64 65 20 57 72  69 74 74 65 6e 20 62 79  |Guide Written by|
00000110  20 42 72 75 63 65 20 53  6d 69 74 68 0d 0d 53 75  | Bruce Smith..Su|
00000120  70 70 6c 69 65 72 3a 20  42 42 43 20 53 6f 66 74  |pplier: BBC Soft|
00000130  2c 0d 20 20 20 20 20 20  20 20 20 20 50 4f 20 42  |,.          PO B|
00000140  6f 78 20 32 33 34 2c 0d  20 20 20 20 20 20 20 20  |ox 234,.        |
00000150  20 20 4c 6f 6e 64 6f 6e  20 53 45 31 20 33 54 48  |  London SE1 3TH|
00000160  2e 0d 0d 50 72 69 63 65  3a 20 20 20 20 60 31 34  |...Price:    `14|
00000170  2e 39 35 0d 0d 4f 74 68  65 72 20 69 74 65 6d 73  |.95..Other items|
00000180  20 61 76 61 69 6c 61 62  6c 65 3a 20 20 53 6f 66  | available:  Sof|
00000190  74 77 61 72 65 20 64 69  73 63 20 20 20 60 37 2e  |tware disc   `7.|
000001a0  39 35 0d 0d 52 65 76 69  65 77 65 64 20 62 79 20  |95..Reviewed by |
000001b0  42 2e 20 41 72 64 72 6f  6e 20 2d 20 54 61 62 6f  |B. Ardron - Tabo|
000001c0  72 20 48 69 67 68 20 53  63 68 6f 6f 6c 20 42 72  |r High School Br|
000001d0  61 69 6e 74 72 65 65 0d  0d 54 68 69 73 20 69 73  |aintree..This is|
000001e0  20 74 68 65 20 6c 61 74  65 73 74 20 69 6e 20 61  | the latest in a|
000001f0  20 6c 69 6e 65 20 6f 66  20 73 69 78 74 65 65 6e  | line of sixteen|
00000200  20 62 6f 6f 6b 73 20 77  72 69 74 74 65 6e 20 62  | books written b|
00000210  79 20 42 72 75 63 65 20  53 6d 69 74 68 20 6f 6e  |y Bruce Smith on|
00000220  0d 63 6f 6d 70 75 74 69  6e 67 2e 20 48 65 20 69  |.computing. He i|
00000230  73 20 61 74 20 70 72 65  73 65 6e 74 20 74 68 65  |s at present the|
00000240  20 74 65 63 68 6e 69 63  61 6c 20 65 64 69 74 6f  | technical edito|
00000250  72 20 6f 66 20 41 63 6f  72 6e 20 55 73 65 72 20  |r of Acorn User |
00000260  6d 61 67 61 7a 69 6e 65  2c 0d 61 6e 64 20 6d 6f  |magazine,.and mo|
00000270  73 74 20 6f 66 20 68 69  73 20 62 6f 6f 6b 73 20  |st of his books |
00000280  6d 6f 73 74 20 68 61 76  65 20 62 65 65 6e 20 6f  |most have been o|
00000290  6e 20 61 73 70 65 63 74  73 20 6f 66 20 74 68 65  |n aspects of the|
000002a0  20 42 42 43 20 4d 69 63  72 6f 2e 0d 0d 54 68 69  | BBC Micro...Thi|
000002b0  73 20 62 6f 6f 6b 20 69  73 20 6e 6f 74 20 66 6f  |s book is not fo|
000002c0  72 20 61 20 62 65 67 69  6e 6e 65 72 2c 20 61 6e  |r a beginner, an|
000002d0  64 20 73 68 6f 75 6c 64  20 6f 6e 6c 79 20 62 65  |d should only be|
000002e0  20 63 6f 6e 73 69 64 65  72 65 64 20 66 6f 72 0d  | considered for.|
000002f0  70 75 72 63 68 61 73 65  20 62 79 20 73 6f 6d 65  |purchase by some|
00000300  6f 6e 65 20 77 69 74 68  20 61 20 67 6f 6f 64 20  |one with a good |
00000310  77 6f 72 6b 69 6e 67 20  6b 6e 6f 77 6c 65 64 67  |working knowledg|
00000320  65 20 6f 66 20 61 73 73  65 6d 62 6c 79 20 6c 61  |e of assembly la|
00000330  6e 67 75 61 67 65 0d 70  72 6f 67 72 61 6d 6d 69  |nguage.programmi|
00000340  6e 67 2c 20 61 73 20 74  68 65 20 62 6f 6f 6b 20  |ng, as the book |
00000350  64 65 61 6c 73 20 77 69  74 68 20 69 6e 74 65 72  |deals with inter|
00000360  70 72 65 74 65 72 73 20  61 6e 64 20 63 6f 6d 70  |preters and comp|
00000370  69 6c 65 72 73 20 66 6f  72 20 75 73 65 0d 77 69  |ilers for use.wi|
00000380  74 68 20 74 68 65 20 42  42 43 2e 0d 0d 54 68 65  |th the BBC...The|
00000390  20 62 6f 6f 6b 20 64 65  61 6c 73 20 77 69 74 68  | book deals with|
000003a0  20 74 68 65 20 75 6e 64  65 72 73 74 61 6e 64 69  | the understandi|
000003b0  6e 67 20 61 6e 64 20 63  6f 6e 73 74 72 75 63 74  |ng and construct|
000003c0  69 6f 6e 20 6f 66 20 74  68 65 20 6d 61 69 6e 0d  |ion of the main.|
000003d0  63 6f 6d 70 75 74 65 72  27 73 20 72 6f 75 74 69  |computer's routi|
000003e0  6e 65 73 2c 20 6c 61 6e  67 75 61 67 65 73 20 61  |nes, languages a|
000003f0  6e 64 20 74 68 65 20 6c  69 6b 65 2c 20 73 75 63  |nd the like, suc|
00000400  68 20 61 73 20 74 68 65  20 42 41 53 49 43 20 52  |h as the BASIC R|
00000410  4f 4d 2c 20 4c 4f 47 4f  0d 65 74 63 2e 20 54 68  |OM, LOGO.etc. Th|
00000420  65 20 62 6f 6f 6b 20 61  74 74 65 6d 70 74 73 20  |e book attempts |
00000430  74 6f 20 62 65 20 61 20  70 72 61 63 74 69 63 61  |to be a practica|
00000440  6c 20 63 6f 75 72 73 65  20 61 73 20 77 65 6c 6c  |l course as well|
00000450  20 61 73 20 67 69 76 69  6e 67 20 6c 6f 74 73 20  | as giving lots |
00000460  6f 66 0d 74 68 65 6f 72  79 2e 20 45 61 63 68 20  |of.theory. Each |
00000470  63 68 61 70 74 65 72 20  6f 66 20 74 68 65 20 62  |chapter of the b|
00000480  6f 6f 6b 20 63 6f 6e 74  61 69 6e 73 20 70 72 6f  |ook contains pro|
00000490  67 72 61 6d 73 20 66 6f  72 20 79 6f 75 20 74 6f  |grams for you to|
000004a0  20 74 79 70 65 20 69 6e  20 61 6e 64 0d 74 72 79  | type in and.try|
000004b0  20 6f 75 74 2c 20 61 6e  64 20 6f 6e 20 74 68 69  | out, and on thi|
000004c0  73 20 70 6f 69 6e 74 20  49 20 77 6f 75 6c 64 20  |s point I would |
000004d0  72 65 63 6f 6d 6d 65 6e  64 20 79 6f 75 20 62 75  |recommend you bu|
000004e0  79 20 74 68 65 20 64 69  73 63 20 77 68 69 63 68  |y the disc which|
000004f0  20 69 73 0d 61 76 61 69  6c 61 62 6c 65 20 61 64  | is.available ad|
00000500  64 69 74 69 6f 6e 61 6c  6c 79 2c 20 61 73 20 61  |ditionally, as a|
00000510  6c 6c 20 74 68 65 20 70  72 6f 67 72 61 6d 73 20  |ll the programs |
00000520  61 72 65 20 69 6e 20 61  73 73 65 6d 62 6c 65 72  |are in assembler|
00000530  20 61 6e 64 20 61 20 66  65 77 20 61 72 65 0d 76  | and a few are.v|
00000540  65 72 79 20 6c 6f 6e 67  20 61 6e 64 20 69 6e 76  |ery long and inv|
00000550  6f 6c 76 65 64 2e 20 54  68 65 20 64 69 73 63 20  |olved. The disc |
00000560  63 6f 73 74 73 20 60 37  2e 39 35 2e 0d 0d 54 68  |costs `7.95...Th|
00000570  65 20 66 69 72 73 74 20  74 77 6f 20 63 68 61 70  |e first two chap|
00000580  74 65 72 73 20 6f 66 20  74 68 65 20 62 6f 6f 6b  |ters of the book|
00000590  20 64 65 61 6c 20 77 69  74 68 20 22 54 68 65 20  | deal with "The |
000005a0  57 65 64 67 65 22 20 2d  20 74 68 65 20 6d 65 63  |Wedge" - the mec|
000005b0  68 61 6e 69 73 6d 0d 69  6e 20 74 68 65 20 42 42  |hanism.in the BB|
000005c0  43 20 6f 70 65 72 61 74  69 6e 67 20 73 79 73 74  |C operating syst|
000005d0  65 6d 20 77 68 69 63 68  20 61 6c 6c 6f 77 73 20  |em which allows |
000005e0  27 6f 70 65 72 61 74 69  6f 6e 73 27 20 74 6f 20  |'operations' to |
000005f0  62 65 20 69 6e 74 65 72  63 65 70 74 65 64 20 2d  |be intercepted -|
00000600  0d 61 6e 64 20 49 6e 74  65 72 70 72 65 74 65 72  |.and Interpreter|
00000610  73 20 2d 20 77 68 61 74  20 74 68 65 79 20 61 72  |s - what they ar|
00000620  65 2c 20 68 6f 77 20 74  68 65 79 20 77 6f 72 6b  |e, how they work|
00000630  20 61 6e 64 20 68 6f 77  20 74 6f 20 61 64 61 70  | and how to adap|
00000640  74 20 74 68 65 6d 2e 0d  54 68 65 73 65 20 63 68  |t them..These ch|
00000650  61 70 74 65 72 73 20 69  6e 63 6c 75 64 65 20 61  |apters include a|
00000660  6e 20 69 6e 74 65 72 70  72 65 74 65 72 20 66 6f  |n interpreter fo|
00000670  72 20 79 6f 75 20 74 6f  20 74 79 70 65 20 69 6e  |r you to type in|
00000680  20 61 6e 64 20 74 72 79  20 6f 75 74 2e 0d 0d 54  | and try out...T|
00000690  68 65 20 66 69 72 73 74  20 73 65 63 74 69 6f 6e  |he first section|
000006a0  20 6f 6e 20 69 6e 74 65  72 70 72 65 74 65 72 73  | on interpreters|
000006b0  20 65 6e 64 73 20 77 69  74 68 20 61 20 63 68 61  | ends with a cha|
000006c0  70 74 65 72 20 63 6f 6e  74 61 69 6e 69 6e 67 20  |pter containing |
000006d0  61 6e 0d 69 6e 74 65 72  70 72 65 74 65 64 20 47  |an.interpreted G|
000006e0  72 61 70 68 69 63 73 20  6c 61 6e 67 75 61 67 65  |raphics language|
000006f0  20 63 61 6c 6c 65 64 20  22 47 72 61 66 72 69 74  | called "Grafrit|
00000700  65 22 20 2d 20 74 68 65  20 61 69 6d 20 6f 66 20  |e" - the aim of |
00000710  74 68 69 73 20 6c 61 6e  67 75 61 67 65 0d 62 65  |this language.be|
00000720  69 6e 67 20 74 68 61 74  20 6f 6e 63 65 20 79 6f  |ing that once yo|
00000730  75 20 68 61 76 65 20 77  6f 72 6b 65 64 20 74 68  |u have worked th|
00000740  72 6f 75 67 68 20 74 68  65 20 63 68 61 70 74 65  |rough the chapte|
00000750  72 2c 20 79 6f 75 20 63  61 6e 20 61 64 61 70 74  |r, you can adapt|
00000760  20 61 6e 64 0d 65 78 74  65 6e 64 20 74 68 65 20  | and.extend the |
00000770  6c 61 6e 67 75 61 67 65  20 77 69 74 68 20 74 68  |language with th|
00000780  65 20 68 65 6c 70 20 63  6f 6e 74 61 69 6e 65 64  |e help contained|
00000790  20 69 6e 20 6c 61 74 65  72 20 63 68 61 70 74 65  | in later chapte|
000007a0  72 73 20 6f 66 20 74 68  65 20 62 6f 6f 6b 2e 0d  |rs of the book..|
000007b0  0d 54 68 65 20 6e 65 78  74 20 73 65 63 74 69 6f  |.The next sectio|
000007c0  6e 20 69 73 20 61 62 6f  75 74 20 54 68 72 65 61  |n is about Threa|
000007d0  64 65 64 20 49 6e 74 65  72 70 72 65 74 65 64 20  |ded Interpreted |
000007e0  6c 61 6e 67 75 61 67 65  73 20 28 54 49 4c 29 20  |languages (TIL) |
000007f0  2d 20 77 68 61 74 20 74  68 65 79 0d 61 72 65 20  |- what they.are |
00000800  61 6e 64 20 68 6f 77 20  74 68 65 79 20 77 6f 72  |and how they wor|
00000810  6b 2e 20 54 68 65 72 65  20 61 72 65 20 74 77 6f  |k. There are two|
00000820  20 65 78 61 6d 70 6c 65  73 20 69 6e 63 6c 75 64  | examples includ|
00000830  65 64 20 2d 20 22 6d 69  6e 69 54 48 4f 52 46 22  |ed - "miniTHORF"|
00000840  20 61 6e 64 0d 22 4d 69  6e 69 54 49 4c 22 2e 20  | and."MiniTIL". |
00000850  54 68 65 72 65 20 61 72  65 20 64 65 74 61 69 6c  |There are detail|
00000860  65 64 20 6e 6f 74 65 73  20 6f 6e 20 68 6f 77 20  |ed notes on how |
00000870  74 6f 20 75 73 65 20 6f  72 20 65 78 70 61 6e 64  |to use or expand|
00000880  20 74 68 65 73 65 0d 72  6f 75 74 69 6e 65 73 2c  | these.routines,|
00000890  20 61 73 20 77 65 6c 6c  20 61 73 20 68 6f 77 20  | as well as how |
000008a0  74 68 65 20 54 49 4c 20  6d 61 6b 65 73 20 75 73  |the TIL makes us|
000008b0  65 20 6f 66 20 74 68 65  20 73 74 61 63 6b 20 28  |e of the stack (|
000008c0  69 6e 63 6c 75 64 69 6e  67 20 74 77 6f 0d 65 78  |including two.ex|
000008d0  61 6d 70 6c 65 73 29 2e  0d 0d 0d 0d 0d 20 20 20  |amples)......   |
000008e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000008f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 50  |               P|
00000900  61 67 65 20 31 0d 0d 0d  0d 0d 0d 0d 0d 0d 4d 61  |age 1.........Ma|
00000910  73 74 65 72 69 6e 67 20  49 6e 74 65 72 70 72 65  |stering Interpre|
00000920  74 65 72 73 20 26 20 43  6f 6d 70 69 6c 65 72 73  |ters & Compilers|
00000930  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000940  20 20 20 20 20 20 20 20  20 20 20 20 42 72 69 61  |            Bria|
00000950  6e 20 41 72 64 72 6f 6e  0d 0d 0d 0d 0d 0d 54 68  |n Ardron......Th|
00000960  65 20 6c 61 73 74 20 73  65 63 74 69 6f 6e 73 20  |e last sections |
00000970  6f 66 20 74 68 65 20 62  6f 6f 6b 20 61 72 65 20  |of the book are |
00000980  6f 6e 20 43 6f 6d 70 69  6c 65 72 73 2e 20 53 75  |on Compilers. Su|
00000990  63 68 20 72 6f 75 74 69  6e 65 73 20 61 72 65 20  |ch routines are |
000009a0  75 73 65 64 20 74 6f 0d  63 68 61 6e 67 65 20 42  |used to.change B|
000009b0  41 53 49 43 20 70 72 6f  67 72 61 6d 73 20 74 6f  |ASIC programs to|
000009c0  20 6d 61 63 68 69 6e 65  2d 63 6f 64 65 2c 20 74  | machine-code, t|
000009d0  68 75 73 20 72 65 64 75  63 69 6e 67 20 6d 65 6d  |hus reducing mem|
000009e0  6f 72 79 20 72 65 71 75  69 72 65 6d 65 6e 74 73  |ory requirements|
000009f0  0d 61 6e 64 20 69 6e 63  72 65 61 73 69 6e 67 20  |.and increasing |
00000a00  73 70 65 65 64 2e 0d 0d  43 68 61 70 74 65 72 20  |speed...Chapter |
00000a10  31 30 20 67 69 76 65 73  20 68 69 6e 74 73 20 6f  |10 gives hints o|
00000a20  6e 20 74 68 65 20 77 72  69 74 69 6e 67 20 6f 66  |n the writing of|
00000a30  20 61 20 63 6f 6d 70 69  6c 65 72 2c 20 61 6e 64  | a compiler, and|
00000a40  20 69 6e 74 72 6f 64 75  63 65 73 2c 20 61 73 20  | introduces, as |
00000a50  61 6e 0d 65 78 61 6d 70  6c 65 2c 20 61 20 63 6f  |an.example, a co|
00000a60  6d 70 69 6c 65 72 20 63  61 6c 6c 65 64 20 22 54  |mpiler called "T|
00000a70  61 63 74 6c 65 73 73 22  2e 20 43 68 61 70 74 65  |actless". Chapte|
00000a80  72 20 31 31 20 69 73 20  61 6e 20 65 78 74 65 6e  |r 11 is an exten|
00000a90  73 69 6f 6e 20 6f 66 20  74 68 65 0d 70 72 65 63  |sion of the.prec|
00000aa0  65 64 69 6e 67 20 63 68  61 70 74 65 72 2c 20 6f  |eding chapter, o|
00000ab0  75 74 6c 69 6e 69 6e 67  20 74 68 65 20 22 54 61  |utlining the "Ta|
00000ac0  63 74 6c 65 73 73 22 20  63 6f 6d 70 69 6c 65 72  |ctless" compiler|
00000ad0  27 73 20 4c 69 62 72 61  72 79 2e 20 54 68 65 73  |'s Library. Thes|
00000ae0  65 0d 72 6f 75 74 69 6e  65 73 20 70 72 6f 64 75  |e.routines produ|
00000af0  63 65 20 63 6f 64 65 20  77 68 69 63 68 20 63 61  |ce code which ca|
00000b00  6e 20 62 65 20 75 73 65  64 20 6f 6e 20 61 6e 79  |n be used on any|
00000b10  20 42 42 43 20 6f 72 20  45 6c 65 63 74 72 6f 6e  | BBC or Electron|
00000b20  2e 0d 0d 54 68 65 72 65  20 66 6f 6c 6c 6f 77 73  |...There follows|
00000b30  20 61 6e 20 45 64 69 74  6f 72 20 70 72 6f 67 72  | an Editor progr|
00000b40  61 6d 2c 20 77 69 74 68  20 64 65 74 61 69 6c 73  |am, with details|
00000b50  20 6f 66 20 75 73 69 6e  67 20 74 68 65 20 22 54  | of using the "T|
00000b60  61 63 74 6c 65 73 73 22  0d 43 6f 6d 70 69 6c 65  |actless".Compile|
00000b70  72 20 61 6e 64 20 69 74  27 73 20 72 65 6c 61 74  |r and it's relat|
00000b80  65 64 20 70 72 6f 67 72  61 6d 73 2e 20 4f 6e 63  |ed programs. Onc|
00000b90  65 20 74 79 70 65 64 20  69 6e 2c 20 74 68 65 20  |e typed in, the |
00000ba0  63 6f 6d 70 69 6c 65 72  20 69 73 20 70 75 74 0d  |compiler is put.|
00000bb0  69 6e 74 6f 20 61 63 74  69 6f 6e 20 62 79 20 74  |into action by t|
00000bc0  68 65 20 63 6f 6d 6d 61  6e 64 20 22 43 4f 4d 50  |he command "COMP|
00000bd0  49 4c 45 22 2e 20 54 68  69 73 20 77 69 6c 6c 20  |ILE". This will |
00000be0  74 72 69 67 67 65 72 20  74 68 65 20 74 72 61 6e  |trigger the tran|
00000bf0  73 6c 61 74 69 6f 6e 2c  0d 6f 72 64 65 72 69 6e  |slation,.orderin|
00000c00  67 2c 20 69 6e 74 65 72  66 61 63 69 6e 67 20 6f  |g, interfacing o|
00000c10  66 20 74 68 65 20 6c 69  62 72 61 72 79 2c 20 61  |f the library, a|
00000c20  6e 64 20 73 61 76 69 6e  67 20 6f 66 20 74 68 65  |nd saving of the|
00000c30  20 73 74 61 6e 64 20 61  6c 6f 6e 65 20 63 6f 64  | stand alone cod|
00000c40  65 0d 63 72 65 61 74 65  64 2e 0d 0d 54 68 65 20  |e.created...The |
00000c50  22 54 61 63 74 6c 65 73  73 22 20 63 6f 6d 70 69  |"Tactless" compi|
00000c60  6c 65 72 20 69 73 20 61  20 22 54 77 6f 20 70 61  |ler is a "Two pa|
00000c70  73 73 22 20 63 6f 6d 70  69 6c 65 72 20 2d 20 74  |ss" compiler - t|
00000c80  68 65 20 66 69 72 73 74  20 70 61 73 73 0d 63 61  |he first pass.ca|
00000c90  6c 63 75 6c 61 74 65 73  20 61 64 64 72 65 73 73  |lculates address|
00000ca0  65 73 20 61 6e 64 20 73  74 6f 72 65 73 20 74 68  |es and stores th|
00000cb0  65 6d 2c 20 61 6e 64 20  74 68 65 20 73 65 63 6f  |em, and the seco|
00000cc0  6e 64 20 61 73 73 69 67  6e 73 20 74 68 65 20 6f  |nd assigns the o|
00000cd0  70 65 72 61 6e 64 73 2e  0d 0d 54 68 65 20 43 6f  |perands...The Co|
00000ce0  6d 70 69 6c 65 72 20 63  61 6e 20 62 65 20 75 73  |mpiler can be us|
00000cf0  65 64 20 77 69 74 68 20  74 68 65 20 52 4f 4d 20  |ed with the ROM |
00000d00  66 69 6c 69 6e 67 20 73  79 73 74 65 6d 20 62 79  |filing system by|
00000d10  20 63 72 65 61 74 69 6e  67 20 61 20 53 69 64 65  | creating a Side|
00000d20  77 61 79 73 0d 52 4f 4d  20 69 6d 61 67 65 20 66  |ways.ROM image f|
00000d30  72 6f 6d 20 74 68 65 20  66 69 6c 65 73 20 22 54  |rom the files "T|
00000d40  61 63 74 22 20 61 6e 64  20 22 4c 69 62 63 6f 64  |act" and "Libcod|
00000d50  65 22 2c 20 61 6e 64 20  74 68 65 6e 20 62 6c 6f  |e", and then blo|
00000d60  77 69 6e 67 20 74 68 69  73 20 69 6e 74 6f 0d 61  |wing this into.a|
00000d70  6e 20 45 70 72 6f 6d 2e  0d 0d 54 68 69 73 20 62  |n Eprom...This b|
00000d80  6f 6f 6b 20 69 73 20 64  65 66 69 6e 69 74 65 6c  |ook is definitel|
00000d90  79 20 6e 6f 74 20 66 6f  72 20 74 68 65 20 62 65  |y not for the be|
00000da0  67 69 6e 6e 65 72 2c 20  61 73 20 73 6f 6d 65 20  |ginner, as some |
00000db0  6b 6e 6f 77 6c 65 64 67  65 20 6f 66 0d 61 73 73  |knowledge of.ass|
00000dc0  65 6d 62 6c 79 20 6c 61  6e 67 75 61 67 65 20 69  |embly language i|
00000dd0  73 20 6e 65 65 64 65 64  2e 20 42 75 74 20 61 6e  |s needed. But an|
00000de0  79 6f 6e 65 20 77 68 6f  20 68 61 73 20 76 65 6e  |yone who has ven|
00000df0  74 75 72 65 64 20 66 75  72 74 68 65 72 20 74 68  |tured further th|
00000e00  61 6e 0d 42 41 53 49 43  20 77 69 6c 6c 20 66 69  |an.BASIC will fi|
00000e10  6e 64 20 74 68 69 73 20  62 6f 6f 6b 20 6f 66 20  |nd this book of |
00000e20  67 72 65 61 74 20 69 6e  74 65 72 65 73 74 2e 20  |great interest. |
00000e30  54 68 65 20 70 72 6f 67  72 61 6d 73 20 69 6e 63  |The programs inc|
00000e40  6c 75 64 65 64 20 61 72  65 0d 67 6f 6f 64 2c 20  |luded are.good, |
00000e50  65 73 70 65 63 69 61 6c  6c 79 20 74 68 65 20 73  |especially the s|
00000e60  75 69 74 20 6f 66 20 70  72 6f 67 72 61 6d 73 20  |uit of programs |
00000e70  63 61 6c 6c 65 64 20 22  54 61 63 74 6c 65 73 73  |called "Tactless|
00000e80  22 2c 20 61 6e 64 20 74  68 72 6f 75 67 68 6f 75  |", and throughou|
00000e90  74 0d 74 68 65 20 70 72  6f 67 72 61 6d 2c 20 74  |t.the program, t|
00000ea0  68 65 20 63 6f 6e 74 65  6e 74 20 68 65 6c 70 73  |he content helps|
00000eb0  20 74 6f 20 67 75 69 64  65 20 79 6f 75 20 74 68  | to guide you th|
00000ec0  72 6f 75 67 68 20 77 68  61 74 20 69 73 20 61 20  |rough what is a |
00000ed0  76 65 72 79 0d 63 6f 6d  70 6c 69 63 61 74 65 64  |very.complicated|
00000ee0  20 61 72 65 61 2e 20 49  20 77 6f 75 6c 64 20 73  | area. I would s|
00000ef0  74 72 6f 6e 67 6c 79 20  72 65 63 6f 6d 6d 65 6e  |trongly recommen|
00000f00  64 20 74 68 61 74 20 74  68 65 20 70 75 72 63 68  |d that the purch|
00000f10  61 73 65 20 6f 66 20 74  68 69 73 0d 62 6f 6f 6b  |ase of this.book|
00000f20  20 73 68 6f 75 6c 64 20  69 6e 63 6c 75 64 65 20  | should include |
00000f30  74 68 65 20 73 6f 66 74  77 61 72 65 20 64 69 73  |the software dis|
00000f40  63 20 61 6c 73 6f 2c 20  61 73 20 74 68 65 20 70  |c also, as the p|
00000f50  72 6f 67 72 61 6d 73 20  61 72 65 20 6c 6f 6e 67  |rograms are long|
00000f60  20 61 6e 64 0d 61 6c 6c  20 69 6e 20 61 73 73 65  | and.all in asse|
00000f70  6d 62 6c 65 72 20 6c 61  6e 67 75 61 67 65 20 2d  |mbler language -|
00000f80  20 65 72 72 6f 72 73 20  63 72 65 65 70 20 69 6e  | errors creep in|
00000f90  20 69 66 20 79 6f 75 20  61 72 65 20 61 6e 79 74  | if you are anyt|
00000fa0  68 69 6e 67 20 62 75 74  20 61 20 76 65 72 79 0d  |hing but a very.|
00000fb0  67 6f 6f 64 20 74 79 70  69 73 74 2e 0d 0d 53 6f  |good typist...So|
00000fc0  20 69 66 20 79 6f 75 20  68 61 76 65 20 61 20 67  | if you have a g|
00000fd0  6f 6f 64 20 6b 6e 6f 77  6c 65 64 67 65 20 6f 66  |ood knowledge of|
00000fe0  20 61 73 73 65 6d 62 6c  65 72 2c 20 74 68 69 73  | assembler, this|
00000ff0  20 62 6f 6f 6b 20 69 73  20 66 6f 72 20 79 6f 75  | book is for you|
00001000  2e 0d 0d 0d 0d 0d 0d 0d  0d 0d 0d 0d 0d 0d 0d 0d  |................|
00001010  0d 0d 0d 0d 20 20 20 20  20 20 20 20 20 20 20 20  |....            |
00001020  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001030  20 20 20 20 20 20 50 61  67 65 20 32 0d 0d 0d 0d  |      Page 2....|
00001040  0d                                                |.|
00001041
26_09_87/COMPIL.m0
26_09_87/COMPIL.m1
26_09_87/COMPIL.m2
26_09_87/COMPIL.m4
26_09_87/COMPIL.m5