<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 10 Jan 1991 10:26:50 GMT
From   : usc!samsung!sol.ctr.columbia.edu!cica!news.cs.indiana.edu!bsu-cs!bsu-ucs!00prneubauer@ucsd.edu (Paul Neubauer)
Subject: CP/M & MBASIC question

In article <77348@unix.cis.pitt.edu>, (Filip Gieszczykiewicz) writes:
>   Greetings I have a Kaypro 10 and am starting to experiment
>   with CP/M. (My first z80 machine)
> 
>   I have several questions:
> 
>   1) Is there a command in Miscrosoft BASIC (M-80) that will
>   clear the screen and home the cursor? I have all docs but they
>   say nothing.

No, there is no such command in MBASIC to do that.  The  reason is that
most CP/M computer manufacturers failed to get together on ways to do
obvious things like screen handling, so they are (nearly) all different. 

>   2) I have a simple CLS.COM program that is about 15 bytes long
>   that clears the screen. Now, I DUMPed it and converted the
>   hex to decimal and poked those values from within BASIC.
>   When I CALL it, it clears the screen and does a "Warm Boot"
>   [bummer]. Anyways, I got rid of the JMP 0000h (for the
>   warm boot) but now in hangs. [bummer^2] Arghh... Good lord,
>   even my Apple ][+ has a HOME command! ;-)

Yes, that is certainly a bummer all right.  The easy thing to do with a
Kaypro is simply:

       PRINT CHR$(26);

All Kaypros that I know of treat a control-z sent to the screen as
meaning clear the screen and home the cursor.

>   I also don't have a text editor (WS died) so I wrote my own
>   in basic.... can't use the "," with INPUT... it gives a
>   "Redo from start" (or something similar).

I like VDE as a text editor.  It is fast and relatively stable. 
Different people will have different preferences, but for an "in-memory"
text editor, I find VDE to be about the fastest and least buggy one
around.  It works well on Kaypros.  Its only problem shows up when you
need to edit a file larger than about 35KB.  Then you need the virtual
memory functionality of something like WS or Perfect Writer (an attempt
at an EMACS clone).

There is probably someone there in Pittsburgh (I assume from your
address) who can supply you with numerous PD programs, including
editors.  If not, send me email and I may be able to help.

=======
Paul Neubauer  neubauer@bsu-cs.bsu.edu         00prneubauer@bsu-ucs.bsu.edu
                neubauer@bsu-cs.UUCP            00prneubauer@bsu-ucs.UUCP
                                                00PRNEUBAUER@BSUVAX1.BITNET

<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>