On Tue, 6 Jan 1998, Randy Simons wrote:

> There was another way to protect your basic program. I've 2 programs for the
> Sony/Toshiba plotter which are in .BIN format. You have to load them with
> bload"file",r It turns out to be simple too: just a binary dump of the basic
> program plus a little peace of machine-code that poked RUN in the
> keyboardbuffer. When you reset the computer and type
> poke32770,128:poke32769,1 you can get the original listing. But you first
> have to "erase" the first line-number. The complete trick:
> 
> poke32770,128:poke32769,1
> Ok
> list
> 10 cls
> 10 cls
> 10 cls
> 10 cls
> [ctrl-break]
> Ok
> 10 [return]
> list
> 10 cls
> 20 print "It works!"
> 30 blah blah...
> Ok
> 
> This little trick is very useful when programming in XBASIC (Or Nestor
> perhaps :-) since XBASIC can let your system hang easily.
> 
> Here's another trick the used to work quite well, even in ML-programs:
> poke&hfbb0,1
> After that, you can press ctrl-shift-graph-code (if I remeber correctly..)
> and you'll fall back into the basic prompt. But when you do this and you
> don't see anything,

If you press this combination not too long time, then it will automaticly
return to screen 0, else it will also break that return to text mode
routine.

> just type screen 0[enter] to bring you back to
> text-mode.
> Perhaps if you use the DOS2 and MSX2+ KANJI mode you don't have to do
> this...

Well, in japanese computers you have to use KANA-LOCK key instead of CODE,
because japanese computers do not have CODE key. If you can't see
anything, and screen 0 seems not to work, then check, that KANA-LOCK in
off.

> 
> Greets,
> 
> Randy
> 
> 
> ****
> MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
> in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
> quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
> ****
> 

****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****


Reply via email to