Deja Vu #04
31 марта 1998
  Юмор  

Seven and 1 / 2 - Lesson Lamer or a hundred and one procedure for cleaning the battery.

<b>Seven and 1 / 2</b> - Lesson Lamer or a hundred and one procedure for cleaning the battery.
SoundTrack: "FuCK iSn'T A FacT Yet" (A. FER)
__________________________________________


(C) PLAYGEAR COMPANY / BD
Author: Card! Nal 'dAn!! L
__________________________________________



++++++++++++++++++++++++++++++++++++++++++
+ Lesson lamer or a hundred and one procedure +
+ Cleaning battery v0.007T + + demo. +
++++++++++++++++++++++++++++++++++++++++++



   Hello to all readers the very steep
(No false modesty), a magazine for all

                Our favorite computer
 S SPECCY!!! We, Card! Nal and
c S dAn!! L, decided to squeal

  S this little article for anyone
) S you thought ... for lamers.
M S I must say that you do not
S I perceived it seriously,
RS because today you know

  S what day (who does not immediately

                install, look'ni
at the date of issue of the magazine).

   It all began with what I have, Card! Nal,
filled up as something to dAn!! L'y, and after a short but 
meaningful conversations such as:-Nove there? Doe horseradish! 
- DAn!! L began to show me the "new soft". Among novya was 
Journal Zx-Element or Energy # 9, which was suspiciously 
similar to the ZX-FORMAT and stubbornly did not want to work on 
validating ... uh, sorry, computer unconnected

myshoy. We, of course, set to scrap that
be identified in the program and driver Bat
turn it off. Clicking on the Magic Scorp'a began to delve into 
the program. There we saw joke: the battery was purified by XOR 
A, and check for zero makes the CP 0. Magazine we've fixed, but 
we strongly CP 0 pinned, and we laughed, we decided to write an 
article that covers similar question, or rather clean the 
battery. 

        Now, attention! Let's go!
;----------------------------------------
        LD A, 0

        XOR A

        SUB A


   These commands, as you realize the battery is clean, but I 
do not recommend their use, despite the high speed of 
execution, as Hacker, who will inevitably be break your 
program, seeing them soon understand what is happening here 
cleaning the battery and not rasksorka body of the program! 
;----------------------------------------    The following 
procedure does the same, but the original.



        RES 7, A

        RES 5, A

        RES 3, A

        RES 1, A

        RES 6, A

        RES 4, A

        RES 2, A

        RES 0, A


   There is not immediately realize what was happening, until
not protrassiruesh STS'om v1.0 or MONS.
;----------------------------------------
   Next protsedurka doing it in a loop, but it somehow with the 
battery clears more and register for your B-CPU PENTIUM II 333 
or MOTOROLLA 68,060 (all in different ways).



        LD B, 8

        SLA A

        DJNZ $ -2
;----------------------------------------
   Then the devil himself will break his legs, still
did not understand why this happens.


        LD C, # 1980

        SLI A

        RRC C

        JR NC, $ -4

        XOR C

        RRC C

        JR NC, $ -3
;----------------------------------------
   Next cleverly done at the speed of protsedurki affect the 
registers B and C, which then crush. Speed ​​ranges from 32 to 
1310732 ticks ... fantastic! This is truly amazing speed 
capabilities of Z80A. 


        LD H, D

        LD L, E

        LDIR

        LD A, B
;----------------------------------------
   Generally, the procedure for cleaning the battery
better made into a subroutine and refer to it as required.


        CALL CLR_A

        RET
CLR_A XOR A

        RET
;----------------------------------------
   Until then stuffed article, I heard on the radio cool 
phrase, quote: Happiness is - it can not have!


   Further, the processor charges the battery,
to glitches and goes on the banner Z.


        ADD A, A

        JR NZ, $ -1
;----------------------------------------
   Ha-ha-ha! Again on the radio joke said: Harder for shoferku 
hold sheep! 

   Further explanation will not.


        AND 0
;----------------------------------------
   One procedure is different from the other quite the opposite.


        DEC A

        JR NZ, $ -1


        INC A

        JR NZ, $ -1
;----------------------------------------
   On the radio again, a joke breccia: Better
sleep than nedoest!

   This program is run is dangerous, because
Port 0 may be a port expansion
memory, Bat, joystick, monitor, printer, disk drive, claves, a 
microprocessor, drive ... oh, it already was, or all

Taken together!


        IN A, (0)

        CPL
;----------------------------------------
   There's nothing I can not explain ... glitch
uttermost.


        LD C, # 7F

        AND C

        RRC C

        JR C, $ -3
;----------------------------------------
   These four protsedurki similar to each
another as diapers Hughes, Liberia and others


        LD A, 1

        ADD A, # FF


        LD A, # FF

        ADD A, 1


        LD A, 1

        DEC A


        LD A, # FF

        INC A
;----------------------------------------
   Here to explain, I think not. Tell
only that instead of B can be used
all other registers and ports Spectrum.


        LD B, 0

        LD A, B
;----------------------------------------
   Zdesya involved not only commands LD,
