!lm11
!rm75
Stuffing Object Code in Protected Places

Several users of Version 4.0 have asked for a way to defeat the protection mechanism, so that they can store object code directly into the language card.  One customer has a EPROM burner which accepts code at $D000.  He wants to let the assembler write it out there directly, even though he could use the .TA directive and later a monitor move command.  Or, he could use the .TF directive, and a BLOAD into his EPROM.

For whatever reason, if you really want to do it, all you have to do is type the following patch just before you assemble:  $1A25:EA EA.  In case you want to put it back, or check before you patch, what should be there is B0 28.


Bug Reports

1.  Several readers have reported a problem with the COPY program in the December issue.  As written, if you try to copy a block of lines to a point before the first line of the program, the block is inserted between the first and second bytes of the first line.  Ouch!  To fix it, insert lines 2221-2225 and change line 2250:

   2221        LDA A2L
   2222        CMP A1L
   2223        LDA A2H
   2224        SBC A1H
   2225        BCC .5

   2250 .5     LDA SS       MOVE IN SOURCE BLOCK

2.  When I typed up Lee Meador's article for the January issue, I inadvertently changed one address to a crazy value.  The address $2746 in the 4th paragraph on page 9 should be $1246.


3.  The Variable Cross Reference program for Applesoft from the November issue leaves something behind after it has run.  If you LIST the Applesoft program after running VCR, the line number of the first line will come out garbage.  This only happens the first time you use the LIST command.  For some reason, typing CALL 1002 before the LIST will fix it.  I haven't found out the cause or cure yet.  If you find it first, let me know!
!np

In This Issue...

Apple Noises and Other Sounds . . . . . . . . . . . . . . 2
    Simple Tone . . . . . . . . . . . . . . . . . . . . . 2
    Apple "Bell" Subroutine . . . . . . . . . . . . . . . 3
    Machine-Gun Noise . . . . . . . . . . . . . . . . . . 3
    Laser "SWOOP" Sound . . . . . . . . . . . . . . . . . 3
    Another Laser Blast . . . . . . . . . . . . . . . . . 4
    Inch-Worm Sounds  . . . . . . . . . . . . . . . . . . 5
    Touch-Tones Simulator . . . . . . . . . . . . . . . . 5
    Morse Code Output . . . . . . . . . . . . . . . . . . 7
Stuffing Object Code in Protected Places  . . . . . . . . 9
Multiplying on the 6502 . . . . . . . . . . . . . . . .  11
A String Swapper for Applesoft  . . . . . . . . . . . .  14
