Deja Vu #09
13 ноября 1999

Coding - coding for Dummies: civilized way in TR-DOS.

<b>Coding</b> - coding for Dummies: civilized way in TR-DOS.
(C) SKL-KEEPER aka Kolesnikov
__________________________________________



      Coding for Dummies



   This small article I would like to dedicate
how to make a valid and convenient
for the user to exit the program.

   What does not get in your system software or utilities that 
after completing its work without even asking you to the 
question of whether you want to finish the job with the 
program? What makes this case user? Yes presses "Reset" and all 
the works! 

   And sometimes, that and wondered what, say,
finished? User clicks
"Y" and throws out safely in BASIC!
Poor nick has no choice as
Again press "Reset", to the monitor or TV to see the familiar 
TR-DOS menu ... 

   And yet how beautiful, civilized and well-received software 
developers, when the user if they wish with just one

or two keystrokes out of the program, and the computer is 
helpfully not only folds, but also came out in TR-DOS, and even 
downloaded the "boot"! What a pleasure sinklerist experience of 
working with this program! And the developer with a kind word 
will remember :-) 

   I was wondering, how is it done? Download one of these 
programs in their civilized "Scorpio" and with a bit of shadow 
monitor dug in it. Everything was so simple that

even awkward note to devote this thread!
But nevertheless, I anywhere and never
seen in the literature of such material,
so I decided to share this discovery with his friends in the 
hobby. Even if not for use, but just for interest,

I think it is useful to you. And you, aces coding, do not 
smile, but rather more devote articles and notes about the 
secrets programming, and, based not on

"Mother" of coders, and those who are in assembler weak, but 
wants to know more! 

   So, if you need to make a way out
program in the manner I have described,
upon request of the desire to leave the program
You're doing a survey on the keyboard press
"Y", and if it is pressed, the transition to a
program from:

RESET LD HL, 0

        PUSH HL

        JP # 3D2F



   A little commentary. We are through
Register HL enters the stack zero address
and are doing to address JP # 3D2F, ​​where, as we know, is 
NOP, and RET. After the command RET we return to the address on 
the top of the stack, and we've got a zero. But recourse to 
address # 3D2F ROM on switches TR-DOS. If the TR-DOS starts at 
address 0, then after initialization, the computer system 
selects the drive "A" and tries to download it and run a BASIC 
program "Boot". And to us that right!



    Good luck to you in coding, beginners!





Other articles:

Apperativchik - the entry of the authors.

Apperativchik - On the control of Deja Vu.

Apperativchik - Freebie number 2: pirates and hacked versions of the magazine.

Apperativchik - Dejavu Info: How to buy the magazine Deja Vu.

Topic - Swap: "From letters to parcels" as found in the city Spektrumistov.

Topic - Tusovka: CSP'99 - interview with Slack Den.

Topic - Tusovka: CSP'99 - an interview with the main coder'om young Novosibirsk group AREASoft

Topic - Tusovka: CSP'99 - interview with one of the publishers 'electronic journal Deja Vu' Daniel / Playgear Co. / Binary Dimension.

Topic - Tusovka: CSP'99 - interview with one of Rybinsk of Cav / Auryn.

Topic - Tusovka: CSP'99 - an interview with the father of Playgear cool uncle Ze Pagan.

Topic - Tusovka: CSP'99 - an interview with the main coder'om Flash and concurrently one of the founders of the group - Alex Rider.

Topic - Tusovka: CSP'99 - poll as the party was held in a nutshell, the general impression.

Topic - Tusovka: Legend of the way passed Crazy Siberian Party 1999.

drop of solder - HD discs: Finalization of the drive controller to work with HD-disks.

drop of solder - The decision PROBLEMS 1.2MB drive.

drop of solder - increase the amount of RAM up to 1024K on SPECCY option Taganrog 128K!

drop of solder - circuit programmer for chip-only memory (ROM).

drop of solder - a dot-matrix printers.

drop of solder - ISA-Spectrum: card inserted into the ISA slot is IBM, which is part or a complete computer ZX-Spectrum.

Software - demoscene: Obzor'ing demozov: 63 bit III, Jam, Anamnesis, 7 Up, 63 bit IV, DemoDyin, Napalm, Crapmo 2, Bunch of Arce, Devotion, WorkStop, Energy , Yes.

Software - Game Review: MIST: Monstrland Part Two, Bomb Lakes, Marbles, KluXer, 4x4 Puzzle, Soldiers, Boats.

Software - Gun Commander: User's Guide.

Coding - coding for Dummies: civilized way in TR-DOS.

Coding - coding for Dummies: More about one of the ways to survey the keyboard.

Coding - coding for Dummies: How does the "Boot" from the inside.

Coding - coding for Dummies: refine MINI BOOT V3.0.

Coding - how to print 42 characters per line (with trabutami), the procedure is quick print sprites with pixel precision.

Coding - Bystrai printing 64 characters per line.

Coding - Conversion of numbers from the stack calculator in the character string.

Coding - fast print 2x2 sprite familiarity, up to familiarity.

Coding - Hrust Library svobodnopasppostpanyaemaya library window procedure by means of eccentricity can be packaged and paspakovyvat VARIOUS data.

Coding - Error Handling TR-DOS when working through # 3D13.

Coding - a set of procedures for constructing the user interface.

Coding - pishim virus invisible to TR-DOS.

Another world - The illusion of safety: Terrifying tales of Windows security and the Internet (Part One).

Hall of Fame - 3 methods to distinguish pealny ZX Spectrum from emulyatopov.

Hall of Fame - the charter of the National Fund of the Spectrum (HFSP).

Hall of Fame - Reserves: an attempt to present the perfect ZX Spectrum.

Hall of Fame - boiling: "And there still alive Speccy, sympathy Boxing?" Reflections in hearing.

Hall of Fame - schA say number 1: optimization of procedures, the announcement of the magazine and the new arcade toy.

Hall of Fame - schA say number 1: disassembly and Serg'a Playgear, hacking calling card, the announcement Crazy Siberian Party '2000.

Hall of Fame - A brief history of the Kemerovo group Digital Life Group.

Seven and 1 / 2 - Student mythology.

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

Seven and 1 / 2 - fairy tales for children.

Seven and 1 / 2 - Features a national ruleza or pure Siberian project (the story of Crazy Siberian Party 1999).

Samples pen - memory: story of the game "Black Crow".

Samples pen - story, "Elixir of the Beast."

Samples pen - "Last Warrior".

Advertising - text ads and announcements.

Advertising - a graphical advertising and announcements.


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

Similar articles:
Likbez - details about disk formats that are FAT.

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