ACNews #05
04 сентября 2001

Wanted - List of Honored Members AC Edit.

<b>Wanted</b> - List of Honored Members AC Edit.
   . NMNb.

   q ~ ~ M question

     [QM "

     `N

      .

      "'


   As my piece, apparently, still has its reader
(Also known as user AC Edit), then it makes sense to exchange 
information and rationalization proposals about the editor (or 
maybe not only the editor?) on these pages. I can not, after 
all, copying the same thoughts, explanations and justifications 
for each letter! Especially that my access to Fidonet somewhat 
limited by time;) 


   Today is invited to rasprobovanie one of the simplest 
methods of inserting sprites tekst.V this method, all the 
sprites have a width of the screen (basically, in most cases to 
illustrate articles are just such a format) are stored 
sequentially, znakomestnymi lines and appeal to him is the same 
way - by rows. 

   Translate the screen in this format can be read as follows:


      LD HL, SCREEN

      LD DE, SPR

      LD B, 24
L0 PUSH BC

      PUSH HL

      LD A, 8
L1 PUSH HL

      LD BC, 32

      LDIR

      POP HL

      INC H

      DEC A

      JR NZ, L1

      DEC H

      LD A, H

      RRA

      RRA

      RRA

      AND 3

      ADD A, 'SPR +24

      LD H, A

      LD C, 32

      LDIR

      POP HL

      LD A, L

      ADD A, 32

      LD L, A

      JR NC, $ +6

      LD A, H

      ADD A, 8

      LD H, A

      POP BC

      DJNZ L0


   Let me remind you that the ideology of AC Edit allows you to 
place sprites after the code CHR $ 0 in the text. 

   Merge files (text + CHR $ 0 + sprites) can be a Merge file
(Ext / T).

   To insert the text of the first line of the sprite (which is 
already formed and fetch) are required to type in the beginning 
of the line (the one in we want to put it) a sequence of codes 
CHR $ 255 + CHR $ 128. The first character - "Invisible", the 
second - it is Russian capital "A". 

   The second line of the sprite is written on the next line: 
CHR $ 255 + CHR $ 129. Now, the second character - "B". And so 
on. 

   Placing information about the position the sprite on the 
lines of text has the advantage of simplicity and speed 
listalki. 

   Part of the picture can be erased, copy and move like normal 
text string. But it should be noted that when "delete" prompt 
Sprite is only removed the reference to the sprite, but the 
memory under it is not released; (


   Your suggestions? If the method is approved, I'll put in a 
feature editor of downloading and transcoding screens along the 
lines plus automatic alignment of the relevant control codes.

Most likely, this function will be called by the button "S" mode
directory.




Other articles:

News - Turbo-drive controller is not good.

Sceners page - nastorozhivayuschie results CC'001 AY Music compo.

Scoop - a secret message in the game DIZZY XII UNDERGROUND by GOGIN.

Question - one of the simplest methods of inserting the sprites in the text.

Wanted - List of Honored Members AC Edit.


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

Similar articles:
Humor - school history.
From the authors - we storatsya all the time to build and improve our publication.

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