ZX Review #7-8-9-10
08 ноября 1997

Forum - A few Pokes to a game. Program Hacman96.

<b>Forum</b> - A few Pokes to a game. Program Hacman96.
(C) Promzelev E., Togliatti


   I'm a little programming languages ​​like Assembler. I can 
not decide gain a great program.


   Now I'll give you some POKES, which I found through my 
program in the machine code named "Hacker Man'96".

It is after POKES. These
POKES checked me.

STORM LORD 32564,255 - life
COLISEUM 55431,255 - life
WELL'S FARGO 51709,255 - life in

                         both
FROST BYTES 27484,255 - life.

       POKE to insert a 6 string.


   You wrote that you do not need to send POKES, which have 
already been published. Those POKES, which

I gave you, I have found through my program. For example, in
FROST BYTES you do other
POKES, perhaps you there indefinitely, not only lives but also
Cartridges and time. But POKE to
FROST BYTES, which I cited, the
You are not printed.
140.

    Program HACKER MAN'96

          (HACMAN96)


          ORG 65000

          LD L, 3

          PUSH HL

          LD A, 2

          CALL 5633

          LD A, 22

          RST 1916

          LD A, 8

          RST 1916

          LD A, 0

          RST 1916

          JR PRINT1
RETURN POP HL

          LD BC, 41367

          LD DE, 24000
LOOP LD A, (DE)

          CP 1962

          JR NC, LOOP1

          JR CIKL
LOOP2 INC DE

          LD A, (DE)

          CP L

          JR NC, LOOP3
LOOP4 DEC DE

          LD A, (DE)
CIKL DEC BC

          INC DE

          LD A, B

          OR C

          JR NZ, LOOP

          RET
LOOP1 CP 1963

          JR NC, CIKL

          JR LOOP2
LOOP3 INC HL

          CP L

          DEC HL

          JR C, PRINT

          JR LOOP4
PRINT PUSH BC

          PUSH HL

          PUSH DE

          PUSH DE

          POP BC

          CALL 11563

          CALL 11747

          LD A, 32

          RST 1916

          POP DE

          POP HL

          POP BC

          JR LOOP4
RETURNS JR RETURN
PRINT1 LD A, 72

          RST 1916

          LD A, 97

          RST 1916

          LD A, 99

          RST 1916

          LD A, 107

          RST 1916

          LD A, 101

          RST 1916

          LD A, 114

          RST 1916

          LD A, 32

          RST 1916

          LD A, 77

          RST 1916

          LD A, 97

          RST 1916

          LD A, 110

          RST 1916

          LD A, 32

          RST 1916

          LD A, 57

          RST 1916

          LD A, 54

          RST 1916

          LD A, 32

          RST 1916

          LD A, 32

          RST 1916

          LD A, 74

          RST 1916

          LD A, 65
140.

          RST 1916

          LD A, 67

          RST 1916

          LD A, 75

          RST 1916

          LD A, 32

          RST 1916

          LD A, 78

          RST 1916

          LD A, 79

          RST 1916

          LD A, 82

          RST 1916

          LD A, 77

          RST 1916

          LD A, 65

          RST 1918

          LD A, 78

          RST 1916

          LD A, 13

          RST 1916

          LD A, 244

          RST 1916

          LD A, 76

          RST 1916

          LD A, 73

          RST 1916

          LD A, 70

          RST 1916

          LD A, 69

          RST 1916

          LD A, 32

          RST 1916

          LD A, 48

          POP HL

          ADD A, L

          PUSH HL

          CP 1958

          JR NC, LPS

          RST 1916
LPS LD A, 13

          RST 1916

          JR RETURNS
2

   This program can be downloaded
in any address, it moves. Its length is 193 bytes, so I think 
its better ship in the printer buffer at 23,296. If the buffer 
is occupied, then possible and in the display area, but

only at 16384, as
the program displays the addresses found in the middle of the 
screen. In one of these addresses with a probability

80% of the recorded number of lives or ammunition (depending on 
the that you set in the register L at the beginning of the 
program). 


   Example of how to use this
program:

1. Download the game.
2. Run it and remember to
   lichestvo lives.
3. Reset the game and reload it

   loader.
4. In the loader after all the LOAD

   Put a STOP.
5. Start the loader and ship

   on.
6. Once the boot loader
   tanovitsya, download program
   Therefore HACMAN96.
7. In one place the load address

   by POKE the number of lives

   game.
8. Start HACMAN at

   loading.
9. HACMAN will issue:

