[Coco] Programming help

billg999 at cs.uofs.edu billg999 at cs.uofs.edu
Tue Jun 25 10:25:24 EDT 2013


> Bill what magazine/number did you take it ? are you sure is not missing a
> second page ? sometimes they break the code putting an ad in the middle.

It's all there.  he just didn't include the whole program.  If this
is all he typed in, no wonder it doesn't work.

bill


>
>
> On Tue, Jun 25, 2013 at 9:13 AM, Bill <cwgordon at carolina.rr.com> wrote:
>
>> I’m trying to write an assembly language routine, and having what’s
>> probably
>> a very simple problem.
>>
>>
>>
>> The listing is as follows:
>>
>>
>>
>> 10          NAM   B256 ß This is the culprit. Nothing I do will make it
>> right.
>>
>> 70          ORG   $0EOO
>>
>> 80          ORCC #$50
>>
>> 90          LDX   #$8000
>>
>> 100         LDY   #$FFC0      *BANK 0
>>
>> 110   COPY  STB   $FFDE
>>
>> 120         LDB   O,Y
>>
>> 130         LDA   O,X
>>
>> 140         LDB   $08,Y *BANK 00/00
>>
>> 150         STB   $FFDF
>>
>>
>>
>> Everything else is fine, but I cannot get the first command correct. No
>> matter what I do, it comes up with a ‘BAD OPCODE’ error.
>>
>>
>>
>> Help??
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>
>
>
> --
> Long live the CoCo
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>





More information about the Coco mailing list