[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Applesoft question
dempson@actrix.gen.nz (David Empson) writes:
>Robert J. Dull <rjd@alpha.sunquest.com> wrote:
>>
>> This is bugging me. I can not remember how to switch from 80 column
>> back to 40 from with an applesoft program.
>On which computer? Assuming you mean a IIe, IIc or IIgs, you can turn
>80-column mode on and off as follows:
>10 D$=CHR$(4)
>20 PRINT D$;"PR#3": REM 80-column mode ON
>30 REM whatever
>40 PRINT CHR$(21);: REM 80-column mode OFF
>50 END
Clarification:
But if you want to go to 40 cols with the 80 column firmware remaining active,
you can switch back and forth by writing DC2 for 40 cols and DC3 for 80 cols.
(I think, it's been a while).
>On the IIgs (and possibly the IIc - I haven't tried recently), you can
>also use PR#0.
Really? I don't seem to remember this working, although the manuals documented
that it does.
-Phil