[Coco] technical assembler question

Phill Harvey-Smith afra at aurigae.demon.co.uk
Fri May 18 13:01:05 EDT 2007


Darren A. wrote:
>> From: Phill Harvey-Smith <afra at aurigae.demon.co.uk>
>> Subject: Re: [Coco] technical assembler question
>> Date: Fri, 18 May 2007 08:13:33 +0100
>> Remembering of course that if you want your code to also work on the 
>> Dragon, you'll need to compensate for the different keyboard matrix, 
>> calling POLCAT, I believe does this automatically.
> 
> In this case, the BREAK key happens to be in the only row of the matrix 
> that is the same for both the CoCo and Dragon.  That row also includes 
> ENTER, CLEAR and SHIFT.

Indeed :) if you are just checking for those keys ou can do the same op 
on both machines. Actually from what I remember from the Nitros keyboard 
driver, the  matrix is pretty easy to remap between the two machines, 
just a couple of mask outs, few shifts, and an or to re-combine.

Cheers.

Phill.

-- 
Phill Harvey-Smith, Programmer, Hardware hacker, and general eccentric !

"You can twist perceptions, but reality won't budge" -- Rush.



More information about the Coco mailing list