Tricks-2 - How to throw a screen to one INT.

Echo #03
          Tricks of the Trade-2



   VfNG / NEW


   Now I'll tell you a way to throw a screen to 1 INT. Should 
make a reservation: first, the focus will only on machines with 
undivided fields of memory, and secondly, it goes on-forth

absolutely arbitrary memory location in
any time, but the hyped-forth previously fixed
plot size of 6144 bytes.


   Thus, there is only one way
allows you to create such a miracle. 6144 / 2 *
(LD HL, N: PUSH HL) is 3072 * (10 +11) =
64,512 cycles, ie lets meet and
a little more time left.


   Who has something in the kettle is, one has
should get the idea. Now give 'straightener'.


   PROC-forming process where

   SCREEN-mail pictures in memory


        LD HL, PROC

        LD DE, SCREEN +6142

        LD BC, 6144
L1 LD (HL), # 21; LD HL,

        INC HL

        EX DE, HL

        LDI

        LDI

        EX DE, HL

        LD (HL), # E5; PUSH HL

        INC HL

        DEC DE

        DEC DE

        DEC DE

        DEC DE

        JP PE, L1


   Well, naturally, in front of the PROC
should give LD SP, # 5800 or where there ...