PROFI CP / M
Hello, people. Here I am, (LD SOFT) decided to write about
"PROFI CP / M ". You just might ask:" Why is it necessary? ".
I will answer you. Under CP / M no one wants to write, because
they think it is very fancy, difficult, and unnecessary system.
But this not so. There, in the CP / M'e one screen which is (we
are talking about ONLY PROFI'fskom CP / M). I'll tell you about
the characteristics of this machine and you will see what can
be done. Today I will tell you about the screen.
1.Ekran
-------- Resolution.
------------ Resolution 512 X 240 pixels.
Color resolution: each byte can be colored with two
color: INK and PAPER to different for INK'a PAPER'a and
brightness.
Device screen.
------------------- Advanced screen is arranged as follows:
He is almost two SPECTRUM screen, but they
some countries are:
with the address 49152 is the first screen,
but with the address 57344 is the second screen.
All in all it looks like this:
And so on up
64 familiarity
30 familiarity
- The first screen;
- The second screen;
Occupies the screen all the 16K segment (memory page).
Consequently, half is 8Kb.
Segment attributes arranged in the same way, only instead of
points fit attribute byte.
Assigning bits attribute byte:
Bits 0-2 set the color of the INK
5.3 bits determine color PAPER
bit 6 if 1, then increases the brightness of the color INK
Bit 7, if 1, then increases the brightness of colors PAPER
Incidentally, I first thought that with such a screen to work
very difficult, but experience has shown that there is not much
work more difficult than with SPECTRUM'ovskim. But more on that
in the following articles.
Still, if you have v5.00 and above board and there (unless of
course you is set) is a palette of 16 out of 256 colors. Below
program using this palette.
CALL M2
LD D, 16
LD E, 15
LD C, 126
LD B, 0
LD HL, TABL
LD A, E
HALT
OUT (C), A
M1 LD A, (HL)
CP L
LD B, A
DEC E
INC HL
LD A, E
AND 15
OUT (C), A
DEC D
JR NZ, M1
CALL M3
LD A, 7
OUT (254), A
RET
M2 DI
LD HL, (57)
LD (M4 +1), HL
LD HL, M5
LD (1957), HL
EI
RET
M3 DI
M4 LD HL, 0
LD (1957), HL
EI
RET
M5 DI
RET I
DATA DEFB B1, B2, B3 ,..., B16; 0 <= Bn <= 255
The numbers Bn set palette. Total numbers of 16 (color).
So that now I have everything I wanted to tell you today
described and may be subject screen, I will continue in the next
release of ONLINE, but for now I bid you farewell and hope that
something from what I nabredil come in handy!
PSGlyuk sync on the board v5.0 * ispralen!
LD SOFT (Dennis)
(095) 966 3610