[Coco] help with drawing

XYZ xyz at wireweb.net
Sat Feb 19 13:11:33 EST 2005


I want to be in text mode draw some dice then have them show up at the right 
time on the hscreen2 I am also using hpaint to paint the dice before I use 
HGET

http://190161.898.net/     OR 
http://216.119.142.246/index.php?ResellerID=190161

MY ONLINE STORE CHECK IT OUT FOR GREAT BUYS
----- Original Message ----- 
From: "Robert Gault" <robert.gault at worldnet.att.net>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Saturday, February 19, 2005 11:58 AM
Subject: Re: [Coco] help with drawing


> It is possible but tricky. You need to be more specific about your 
> request. Do you want to be in a text mode and draw on the graphics screen 
> or be in graphics mode and draw off screen?
>
> The former can be done by telling Basic which hres graphics mode to use 
> but not issuing an HSCREEN command. You must also prevent HSCREEN from 
> clearing the graphics screen, POKE &HE6C6,&H21. Then for example you can:
> POKE&HE6C6,&H21:POKE&HE6,2:HCLS
> HLINE(0,0)-(319,191),PSET
> Then run the program:
> 10 HSCREEN2
> 20 GOTO20
> To see how it works.
>
> If you want a graphics on screen while drawing off screen, you will need 
> to write code in assembly. However, you may be able to pre draw all needed 
> graphics, save them to disk, and load them into memory when your program 
> runs. Again this will take a thorough knowledge of the Coco and some 
> assembly language.
>
> XYZ wrote:
>> I am looking for a way to draw in the background without seeing it then 
>> using the hget hput to put it on the screen
>> I am using a coco3 on the hscreen2 does any body know of a way to do this
>>
>>
>
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
> 





More information about the Coco mailing list