ADD and DJNZ, but PUSH and POP. If you understood my ravings, 
if balls will go down lower ... I'm not in that sense ...



        LD B, 16

        ADD HL, HL

        DJNZ $ -1

        PUSH HL

        POP AF
;----------------------------------------
   Instead of a sequence of commands and RRA
AND A, you can use the sequence (I love that word) team SLA A.


        LD B, 8

        RRA

        AND A

        DJNZ $ -2
;----------------------------------------
   The following procedure is eight times as twists in
cycle daunting command NEG.


        LD B, 8

        SCF

        RRA

        NEG

        RRA

        DJNZ $ -3

        ADD A, # 56
;----------------------------------------
   If you could not figure out how to work the next 
protsedurka, then I can get you congratulations to you - a deer!



        DJNZ $

        LD A, B
;----------------------------------------
   Today it seems Dam pinned on the radio:
I wish you health, happiness and creative Uzbeks!

   Next programm makes fun read: it is pin # FF to the 
registers B and A, and then the chips from them by yedinichku.



        LD B, # FF

        LD A, # FF

        DEC A

        DJNZ $ -1
;----------------------------------------
        LD HL, # FFFF

        INC HL

        PUSH HL

        POP AF

   This procedure works well, such as:

        LD DE, # FFFF

        INC DE

        PUSH DE

        POP AF

   or as:

        LD BC, # FFFF

        INC BC

        PUSH BC

        POP AF

   As you can see - no difference.
;----------------------------------------
   Instead, you can use tags METKA
tag SHIT, but instead use DATA_A
SUXX. Choose for yourself what you nicer.


        LD HL, DATA_A

        LD DE, METKA +1

        LDI
METKA LD A, 1

        RET
DATA_A DEFB 0
;----------------------------------------
   It is not clear why the team here cling CP 0 JP Z, ... 
Anyway, byte more - less than a byte (logic pisishnika).



        LD A, 0

        CP 0

        JP Z, $ +3
;----------------------------------------
   If you have custom firmware ROM
