3Bit #01
03 января 2005

Programming - an overview of features and company models ottechestvennogo Spectrum of Rob F.

<b>Programming</b> - an overview of features and company models ottechestvennogo Spectrum of Rob F.
      True Coder # 001

(C) Rob F. / Entire Group


  Kowtow, dear readers. This
column is devoted to a certain spirit, which
originated in the world Speccy.

  I think each is the word "Speccy", -
associated with something sweet and throbbing heart. Well, of 
course, where else can you play the game MYTH? Not on a PC, and

yes do not for Ammy, no talent in graphics, no
magnificent Coding'a. So, on the coders ... This rank is not so 
easy to get, as it seems. In general, the loaders at Busick

do not get off. However, the true Coder can write on Vasik 
Scroll, albeit with mats in the shower, but write. For a long 
time communication with other guys, I have deduced a simple 
formula encoder - eternity. With each day, a true coder, will 
come up something new and new. And most likely,

same problem it will solve one thousand
ways. Unlike others, he will
a thousand times to reinvent the wheel, it is
so Spectrum'isty know a thousand ways to highlight the 
on-screen point, and it is therefore, they have found the best 
way for its appearance. And like it seems that

faster is not possible, but still some one comes up even faster.

  Sometimes I think that the Speccy come up with some packer 
information squeezed into one BIT or three BIT'a;) is 
ridiculous, of course, but you never know? Although, like, this 
is not possible. Do not ... I was wondering, can only 
decompressor would be great! =) Just kidding, of course ...


  And sometimes there are guys on the Speccy,
who have tasted success, start it
sinking. Then they become ridiculous, starting to say stupid 
things like that, that a Z80 is glitches, ie commands that

he does not perform. There are, of course, but quite
not what they describe. Here in this column I
and wanted to share with you the true value.


      Corporate Speccy ...


  In fact, Speccy unique in that
overseas, that is original, options
one hundred percent compatible with each other.
But we have difficulty to understand it, because we invaded a 
kiddies Speccy - Scorpion'y, Pentagon'y, Profi, Leningrad'y and 
other options. I can not say that have tried everything, but 
twenty versions I went over and studied thoroughly. And as he 
studied the original version with the "plus" and without them. 

  Therefore, to inform you that on the firm
Speccy in one interrupt 224 * 312 = 69888
cycles, if we multiply 69,888 by 50, then
obtain 3494400 cycles per second. It turns out that quartz is 
not 3. 5 3. 494400MHz, and from We can conclude that each 
interrupt somewhere lost 112 ticks. Where same? Yes, anywhere, 
just the frame rate from 50 Hz, while 50.0801282051282051 Hz, 
that's all wisdom. However, the software method, we

can count only 69,868 cycles, since the 4-D beat signal INT 
exhibits interruption, and the 16-Tb cycles to execute

of the interruption. Interrupt can not
suspend execution of one command, so
Interrupt response will be after completion of the team.


   Shovels kids Speccy ...


  Looks like we just figured to separate
parts and turn them into sex hundreds of logic is
that bourgeois molded into a single chip. So
, the signal INT'a our options
Speccy turned into a bunch of resistors and
capacitors. Now beginning its length measured not in cycles and 
in microseconds. Therefore, only our Speccy, need for

confidence to model lot NOP'ov before exiting the interrupt. 
There are some instances, in which the interruption begins in 
the middle of the monitor, I have personally seen is in 
Leningrad'ah. Of course, I understand that have the following 
version of the monster, and there is removed. But I think that 
if electronics less cursed with encoders,

and encoders with electronics, who then together they
would have made a very good option
Speccy. So far, I have found only one Speccy, which is almost 
100% repeats firm Speccy, is Lions. 


  Inhibitory region of memory ...


  As it is not unfortunate, but firm Speccy slow, but not 
always. In this fact there are pros and, of course, downsides. 

  Very good plus, I've always
enjoyed until everything is obsessed with
Pentagon'ah, a team of HALT, which
performed in the decelerating region interrupts. Last cycle, 
performed in this team, always coincide with the last bar of 
the end of the sweep screen and the first tact in the new 
interrupt will be exactly on the line monitor in the first 
pixel. So it is possible do horizontal multicolor that

used bourgeois in their programs.
For example: Mask 3, or Dark Star or ... In general, there are 
still masterpieces in that regard, I'm sorry, I do not 
remember, long ago it was. By the way, its first multicolor I 
made back in 1992nd year on GENS'e somewhere still

lying on tape. It was Multicolor Scroll to the curb, as I 
remember, decided podlomat Khampton'a, and told him

that will draw something on the curb, so was born
Border-Scroll.


       Slowing down further ...


  If someone is faced with a brand Speccy, or his dear 
children, in which the same slow memory, you noticed that no

God forbid to leave the interrupt vector (I) in
range from 64 to 127 or (192 to 255,
provided that includes inhibitory page), and for all this to 
try something written to disk, then you are guaranteed

