Graphics Kaypro10 - CP/M
This is a discussion on Graphics Kaypro10 - CP/M ; Hi , again kaypro!!
Is there a program form the Kaypro10 wich can handle in graphics.
I know it will be not so exclusive, but on my Grundy8200 (=Superbrain) it
will be possible to use graphics in example Basico3 (Dutch ...
-
Graphics Kaypro10
Hi , again kaypro!!
Is there a program form the Kaypro10 wich can handle in graphics.
I know it will be not so exclusive, but on my Grundy8200 (=Superbrain) it
will be possible to use graphics in example Basico3 (Dutch way of
programming in graphics).
So I think that it also will be possible with the kay10, only I do'nt know
how.
Vr. gr.
Jos
-
Re: Graphics Kaypro10
> Is there a program form the Kaypro10 wich can handle in graphics.
Below are simple graphics routines for the Kaypro 2 in Turbo Pascal.
They should be easy to translate into any programming language as they
are just terminal codes:
(* graphics routines, Kaypro specific *)
Procedure line(x, y, x2, y2 : integer);
begin
write(chr(27),'L',chr(y+31),chr(x+31),chr(y2+31),c hr(x2+31));
end;
Procedure xline(x, y, x2, y2 : integer);
begin
write(chr(27),'D',chr(y+31),chr(x+31),chr(y2+31),c hr(x2+31));
end;
Procedure plot(x,y : integer);
begin
write(chr(27),'*',chr(y+31),chr(x+31));
end;
Procedure xplot(x,y : integer);
begin
write(chr(27),' ',chr(y+31),chr(x+31));
end;
(* end graphics *)
Hope this helps!
Ron
oneelkruns@hotmail.com