HACKER MAN 1996 JACK NORMAN (that's me)
POKE LIFE X
ADDR ADDR ADDR ADDR ...

10. Write down on paper all Adre
   sa (there are a few). Then

   insert these addresses for one
   nomu as POKES. One of them,

   most likely one that

   you need. Such codes

   BASIC program searches all

   POKES possible in 40 minutes,

   and HACMAN - for a second!


   Ca. Ed.: And again, should be addressed
free optimization software. Firstly, in
This program can be seen such obvious things like LD A, 0, 
which must be replaced by XOR A or SUB A - the result is the 
same but it takes up 1 byte smaller and faster

holds. Then you need to remind our readers about how to display 
the an entire row. About it, incidentally, was written in our 
book on machine code. Her Address - # 203C. Before the call is 
necessary in register DE to put the address output lines, and 
in BC - its length. Also, there should be replaced by a 
sequence of commands of the form 


          JR C, L1

          JR L2
L1
...............

on the same team, in this case JR NC, L2.
Finally, our reader, apparently did not know
of the fact that after executing the command
CP flag is set on Z, if the comparable numbers are equal, and 
cleared, if not equal.


   Dear Eugene! We do not intend to
offend you, we just want to tell
you your mistakes so that you and others are not doing them in 
the future. But in general, the program very useful for those 
occasions when the program takes all the memory and load 
monitor does not seem possible. This is especially true for 
owners of 48K machines. A little bit about how this program 
works. She looks at the addresses 24000 - 65367 command

LD A, n, where n - the number given in the case L at the 
beginning of the program. You guessed it, this number 
corresponds to the number lives in the program. Finding such a 
command, the program displays the address at which there is n. 
By the way, this program can be make another revision - should 
seek before the end of memory, that is, to the address 65535.

For this command LD BC, 41367 after a label
RETURN must be replaced by LD BC, 41536.


           *







Other articles:

TR-DOS for beginners - The end.

Computer novella - Prince of Persia.

Computer novella - Laser team (the game Laser Squad).

Crossing Dragon - Game Rapscallion.

Crossing Dragon - Playing The Runes of Zendos.

Crossing Dragon - Playing The Saga.

Crossing Dragon - Game Witch's Cauldron.

Crossing Dragon - Create Adventyuru. Review of the editors.

Crossing Dragon - Create a dictionary to Adventyurnoy game.

Program, which we choose - The possible consequences of using undocumented commands.

Program, which we choose - About noticed irregularities in some programs and suggestions for future versions.

Program, which we choose - A proposal to all the authors of software, printers, memory dump. Programmers protect discs from being copied.

Program, which we choose - A few suggestions to improve the assembly.

Program, which we choose - Suggestions for refining ZX Word v2.5.

Program, which we choose - The "Spectrum emulator" v1.2.

Program, which we choose - What could want in a perfect assembly.

Retro - 40 best procedures: Copying data in memory.

Retro - 40 best procedures: Exchange token.

Retro - 40 best procedures: Determination addresses BASIC string.

Retro - 40 best procedures: Determination of the length of BASIC programs.

Retro - 40 best procedures: Determination of the amount of free memory.

Retro - 40 best procedures for: Search and replace strings.

Retro - 40 best procedure: Find the string.

Retro - 40 best procedures: Search for the string.

Retro - 40 best procedures: the list of variables.

Retro - 40 best procedures: an increase and up the screen.

Retro - 40 best treatments: Removal of REM-strings.

Retro - 40 best procedures: Remove the block of the program.

Expert Tips - Game Fredloader.

Expert Tips - Game Robin of Sherwood: The Touchstones of Rhianon.

Expert Tips - Game Scorpions: Die Machines.

Expert Tips - Game Terropods.

page iS-DOS - Description of system restarts IS DOS.

Forum - An algorithm for recognizing characters.

Forum - Time undocumented command processor Z80.

Forum - The concept of a high-color screen resolution.

Forum - A few Pokes to a game. Program Hacman96.

Forum - As for the new DOS and BIOS settings for the Spectrum.

Forum - Multicolor program on any computer model. Using the 2 nd screen Multicolor'a. Demonstration of the text. Electronic journals.

Forum - Project ZX Config.

Forum - Improve Art Studio. Ideas on file compression.

Forum - ZX Spectrum emulator for IBM. About the hexadecimal system. Program ZX-Stars. Oddities in the Elita

Forum - The effects on the curb and Multicolor.

reader-reader - ZX Spectrum 128 - new opportunities, new challenges.

reader-reader - With 'Light'. Spectrum and expert system.

reader-reader - The printer driver for the Scorpion.

reader-reader - Print numbers in different number systems.

reader-reader - Programming arcade game with scrolling screen.

reader-reader - The procedure for printing labels assembler XAS to monitor debugger STS 4.3.

Studies - attribute scrolling text. "Gasilka" screen. A simplified version of the procedure, "Curtain". Procedure is enriched with pictures. Procedure display images on the points.

Studies - Graphic effect "color bars".

Studies - Driver screen printing 64 characters per line.

Studies - Set of protective boot.

Studies - Address to the drive mode IM 2. Working with non-standard disc format.

Studies - Print the character, magnified by 8 times. The program "pouring" screen. The procedure for screen-saver on the points. Clear screen in Terminator'e. Search strings in memory. System character set conversion.

Studies - Program - cataloger of disks.

Studies - Program the output values of the amplitude channel music. coprocessor on the curb.

Studies - Program the output image.

Studies - The program plugs sprite.

Studies - Cleanup of the specified window screen.

Studies - The program sort the array in ascending order. The procedure for filling the screen specified attribute. Procedure display pictures. The effect of moving towards the stars. "Shower", coming from the upper left corner of the screen. The procedure of "shedding" pictures on the pixel lines. The program of "pulling" the picture at an angle of 45 degrees. Three procedures "Scroll".

Studies - The printing of numbers.

Studies - The procedure for drawing a character with attributes.

Studies - The procedure for display pictures. Fade-OUT effect (picture goes beyond the edge of the screen). Visual effect "Fountain." Fade-OUT effect, mimicking the TV off. Procedure "Ignition" pictures. The program continuously drawing a picture.

Studies - The procedure for drawing a line.

Studies - The procedure for making optimal symbol table.

Studies - scrolling lines of text in the specified window. Attribute scroller. Diagonal scrolling.

Studies - sprite scroller. Procedure display screen.

Studies - Short procedure indicating the amplitude channel music. coprocessor. Way to subtract a constant from a register pair HL.

Studies - The formula for calculating the day of the week.


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

Similar articles:
PRICE LIST - Advertisements and announcements ...
pent - an impression that our paper does not reach or address, if any, is ignored and immediately erased.
ZXNet - The order of correspondence through the FIDO and the Internet.
Entry - that can be found in my piece.

В этот день...   3 May