Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!austex!roadhog From: roadhog@austex (Lindsay Haisley) Newsgroups: comp.os.cpm Subject: Re: CP/M & MBASIC question Message-ID: <8ZRuV1w163w@austex> Date: 16 Jan 91 06:03:18 GMT References: <77348@unix.cis.pitt.edu> Organization: The Texas Feedlot Lines: 26 kwgst@unix.cis.pitt.edu (Filip Gieszczykiewicz) writes: > 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. The clear screen command for the Kaypro 10 is ^Z, aka 1b hex, aka CHR$(26) in Basic, I think. Any way you can send this to the screen will work. > 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! ;-) You have to change the JMP 0 to a RET (C9 hex). This will return program control to the CCP rather than to the BIOS warm boot. "Everything works if you let it!" --- Travis J. Redfish +++++++++++++++++++++++++++ uucp: austex!roadhog@emx.utexas.edu OR roadhog%austex.uucp@emx.utexas.edu BBS: (512) 259-1261 (Z-Node 77 - aka - Kaypro Club of Austin)