errors on the disc. Generally, the zero track zaportite, or 
rather burn any rubbish there. Here is a simple parsley, even 
if prohibited by interrupting the signal WAIT, is still 
installed, because the processor tries to read the value from 
the address of the interrupt vector, as he points to the 
braking area of ​​memory. In general, all waiting for each 
other. Well, while OUTI begins to occupy than 16 cycles and 
then 20, then 24, it all depends on what part of

OUTI gets signal INT'a. And if you try to execute the program 
in the decelerating memory area, so even with a vector in the 
braking area, then your team will be triple in tact. The most 
fun occurs when the processor himself puts WAIT, and can not 
assume command code. For example, start to transfer the entire 
memory LDIR'om on itself, and do it multiple times.


M1 LD HL, 0

        LD DE, 0

        LD BC, 256

        LDIR

        JMP M1


  Well, hang on interrupts the music and
executable LDIR toward retarding memory. Since the processor in 
one of those moments will expose himself waiting and finally or 
not fulfilled INT, or LDIR. By the way, slows it all only when 
something appears on the screen, or rather, our screen area. 
Therefore, if you will play its prog before starting to display 
Screen capable then no one will slow down. 


     But we are Coder'y ...


  Of course, it does not frighten us, we somehow place their 
prog where it will not slow down. That's why I always 
appreciated the Polish and Slovak programmers. Alone demo 
SHOCK, which is where every stroke vymeryan, where we have 
everything, but also that account is not possible. Of course, 
everyone chooses his own path, and many may not care that 
someone is not a Speccy, like yours. But it does not gloss over 
your program. 


      Let's try to finish ...


  That is to get small introduction
into this category. We look forward to your
letters and proposals. Maybe you want chtoto know, I will 
gladly share with you. If nothing changed, then in the next 
issue I will tell you about the secrets CPU Z-80. Believe me, 
there is a very unique things, and that the branded

description is called undocumented
teams are not undocumented.
Just someone did not want to share, and
I found out, they were military.

  And you, for example, know that the Z-80 is
Serial Interface? True, this function
processors integrate only Zilog, but
in any case it is unique.


    Meet me in the next issue ...





Other articles:

From the Editor - the new Ukrainian electronic journal called "3BiT".

From the Editor - eve: correspondence with the authors of the magazine correspondents.

From the Editor - Credits: The authors of the magazine.

Speccy news - news: Scl published newspaper Cossackos, the results of the Voronezh Festival KidSoft'2004, Sergey Bulba archive AY music, Alone Coder released Info Guide # 6 ...

Programming - a new fast and short PT3.x Player of the RSM.

Programming - Design source: the basic requirements for listing of the program focused on the general public.

Programming - the procedure to print the text fonts, 8x8, 6x8, 5x8, 4x8 pixels.

Programming - an overview of features and company models ottechestvennogo Spectrum of Rob F.

Programming - a collection of codes: Draw a window frame in the color processing of disk errors TR-DOS, a universal procedure Scroll'a screen.

Programming - Game Making: Mad Killer shares his experience creating games for the ZX Spectrum.

Programming - Non-standard use of the General Sound: Sound emulation coprocessor AY-3-8910.

Hacker Zone - "phreaking": Freestuff calls to payphones. Free calls to anywhere world.

Outlook - Dune for the Spectrum of Sosyura Igor.

Have an opinion - Mad Killer accuses of corruption Inforkom PC.

Desktop - JPEG / GIF laboratory 1.1: a program for viewing images in a format JPEG / GIF.

Desktop - General Sound AY Emulator v1.0

Desktop - an overview of tools to search for music files, Pro Tracker 3.X Mod Finder v1.2

Gambling - The archivist: a review of not very fresh but I wonder adventyury "Last adventure. "

Gambling - Wolf 2004: The world saw something that worked Alone Coder entire 8-NIL years!

Zhelezyachki - Something about the CMOS-clock: a modified scheme of Alone Coder'a.

Zhelezyachki - an overview of some modern controllers for use with external storage media for the ZX-Spectrum.

Veselukha - Life is simple sysadmin and sad and dreary if there no beer: sysadmin is dedicated.

Veselukha - a humorous story: I am a machine.

Veselukha - Computer jokes.

Another World - Radeon X700: an inexpensive base for gaming cards.

Miscellaneous - report of Rob F. with the Ukrainian hangouts SpeXtream'2004.

Miscellaneous - age: what do you want the software, especially games and how to make them well.

Miscellaneous - Competition from GROUPS P7S for Patriots Spectrum!

Miscellaneous - An Interview with DESALEX'om / XPJ.

Miscellaneous - an interview with the author of one of the most anticipated game projects, games, Dune: The Battle for Arakkis.

Miscellaneous - an interview with the author of acclaimed demos under the VIC-20 - Viznut / PWP.

Miscellaneous - an interview with the renowned British spektrumistom Gasman / Raww arse.

Miscellaneous - An Interview with Random'om taken on Construction Chaos 2004.

Miscellaneous - Advertisement - motor trade and not only.


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

Similar articles:
dead do not sweat - nonsense from Stalex'a.
Advertising - advertising and announcements from spektrumistov.
Z # 80 BUG - Error fixed a Z80 (the definition of the state of interrupts).
Gameland - the game Time Gal, the first CD-game for ZX!

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