jwt@atari.UUcp (Jim Tittsler) (07/02/86)
I have a Model 100 BASIC program that would benefit by being able to invoke the 100's text editor to edit a ".DO" file, and then return to my program when done. Ideally I would like to make a call with a pointer to a filename string, let the user edit that file, and then return when the user finishes the edit by pressing F8. Anyone know of a way to do this? Thanks for your email responses. Jim Tittsler {hoptoad,sun!portal,lll-crg!vecpyr}!atari!jwt
moore@mit-eddie.MIT.EDU (Andrew M. Moore) (07/04/86)
In article <386@atari.UUcp>, jwt@atari.UUcp (Jim Tittsler) writes: > I have a Model 100 BASIC program that would benefit by being able to > invoke the 100's text editor to edit a ".DO" file, and then return to > my program when done. Ideally I would like to make a call with a pointer > to a filename string, let the user edit that file, and then return when > the user finishes the edit by pressing F8. Anyone know of a way to > do this? Thanks for your email responses. The entry point for TEXT is 24046 (5DEEH). I know that it is possible to change the menu/exit key somehow to return to BASIC, but I am not sure how. Some programs (such as X-Tel) do this. To pass the filename to the editor, you can put the filename characters in the keyboard buffer (by POKing them to the appropriate locations). I'm not sure where the keyboard buffer is located offhand, but try one of the many list-of-pokes list that you find lying around CompuServe, etc. -drew arpa: MOORE%MIT-EECS@MIT-MC.ARPA uucp: ...mit-eddie!moore us: Box 121, North Quincy, MA 02171