[Coco] Vcc - Drivewire4 How to??

coco at jechar.ca coco at jechar.ca
Fri Jul 6 16:50:07 EDT 2018


OK I see what messed me up. Yt was the font on my computer I saw 
Zero-Nine-Three-Eight
when what you actually typed was Dee-Nine-Three-Eight maybe time to get 
my eyes checked.

On 2018-07-06 16:17, Robert Gault wrote:
> coco at jechar.ca wrote:
>> 
>>   If addresses $D938-$D93A is where the offset is stored then why 
>> after setting the offset to
>>   when I type PRINT PEEK(2360) do I get zero and also get zero for
>>   PRINT PEEK(2361)  and  PRINT PEEK(2362)
>>   If I have done my Hex conversion right $0938=2360.
>>   It seems to me rather then get 0,0,0 I should be getting 5,160,0
>>   which is the decmal equivalent of 05,A0,00 hex.
>> 
>> 
> 
> 
> Well, $D938 = 55608 dec so that is why your PEEK can't work.
> 
> Also, you could use the following syntax where you don't need to
> convert between dec and hex. Just let Basic do it for you.
> 10 MN=&HD938: FOR M=MN TO MN+2 : PRINT HEX$( PEEK (MN));" ";:NEXT
> 
> Robert


More information about the Coco mailing list