ACNews #06
01 ноября 2001
  Софт  

Soft - AC Edit'u - 3 years! Positive aspects of the editor, plugin system, a list of plugins.

<b>Soft</b> - AC Edit'u - 3 years! Positive aspects of the editor, plugin system, a list of plugins.
==================== AC Edit'u - 3 years! 
======================= 


                                 ·················

                                · A n a r c h i a ·

                                 ·············· · ············

                                               · R e l e a s e ·

                                                ···············



                              '



                                           V


                         V V V

                              V V

                           V V

                     nikf V V V

                               V

                                  V V



                  ···································

                 · ZS-Scorpion compatible. (Almost;) ·

                  ···································

Positive aspects:
(Begin to bend your fingers)
(That is, ugh ... zaginat!)
(Well, I turned down;)

- Overwrite with Save;
- After downloading the "L" - Load;
- In general, the Load / Save only need to press 2 buttons;
- In the Load visible three-character extension and the length 
of files; - In the Load / Save is seen free sectors on disk 
(also useful); - Treatment of 80 characters per line;

- Colors can be off;
- Change the background color;
- Change the sound;
- And the music is also changing:). Music can be switched off;
- You can change the font 6x8 (but 4x8 - you can not, (in the 
sense of - 

  hard;))
- Work with the text with CR and CR + LF;
- Actually, you can even read LF or LF + CR!
- The cursor appears clearly;
- Mode pseudographics;
- Find looking graphics and even color codes;
- Ability to change the drive;
- The function of the centering line;
- 64k text;
- Frame-pointer (just not scrolling framing;))
- Free (of text) pointer;
- Save the cursor position in the text;
- A special sign "" indicates that the string is wider screen

  and other special signs ">" - which in this case the next 
character - space; - Rolling Window "is disabled;

- Sprites in the text;
- Display "text changed";
- Marking the arrows;
- 4 keyboard layouts;
- Avtoskobki mode QWERTY;
- # 3D13 (a plus:))
- Autosave;
- Support for 48k;
- Command-Line Friendly;
- Do not have far to climb to enter a character by code (CAPS)
- Load packed;
- Load remembers the last downloaded file;
- Reread Cat in the Load;
- Erase the word and erasing the line - both can be held:)
- Button razdvizheniya characters Overwrite;
- Return to the Real Commander v1.x;
- Support of text with CHR $ 9 (tab)
- Support for text in any encoding;
- An automatic with Auto-alignment and placement of hyphens;
- A beautiful stretch (alternating treatment of punctuation)
- Buffered line - the pledge of speed;
- Printing to a printer (and you know that the driver can be 
changed by 

  button "M" in the Load? I myself have only recently guessed;))
- Open sources, open author (few who do not answer;))
- Different cursors for different modes;
- Move Block <> Copy + Delete;
- Step tab regulated;
- Hotkey breaking text - SS / Enter;
- The small size of the Editor (smaller - only ZX-IBM Editor)
- You can disable the movement of the cursor after entering a 
character; - Recoding Russian "H" in Latin, otklyuchabelnoe;

- Undo the current line;
- 2 Enter'a: with tabs and without (CS / Enter);
- You can change the layout of the keys to Extend;
- PlugIn system;)

----------------------- PlugIn System -------------------------

    The button "M" in the Load menu loads and runs anything;)


   As is known, has recently been in the AC Edit you can 
download music. And what will happen if, instead of compiled 
music module download completely unrelated to the cause of a 
code block? In first approximation, the answer is: it will run 
... A more precise - Carry out, where his first team will be DI 
or LD HL. And In the second case, it will additionally be 
caused by each interrupt with the start address plus 5 (or plus 
6). 

   It follows that the editor is able to call external programs 
that after returning to the editor. More The program may be 
resident, that is, to sit constantly in memory and wait for, 
say, a keystroke. 

   That is to say, open architecture;)

   When I decided to write some module for this case, the
found a couple of disadvantages with this system: First, turn 
off music, and secondly, the module does not know the state 
variables editor (such as text size). I have tried to correct 
the deficiencies simpler, so it's possible that there is still 
change ... 

   In general, do this:

   - If the module is loaded below # 8000, the music does not 
turn off. If higher, then it must be a resident of that with 
the music to be friends should not.


   - In the System Variables TR-DOS, namely, "the current file 
