╔══════════════════════════════════╗
║ ║
║ FIRST STEPS IN PROGRAMMING ║
║ ║
║ IN ASSEMBLY ║
║ ║
╚══════════════════════════════════╝
In order not to discourage pro-
you need to start ramming in assembler
starting with typing the program yourself
machine codes and see how this works
programs firsthand.
Therefore, let's start by learning
record programs if we have go-
The current hexadecimal dump of the program.
Of course this is not programming
assembly language, this is a finished product
assembling the program.
To do this you need a recording program
dump into computer memory. In the catalog
"SOFTWARE" You will find the subdirectory "HEX" from
which you copy onto a TR-DOS floppy disk
program "HEXinpu+" using the same method
how did you record games from the "GAMES" catalog
TEKA". Run this program and
rose "Input prefix - XXXX" enter four
zero - press ENTER - a question will appear
"Input start address - XXXX" - enter
start address in hexadecimal,
for example 9C40.
Let's look at how to enter a dump line:
9C40:3A 79 5C FE 23 D8 CD E3:94
│ │ │ │
address └─────────┬──────────┘ control.
│ amount
enter with
keyboards
The values from the dump must be entered in para-
mi, after which ENTER is pressed, for example
measures:
3A - ENTER - 79 - ENTER - 5C - ENTER...
After you have written down all the lines
dump, press the "S" key and alternately
enter the program name, start and end
The address of the downloaded dump.
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
So, we bring to your attention:
┌───────────────────┐
│ Procedure "STARS"│
└───────────────────┘
In the Norton Commander program for
IBM machines have a wonderful mode
- monitor resource saving mode, which
It turns on automatically if there is no
I haven't been using the keyboard for a while
Not a single key was pressed. At the same time,
the monitor goes out, and in order to inform
inform the user that the computer
turned on, a picture is formed on it
"starry sky" When you click on any
the information key on the screen is restored
is happening.
Here is a complete dump of the code block.
It consists of two parts, between which
there is a buffer. For demonstration you can
save them as two different files:
"stars1" CODE 40000.245
"stars2" CODE 47257.41
So, code dumps.
First block:
stars1.cod
9C40: 3A 79 5C FE 23 D8 CD E3 :94
9C48: 9C 21 00 40 11 01 40 AF :E2
9C50: 32 08 5C D3 FE 77 01 FF CA :
9C58: 1A ED B0 21 00 43 06 03 :18
9C60: C5 01 FF 01 5D 54 13 36 BC:
9C68: 18 ED B0 11 01 06 19 C1 :AB
9C70: 10 EE 06 19 DD 21 35 9D: F9
9C78: CD F7 9C 11 04 00 DD 19:7F
9C80:10 F6 DD 21 35 9D 06 19 :11
9C88: DD 35 02 20 0F DD 34 03 :7B
9C90: C5 01 FA 00 CD 18 9D 0C :7A
9C98: DD 71 02 C1 DD 7E 03 DD:80
9CA0: 6E 00 DD 66 01 FE 08 20 :14
9CA8: 0A 3E 0F DD A6 02 DD 77 :74
9CB0:02 3E 47 FE 09 20 07 36 :37
9CB8: 00 CD F7 9C 18 01 77 11 :55
9CC0: 04 00 DD 19 3A 08 5C B7 :AB
9CC8:28 15 CD EB 9C EF A2 A2 :28
9CD0: 04 31 A4 A4 04 04 38 CD: F6
9CD8: F8 03 AF 32 79 5C C9 10:FE
9CE0: A7 18 9F 21 00 40 11 99 E5:
9CE8: 9D 18 06 21 99 9D 11 00: A7
9CF0: 40 01 00 1B ED B0 C9 C5 :13
9CF8: 01 01 03 CD 18 9D 21 00 :3C
9D00: 58 09 DD 75 00 DD 74 01: A2
9D08: 01 FA 00 CD 18 9D 0C DD :0B
9D10: 71 02 DD 36 03 01 C1 C9 :C1
9D18: CD 2B 2D 01 01 00 11 34 :21
9D20: 9D CD B1 2A 06 1D EF 1D :31
9D28: 04 27 38 CD A2 2D C5 CD :56
9D30: BF 16 C1 C9 A5 00 00 00 D1:
Read more:
stars2. cod
B898: 00 3E 02 CD 01 16 CD 6B:AC
B8A0: 0D 3E 02 CD 01 16 AF 32 :6A
B8A8: 79 5C FD CB 01 AE CD 40:B9
B8B0: 9C 30 F3 FD CB 01 6E 28 :86
B8B8: F5 3A 08 5C FE 20 D8 D7 :D0
B8C0: 18 E4 00 00 00 00 00 00 :74
Suggestions: Бейсик
Read more:
1 GO TO 10
2 BORDER 7: PAPER 7: INK 0: CLEAR 39999:
RANDOMIZE USR 15619:REM:LOAD "stars1"
CODE
3 RANDOMIZE USR 15619:REM:LOAD "stars2"
CODE
10 BEEP .1,20
15 REM POKE 40004,5
20 RANDOMIZE USR 47257
More information about this type of work -
More information. Read more
Add more information to 40004
уменьшить его, убрав REM and строки 15.
Contact us for more information.
Read more.
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
Кстати, in магазине "РАДИОДЕТАЛИ", на-
There are more than one items.
Download "iS-DOS 3.1", in
Read more about it
загружается программа "звездное небо", and
Read more about this topic
More information. And now -
This is the most important thing in the world -
бо", а "летящее звездное небо" - очень
Read more about it now
слева in фирмы
"FIREBIRD".
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
*****************************************
ZX-РЕВЮ No.5 1994 стр.5-10
kiSSSoft 1995
*****************************************
Share your thoughts about the article