[Coco] Dragon snapshost first package

Luis Antoniosi (CoCoDemus) retrocanada76 at gmail.com
Sat Sep 7 19:16:19 EDT 2013


Ciaran,

Do you have any handy routine to convert the FF00 PIA ROW from coco to
dragon ? I just need this to finish my patching.
I have one inside the os-9 but that one converts from Dragon to Coco, I
need the opposite way:

converts A from dragon32 to coco:

         pshs  b
         sta   ,-s        ; Save on stack
         tfr   a,b        ; Take a copy of keycode
         anda  #%01000000 ; Top row same on both machines
         andb  #%00000011 ; shift bottom 2 rows up 4 places
         lslb
         lslb
         lslb
         lslb
         pshs  b
         ora   ,s+        ; recombine rows
         puls  b
         andb  #%00111100 ; Shift middle 4 rows down 2 places
         lsrb
         lsrb
         pshs  b
         ora   ,s+        ; recombine rows
         puls  b
         rts



On Fri, Sep 6, 2013 at 12:12 PM, Ciaran Anscomb <cocomalt at 6809.org.uk>wrote:

> "Luis Antoniosi (CoCoDemus)" wrote:
> >
> > BTW, a little guide if you feel lost with the garbled keyboard:
> > [...]
> >
> > I hope someone else could provide a better table. I'm too tired for now.
>
> >From http://www.grempc.demon.co.uk/dragon/info/memmap.html:
>
>   PA6    i/p    Keyboard Matrix   Ent Clr Brk N/c N/c N/c N/c Shift
>
>   PA5    i/p    Keyboard Matrix   X   Y   Z   Up  Dwn Lft Rgt Space
>          i/p    CoCo - Keyboard   8   9   :   ;   ,   -   .   /
>
>   PA4    i/p    Keyboard Matrix   P   Q   R   S   T   U   V   W
>          i/p    CoCo - Keyboard   0   1   2   3   4   5   6   7
>
>   PA3    i/p    Keyboard Matrix   H   I   J   K   L   M   N   O
>          i/p    CoCo - Keyboard   X   Y   Z   Up  Dwn Lft Rgt Space
>
>   PA2    i/p    Keyboard Matrix   @   A   B   C   D   E   F   G
>          i/p    CoCo - Keyboard   P   Q   R   S   T   U   V   W
>
>   PA1    i/p    Keyboard Matrix   8   9   :   ;   ,   -   .   /
>          i/p    CoCo - Keyboard   H   I   J   K   L   M   N   O
>
>   PA0    i/p    Keyboard Matrix   0   1   2   3   4   5   6   7
>          i/p    CoCo - Keyboard   @   A   B   C   D   E   F   G
>
> CoCo 3's extra keys will pad out those n/c entries.
>
> ..ciaran
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>



-- 
Long live the CoCo



More information about the Coco mailing list