[Coco] Ghana Bwana on my Coco3 not working but ok on Coco2

Robert Gault robert.gault at worldnet.att.net
Fri Jan 4 21:13:52 EST 2008


Bob Devries wrote:
> Robert:
> 
> There is something missing from the DSKI$ and DSKo$ commands... the 
> sector number!
> 
> It should read DSKI$ 0,34,X,A$,B$ where X is the sector number.
> 
> Can you enlighten us, mate?
> 
> -- 
> Regards, Bob Devries, Dalby, Queensland, Australia
> 
> Isaiah 50:4 The sovereign Lord has given me
> the capacity to be his spokesman,
> so that I know how to help the weary.
> 
> website: http://www.home.gil.com.au/~bdevasl
> my blog: http://bdevries.invigorated.org/
> 
> ----- Original Message ----- From: "John Donaldson" 
> <johnadonaldson at sbcglobal.net>
> To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
> Sent: Saturday, January 05, 2008 11:24 AM
> Subject: Re: [Coco] Ghana Bwana on my Coco3 not working but ok on Coco2
> 
> 
> DSKI$, DSKO$, and MID$ are Disk Basic commands. Thus you have to take
> the statements and make a Basic program out of them. Then run the Basic
> program.
> 
> 10 DSKI$ 0,34,A$,B$
> 20 MID$(A$,106,1)=CHR$(254)
> 30 MID$(A$,122,1)=CHR$(254)
> 40 DSKO$ 0,34,A$,B$
> 
> 
> 
> John Donaldson
> 
> Ghislain Harvey wrote:
> 
>> It really doesn't work when I try this on M.E.S.S and VCC. I know they 
>> are
>> programming command but it seem I cannot use them just like I would 
>> use the
>> DSKINI command or DIR. I'll try to find out how to use those command. 
>> Thanks
>> for the reply.
>> Ghislain
>>
>> -----Message d'origine-----
>> De : coco-bounces at maltedmedia.com 
>> [mailto:coco-bounces at maltedmedia.com] De
>> la part de Bob Devries
>> Envoyé : January-04-08 8:09 PM
>> À : CoCoList for Color Computer Enthusiasts
>> Objet : Re: [Coco] Ghana Bwana on my Coco3 not working but ok on Coco2
>>
>> Ghislain,
>>
>> You need to re-check that you have typed the commands correctly, 
>> EXACTLY as Robert has them.
>>
>> DSKI$ is a command in Disk Basic, and MID$ is in Extended Basic.
>>
>> -- 
>> Regards, Bob Devries, Dalby, Queensland, Australia
>>
>> Isaiah 50:4 The sovereign Lord has given me
>> the capacity to be his spokesman,
>> so that I know how to help the weary.
>>
>> website: http://www.home.gil.com.au/~bdevasl
>> my blog: http://bdevries.invigorated.org/
>>
>> ----- Original Message ----- From: "Ghislain Harvey" 
>> <ghislainharvey at videotron.ca>
>> To: "'CoCoList for Color Computer Enthusiasts'" <coco at maltedmedia.com>
>> Sent: Saturday, January 05, 2008 11:02 AM
>> Subject: Re: [Coco] Ghana Bwana on my Coco3 not working but ok on Coco2
>>
>>
>> Thanks again Robert for those very valuable info.
>> When you wrote dski$ do you mean dskini?
>> Because dski$ and MID$ are not real command. (give FC error)
>> Again sorry for my ignorance in coco programming.
>> Thanks.
>> Ghislain Harvey
>>
>> -----Message d'origine-----
>> De : coco-bounces at maltedmedia.com 
>> [mailto:coco-bounces at maltedmedia.com] De
>> la part de Robert Gault
>> Envoyé : January-04-08 7:52 PM
>> À : CoCoList for Color Computer Enthusiasts
>> Objet : Re: [Coco] Ghana Bwana on my Coco3 not working but ok on Coco2
>>
>> Ghislain Harvey wrote:
>>
>>
>>> Hi Robert.
>>> Excuse My ignorance but how do you change the two bytes o the game 
>>> disk At
>>> Track-34 Sector-4?
>>> Thank for your time and for the information
>>> Ghislain Harvey
>>>
>>>
>>
>> There are several ways but as the patch program shows, you can
>> DSKI$ 0,34,A$,B$
>> MID$(A$,106,1)=CHR$(254)
>> MID$(A$,122,1)=CHR$(254)
>> DSKO$ 0,34,A$,B$
>> This assumes the game is in drive #0, puts track34 sector4 into strings
>> A$ and B$, changes the 106th and 122nd bytes to $FE and then writes the
>> data back to T34S4.
>>
>>
>>
>> -- 
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>>
>> -- 
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>> -- 
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>>
>> -- 
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>>
> 
> 

Bob is correct I left out the sector value so both DSKI$ and DSKO$ 
should be 0,34,4,A$,B$



More information about the Coco mailing list