then with the battery clears all
memory.


        LD A, (# 3D03)

        LD B, A

        LD A, (# 3D04)

        ADD A, B

        CP 0

        JP NZ, 0
;----------------------------------------
   There is finally a program which uses the index register, I 
advise you to call her on CALL. 


        LD IX, DATA

        LD A, (IX +0)

        RET
DATA DEFB 0
;----------------------------------------
   The next glitch is not only discharge the battery down to 
zero, but the cut in the tube to the Scorpio. To cut the pipe 
postavte # 1FFD instead # 7FFD in the fourth row from the 
bottom. 


        LD BC, # 7FFD

        IN A, (C)

        AND% 00001111

        AND% 11110000
;----------------------------------------
   The program can not go if you have
ROM is not RULEZ, but SUCKS AND MUST DIE!


        LD A, (# 3D00)
;----------------------------------------
   Something I just scored on a TR-DOS ... This procedure 
yuzaet this interface. 


        LD HL, # 8000

        LD DE, # 0000

        LD B, 1

        LD C, 5

        CALL # 3D13

        LD A, (# 8000)

        LD B, A

        XOR B
;----------------------------------------
   The next two Gluck so buggy,
I have a simple language ... or rather fingers
do not turn to comment on them.


        LD A, # FF

        CPL


        AND% 00000001

        RES 1, A
;----------------------------------------
   Many beginners lamer still do not
know how to use the second mode interrupts. Therefore, watch 
and learn. And how learn, so please send at least $ 5 to my 
email address, you can, what may be objected to.



        ORG # 8000

        DI

        LD HL, # BE00

        LD DE, # BE01

        LD BC, 256

        LD (HL), # BF

        LDIR

        LD A, # BE

        LD I, A

        IM 2

        EI

        HALT

        DI

        IM 1

        PUSH AF

        LD A, # 3F

        LD I, A

        POP AF

        RET
INT DI

        PUSH HL

        PUSH DE

        PUSH BC

        PUSH IX

        PUSH IY

        LD A, 0

        POP IY

        POP IX

        POP BC

        POP DE

        POP HL

        EI

        RETI

        ORG # BFBF

        JP INT

   Of course, the program can be slightly reduced in length, 
erasing all commands except LD A, 0, and instead use the XOR A.

;----------------------------------------
   This protsedurka tied to a specific address, for it is said 
that the change this address will result in the premature 
installation wINDOWS 95 with all the ensuing consequences from 
here. 


        ORG # BFFC

        DI

        CALL # 0052

        DEC SP

        DEC SP

        POP HL

        LD B, L

        LD C, H

        PUSH BC

        POP AF

        EI

        RET
;----------------------------------------
   Instead, you can use tags BYTE
not any long sequence of letters.
Most have nothing to add.


        LD A, (BYTE)

        RET
BYTE DEFB 0
;----------------------------------------
   If you're the Charite in the codes, then
program eventually goes on RET
or go to JP 0.


        LD A, (# 0000)
M CP 0

        JR NZ, YEP

        JP 0
YEP LD A, (M +1)

        CP 0

        JP Z, RETURN

        JP 0
RETURN RET



   Help for lamers: Use RST 0
JP instead of 0, and then your hair will not
dry and lifeless, and will be wet and
stir.
;----------------------------------------
   Well, what else can I say?


        LD A, 0

        CP 0

        JR NZ, 0

        RET


        LD A, 0

        CP 1

        JP Z, 0

        RET
;----------------------------------------
   Printing characters on the RST # 10 is also handy for the 
discharge of the battery. 


        LD A, 2

        CALL 5633

        LD HL, MES
M1 LD A, (HL)

        CP 255

        JR Z, CONT

        RST # 10

        INC HL

        JR M1
CONT LD A, (# 4000)

        RET
MES DEFB 22,0,0, "0", 255
;----------------------------------------
   Then as luck. Either clear the battery or clean your 
computer from Memory or memory of a computer, one promise

viruses kick the bucket at once!


        LD A, B

        CP 0

        RET Z

        LD A, C

        CP 0

        RET Z

        LD A, H

        CP 0

        RET Z

        LD A, L

        CP 0

        RET Z

        LD A, D

        CP 0

        RET Z

        LD A, E

        CP 0

        RET Z

        LD A, R

        CP 0

        RET Z

        LD A, I

        CP 0

        RET Z

        LD A, A

        CP 0

        RET Z

        JP 0
;----------------------------------------
   Here is twisted itaratsionny cycle
(Woe to those who do not study in the programmer)
and made out, so call her at
CALL.


        LD HL, 0
NEXT_B LD A, (HL)

        CP 0

        RET Z

        INC HL

        JR NEXT_B
;----------------------------------------
   And the last masterpiece of cleaning the battery completes 
the top hundred and one procedure. The program should work, 
although not I know ... not tested ... number dAn!! L clearly

taken from the bulldozer.


        LD A, 4

        LD B, 101

        LD C, 38

        LD D, 41

        LD E, 19

        LD H, 9

        LD L, 1943

        ADD A, B

        ADD A, C

        ADD A, D

        ADD A, E

        ADD A, H

        ADD A, L

        INC A


   P.S. All this nonsense stuffed Card! Nal / PGC /
BD. Procedure devised dAn!! L / PGC / BD and
Card! Nal / PGC / BD. We can continue this
section, so please send comments and
Of course, our original procedures for cleaning batteries.

   P.P.S. A Ze Pagan sat like a moron
up to three nights and painted all this bredyatinu you invented 
here, a brush for painting nails!


   P.P.P.S. Brush, I stole my wife and I
I know you perverts:))!

END ...




Other articles:

Aperativchik - On the control of obolochke DEJA VU and the content of 4 issues of the journal

Topic - Immortal SPECCY - "Future Project Speccy".

drop of solder - The emulator ZX-SPECTRUM v3.04 - User's Guide.

drop of solder - The emulator ZX-SPECTRUM v0.20b by LION.

drop of solder - ZX-SPECTRUM NAVIGATOR v1.00beta.

SOFTWARE - The presentation of the game "The Lord of Orion."

SOFTWARE - A Treatise on the Great polzitelnosti some architectural developments.

SOFTWARE - An overview of new games: FISHER pre-reliz, EMPIRE demo, LITTLE GHOST demo, STALKER, ELOPEMENT, WORDLIFE.

SOFTWARE - Overview of new products demoscene: HALLUCINATIONS in OPERA, INFARCT, YER ACHE 2, AMIGA, RAY EURODEMO, ZEST.

CODING - The remix of some procedures in 1993: SCREEN APARAT, umbral path, LOOK BASIC PROGRAMM-2.

CODING - Print numbers in different number systems: print decimal and hexadecimal, binary, and Roman numbers, seal numbers in the radix set by the user.

CODING - the procedure "plasma balls".

CODING - fade out the music at any time.

CODING - THE optimization.

CODING - The rotation of sprites.

ANOTHER WORLD - On a computer Be Box.

ANOTHER WORLD - The arguments and facts (AMIGA vs PC).

Hall of Fame - Official information about the festival FunTop-98.

Hall of Fame - Competition for the best minidemku (1024 bytes).

Seven and 1 / 2 - Lesson Lamer or a hundred and one procedure for cleaning the battery.

Seven and 1 / 2 - April Fools' Day (jokes and humor).

attempt at writing - last tour or VIRTUL-but AMIG-LIMITED syndrome.

attempt at writing - A poem about good and evil.

attempt at writing - The return of Claire.

attempt at writing - Poems: Sleep student Fable of Mattanah, medical board.

attempt at writing - Short Story "The War Continues" (continued, Chapter 6).

Advertising - Advertisements and announcements ...


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
Poll - The results of the annual survey spektrumistov.
It was you - The story "Absolute Power".
Forum - Davydov. According to materials published in the ZX-REVIEW: Some issues related to autostart BASIC programs. Redefine Keys. How to print 42 characters per line. The procedure of multiplication HL = B * C. Refinement cloning downloaders. Mini-driver disk.
Events - Championship VIRUS II: results.

В этот день...   21 November