descriptor" (# 5cdd - # 5cec) variables are stored Editor: name 
File (# 5cdd-e5), the start address of the current line (# 
5ce6-e7) and length File (# 5ce8-e9). Their values ​​can not 
only read but also changed. 

   - The system variable, BASIC # 5c82 (ECHO_E) are
cursor coordinates X and Y. It seemed to me that here the most 
logical for this place. Try to return the Y <23;) probably

address of the beginning of the current line will be moved to # 
5c59 (E_LINE), but I have not decided yet.



   Module that moves chunks of text should rearrange the 
current row to the beginning of any line (the easiest way - to 
Zero:)) 

   Editor's impossible to call the procedure and will not be 
long because their addresses change from version to version, 
and a kernal Call me feel sorry for pamyat.Vse still able to 
write-ins only a handful of particularly inspired by people who 
can write / copy from Sorso editor such protsedurki yourself;) 

   Here's what will not change in the near future:
# 8100 - there is a font in a 6x8 screen format, shifted to the 
right. # 6000 - # 7fff - this memory is free at the time the 
module. # 5b00-# 5bff - printer driver (there was a suggestion 
to make it loadable ... think about it;)) # C000, pages 0,3,6,1 
(in that order!) - Text. The line endings match the current 
regime, given in SetUp. Before starting the unit sprites code 
is # 00. # C000-# ffff, page 4 - page for the music or the 
resident. # C000-# ffff, page 7 - Real Commander 1.x, which may 
or may not be. You can overwrite;)


   In interrupt handler first calls the poll keys (RST
56), and then the resident. This is done to ensure that the 
resident could time to amend the relevant system variables.



   Questions to potential sponsors modules:

   - Do check on the DI LD HL, or when you run a module? This
test - only "foolproof" and will not be meaningful
load, but, for example, because of this, the editor can not be 
downloaded STS; (


   - What is the routine editor, so necessary for most modules 
that it should be accessible to the call? 

   - Where best to place the variables editor: top notes, end 
notes? What else? 
-------------------------------------------------- 
------------- --- Plugins list:

1) "aceNoCol" - kills the colors in the current text. The text
slightly reduced by the removal of color codes in the late
line. Sprites do not spoil.
2) "ace00 <> 3" - in the current text character code is 
replaced by # 00 on the character with code # 03 and vice 
versa, which allows you to edit buggy texts with zeros in the 
middle. Sprites are perishable. 3) "ace64qua" - install 
"square" font 4x8. For the fans Born Dead;)

4) "aceUNkoi" - the current text encoding from the encoding KOI
in a more standard alternative.
5) "aceUNwin" - re-encoding from the encoding WIN - ANSI.
6) "aceRADUG" - skrinsaver;) Not a resident, he does not run.
It would be possible and the resident, but music to listen to 
hunting;) Written unfair because intercepts the call to the 
interrupt handler; ( 


                        Save SetUp

   Warning! Use this option as little as possible, so as not 
checked out, inserted the disc, is there a editor, and if so, 
then that is a copy that has been started, etc. 

   Simply overwrite the first sector BASIC zagruzchika.Otkuda 
it is loaded, it is known from # 5ceb (track-sector in the 
"file descriptor"). Beware! It is likely that there are 
downloaders BASIC files that do not alter the "file 
descriptor"! If they are still there, please let me know about 
them! 

   During operation, the editor of the information stored in 
the # 5ceb # 5e7c. Please do not clobber BASIC module file!






Other articles:

News - In the emulator Z80Stealth interrupts come 55 times a second!

Scoop - Controller IBM-compatible keyboard and mouse for all ZX Spectrum computer (How to work and connection). How to write your own driver for the ZX-Word

Soft - AC Edit'u - 3 years! Positive aspects of the editor, plugin system, a list of plugins.

Soft - Customize keyboard shortcuts and change cursors ACEdit.

Honor and Eternal - List of Honored Members AC Edit.


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

Similar articles:
From the world of bat - readers' letters about the games, and diskavodah demah.
News - bouts of laziness reached and the Great Game Maker'skoy team Studio Stall.
Samples pen - Minisoft Story: "space ballad about Robozhope and a thermos."
Inform - a description of the shell magazine.

В этот день...   29 April