[Coco] Printing from Disk Extended Color Basic (via Drivewire)

Arthur Flexser flexser at fiu.edu
Fri Dec 23 13:53:07 EST 2016


On Fri, Dec 23, 2016 at 8:46 AM, Robert Gault <robert.gault at att.net> wrote:

> Arthur Flexser wrote:
>
>> Robert, it is true that Basic resets the value in $6F to zero when screen
>> output (like printing OK) is required.  But I'm reasonably sure (though
>> it's been a long time) that if you include the DIR command on the same
>> line
>> as a poke to $6F, the value will remain throughout the execution of the
>> DIR.
>>
>> In fact, you could extend the command with POKE&H6F,&HFE:DIR:PRINT
>> FREE(0);" Free grans" to cause the amount of free space left on the disk
>> to
>> print out below the directory.
>>
>> Art
>>
>>
> I tried that with my original ml code and it did not work as the Coco
> froze per the OP's email. It failed for LLIST and also PRINT #-2. It did
> work with VCC using its own printer routines and probably would work with a
> Coco and attached printer.
>
>
> Robert
>

Perhaps it would work if you poked the printer routine to knock out the
check for whether the printer is ready that is done before each character
is printed?  Or, are you bypassing the original print routine entirely?

Art


More information about the Coco mailing list