diff --git a/app/src/main/assets/calculators/calypso2k.kml b/app/src/main/assets/calculators/calypso2k.kml new file mode 100644 index 0000000..0ea4a12 --- /dev/null +++ b/app/src/main/assets/calculators/calypso2k.kml @@ -0,0 +1,492 @@ +# Calypso +# Copyright 2019 Carl Reinke +# +# Licensed under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your option) +# any later version. + +Global + Title "HP 50g (Calypso 2K)" + Author "Carl Reinke" + Model "Q" + Class 50 + Rom "rom.49g" + Bitmap "calypso2k.png" + Color 0 0 0 0 + #Scale 3 9 + Debug 0 +End + +Background + Offset 0 0 + Size 1278 2106 +End + +Lcd + Zoom 9 + Offset 54 9 + # Foreground + Color 0 0 0 0 + Color 1 0 0 0 + Color 2 0 0 0 + Color 3 0 0 0 + Color 4 0 0 0 + Color 5 0 0 0 + Color 6 0 0 0 + Color 8 0 0 0 + Color 9 0 0 0 + Color 10 0 0 0 + Color 11 0 0 0 + Color 12 0 0 0 + Color 13 0 0 0 + Color 14 0 0 0 + Color 15 0 0 0 + Color 16 0 0 0 + Color 17 0 0 0 + Color 18 0 0 0 + Color 19 0 0 0 + Color 20 0 0 0 + Color 21 0 0 0 + Color 22 0 0 0 + Color 23 0 0 0 + Color 24 0 0 0 + Color 25 0 0 0 + Color 26 0 0 0 + Color 27 0 0 0 + Color 28 0 0 0 + Color 29 0 0 0 + Color 30 0 0 0 + Color 31 0 0 0 + # Background + Color 32 255 255 255 + Color 33 255 255 255 + Color 34 255 255 255 + Color 35 255 255 255 + Color 36 255 255 255 + Color 37 255 255 255 + Color 38 255 255 255 + Color 39 255 255 255 + Color 40 255 255 255 + Color 41 255 255 255 + Color 42 255 255 255 + Color 43 255 255 255 + Color 44 255 255 255 + Color 45 255 255 255 + Color 46 255 255 255 + Color 47 255 255 255 + Color 48 255 255 255 + Color 49 255 255 255 + Color 50 255 255 255 + Color 51 255 255 255 + Color 52 255 255 255 + Color 53 255 255 255 + Color 54 255 255 255 + Color 55 255 255 255 + Color 56 255 255 255 + Color 57 255 255 255 + Color 58 255 255 255 + Color 59 255 255 255 + Color 60 255 255 255 + Color 61 255 255 255 + Color 62 255 255 255 + Color 63 255 255 255 +End + +### Annunciators ############################################################### + +Annunciator 1 + Size 45 45 + Offset 0 9 + Down 1287 9 +End + +Annunciator 2 + Size 45 45 + Offset 0 54 + Down 1287 54 +End + +Annunciator 3 + Size 45 45 + Offset 0 99 + Down 1287 99 +End + +Annunciator 4 + Size 45 45 + Offset 0 144 + Down 1287 144 +End + +Annunciator 5 + Size 45 45 + Offset 0 189 + Down 1287 189 +End + +Annunciator 6 + Size 45 45 + Offset 0 234 + Down 1287 234 +End + +### Buttons #################################################################### + +Button 11 # A + Type 3 + Size 189 117 + Offset 54 738 + OutIn 5 1 +End + +Button 12 # B + Type 3 + Size 189 117 + Offset 252 738 + OutIn 5 2 +End + +Button 13 # C + Type 3 + Size 189 117 + Offset 450 738 + OutIn 5 4 +End + +Button 14 # D + Type 3 + Size 189 117 + Offset 648 738 + OutIn 5 8 +End + +Button 15 # E + Type 3 + Size 189 117 + Offset 846 738 + OutIn 5 16 +End + +Button 16 # F + Type 3 + Size 189 117 + Offset 1044 738 + OutIn 5 32 +End + +Button 21 # G + Type 3 + Size 189 117 + Offset 54 864 + OutIn 5 128 +End + +Button 22 # H + Type 3 + Size 189 117 + Offset 252 864 + OutIn 4 128 +End + +Button 23 # I + Type 3 + Size 189 117 + Offset 450 864 + OutIn 3 128 +End + +Button 31 # J + Type 3 + Size 189 117 + Offset 54 990 + OutIn 2 128 +End + +Button 32 # K + Type 3 + Size 189 117 + Offset 252 990 + OutIn 1 128 +End + +Button 33 # L + Type 3 + Size 189 117 + Offset 450 990 + OutIn 0 128 +End + +Button 41 # M + Type 3 + Size 234 117 + Offset 54 1116 + OutIn 4 64 +End + +Button 42 # N + Type 3 + Size 225 117 + Offset 297 1116 + OutIn 3 64 +End + +Button 43 # O + Type 3 + Size 225 117 + Offset 531 1116 + OutIn 2 64 +End + +Button 44 # P + Type 3 + Size 225 117 + Offset 765 1116 + OutIn 1 64 +End + +Button 45 # Backspace + Type 3 + Size 234 117 + Offset 999 1116 + OutIn 0 64 +End + +Button 51 # Q + Type 3 + Size 234 117 + Offset 54 1242 + OutIn 4 32 +End + +Button 52 # R + Type 3 + Size 225 117 + Offset 297 1242 + OutIn 3 32 +End + +Button 53 # S + Type 3 + Size 225 117 + Offset 531 1242 + OutIn 2 32 +End + +Button 54 # T + Type 3 + Size 225 117 + Offset 765 1242 + OutIn 1 32 +End + +Button 55 # U + Type 3 + Size 234 117 + Offset 999 1242 + OutIn 0 32 +End + +Button 61 # V + Type 3 + Size 234 117 + Offset 54 1368 + OutIn 4 16 +End + +Button 62 # W + Type 3 + Size 225 117 + Offset 297 1368 + OutIn 3 16 +End + +Button 63 # X + Type 3 + Size 225 117 + Offset 531 1368 + OutIn 2 16 +End + +Button 64 # Y + Type 3 + Size 225 117 + Offset 765 1368 + OutIn 1 16 +End + +Button 65 # Z + Type 3 + Size 234 117 + Offset 999 1368 + OutIn 0 16 +End + +Button 71 # Alpha + Type 3 + Size 234 144 + Offset 54 1494 + OutIn 7 8 +End + +Button 72 # 7 + Type 3 + Size 225 144 + Offset 297 1494 + OutIn 3 8 +End + +Button 73 # 8 + Type 3 + Size 225 144 + Offset 531 1494 + OutIn 2 8 +End + +Button 74 # 9 + Type 3 + Size 225 144 + Offset 765 1494 + OutIn 1 8 +End + +Button 75 # Multiply + Type 3 + Size 234 144 + Offset 999 1494 + OutIn 0 8 +End + +Button 81 # LShift + Type 3 + Size 234 144 + Offset 54 1647 + OutIn 7 4 +End + +Button 82 # 4 + Type 3 + Size 225 144 + Offset 297 1647 + OutIn 3 4 +End + +Button 83 # 5 + Type 3 + Size 225 144 + Offset 531 1647 + OutIn 2 4 +End + +Button 84 # 6 + Type 3 + Size 225 144 + Offset 765 1647 + OutIn 1 4 +End + +Button 85 # Subtract + Type 3 + Size 234 144 + Offset 999 1647 + OutIn 0 4 +End + +Button 91 # RShift + Type 3 + Size 234 144 + Offset 54 1800 + OutIn 7 2 +End + +Button 92 # 1 + Type 3 + Size 225 144 + Offset 297 1800 + OutIn 3 2 +End + +Button 93 # 2 + Type 3 + Size 225 144 + Offset 531 1800 + OutIn 2 2 +End + +Button 94 # 3 + Type 3 + Size 225 144 + Offset 765 1800 + OutIn 1 2 +End + +Button 95 # Add + Type 3 + Size 234 144 + Offset 999 1800 + OutIn 0 2 +End + +Button 101 # On + Type 3 + Size 234 144 + Offset 54 1953 + OutIn 0 32768 +End + +Button 102 # 0 + Type 3 + Size 225 144 + Offset 297 1953 + OutIn 3 1 +End + +Button 103 # Dot + Type 3 + Size 225 144 + Offset 531 1953 + OutIn 2 1 +End + +Button 104 # Space + Type 3 + Size 225 144 + Offset 765 1953 + OutIn 1 1 +End + +Button 105 # Enter + Type 3 + Size 234 144 + Offset 999 1953 + OutIn 0 1 +End + +Button 110 # Right + Type 3 + Size 189 117 + Offset 1044 927 + OutIn 6 1 +End + +Button 111 # Down + Type 3 + Size 189 117 + Offset 846 990 + OutIn 6 2 +End + +Button 112 # Left + Type 3 + Size 189 117 + Offset 648 927 + OutIn 6 4 +End + +Button 113 # Up + Type 3 + Size 189 117 + Offset 846 864 + OutIn 6 8 +End + +Include "keyb4950.kmi" diff --git a/app/src/main/assets/calculators/calypso2k.png b/app/src/main/assets/calculators/calypso2k.png new file mode 100644 index 0000000..eed18fd Binary files /dev/null and b/app/src/main/assets/calculators/calypso2k.png differ diff --git a/app/src/main/assets/calculators/calypso4k.kml b/app/src/main/assets/calculators/calypso4k.kml new file mode 100644 index 0000000..3318b6d --- /dev/null +++ b/app/src/main/assets/calculators/calypso4k.kml @@ -0,0 +1,492 @@ +# Calypso +# Copyright 2019 Carl Reinke +# +# Licensed under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your option) +# any later version. + +Global + Title "HP 50g (Calypso 4K)" + Author "Carl Reinke" + Model "Q" + Class 50 + Rom "rom.49g" + Bitmap "calypso4k.png" + Color 0 0 0 0 + #Scale 3 18 + Debug 0 +End + +Background + Offset 0 0 + Size 2556 4212 +End + +Lcd + Zoom 18 + Offset 108 18 + # Foreground + Color 0 0 0 0 + Color 1 0 0 0 + Color 2 0 0 0 + Color 3 0 0 0 + Color 4 0 0 0 + Color 5 0 0 0 + Color 6 0 0 0 + Color 8 0 0 0 + Color 9 0 0 0 + Color 10 0 0 0 + Color 11 0 0 0 + Color 12 0 0 0 + Color 13 0 0 0 + Color 14 0 0 0 + Color 15 0 0 0 + Color 16 0 0 0 + Color 17 0 0 0 + Color 18 0 0 0 + Color 19 0 0 0 + Color 20 0 0 0 + Color 21 0 0 0 + Color 22 0 0 0 + Color 23 0 0 0 + Color 24 0 0 0 + Color 25 0 0 0 + Color 26 0 0 0 + Color 27 0 0 0 + Color 28 0 0 0 + Color 29 0 0 0 + Color 30 0 0 0 + Color 31 0 0 0 + # Background + Color 32 255 255 255 + Color 33 255 255 255 + Color 34 255 255 255 + Color 35 255 255 255 + Color 36 255 255 255 + Color 37 255 255 255 + Color 38 255 255 255 + Color 39 255 255 255 + Color 40 255 255 255 + Color 41 255 255 255 + Color 42 255 255 255 + Color 43 255 255 255 + Color 44 255 255 255 + Color 45 255 255 255 + Color 46 255 255 255 + Color 47 255 255 255 + Color 48 255 255 255 + Color 49 255 255 255 + Color 50 255 255 255 + Color 51 255 255 255 + Color 52 255 255 255 + Color 53 255 255 255 + Color 54 255 255 255 + Color 55 255 255 255 + Color 56 255 255 255 + Color 57 255 255 255 + Color 58 255 255 255 + Color 59 255 255 255 + Color 60 255 255 255 + Color 61 255 255 255 + Color 62 255 255 255 + Color 63 255 255 255 +End + +### Annunciators ############################################################### + +Annunciator 1 + Size 90 90 + Offset 0 18 + Down 2574 18 +End + +Annunciator 2 + Size 90 90 + Offset 0 108 + Down 2574 108 +End + +Annunciator 3 + Size 90 90 + Offset 0 198 + Down 2574 198 +End + +Annunciator 4 + Size 90 90 + Offset 0 288 + Down 2574 288 +End + +Annunciator 5 + Size 90 90 + Offset 0 378 + Down 2574 378 +End + +Annunciator 6 + Size 90 90 + Offset 0 468 + Down 2574 468 +End + +### Buttons #################################################################### + +Button 11 # A + Type 3 + Size 378 234 + Offset 108 1476 + OutIn 5 1 +End + +Button 12 # B + Type 3 + Size 378 234 + Offset 504 1476 + OutIn 5 2 +End + +Button 13 # C + Type 3 + Size 378 234 + Offset 900 1476 + OutIn 5 4 +End + +Button 14 # D + Type 3 + Size 378 234 + Offset 1296 1476 + OutIn 5 8 +End + +Button 15 # E + Type 3 + Size 378 234 + Offset 1692 1476 + OutIn 5 16 +End + +Button 16 # F + Type 3 + Size 378 234 + Offset 2088 1476 + OutIn 5 32 +End + +Button 21 # G + Type 3 + Size 378 234 + Offset 108 1728 + OutIn 5 128 +End + +Button 22 # H + Type 3 + Size 378 234 + Offset 504 1728 + OutIn 4 128 +End + +Button 23 # I + Type 3 + Size 378 234 + Offset 900 1728 + OutIn 3 128 +End + +Button 31 # J + Type 3 + Size 378 234 + Offset 108 1980 + OutIn 2 128 +End + +Button 32 # K + Type 3 + Size 378 234 + Offset 504 1980 + OutIn 1 128 +End + +Button 33 # L + Type 3 + Size 378 234 + Offset 900 1980 + OutIn 0 128 +End + +Button 41 # M + Type 3 + Size 468 234 + Offset 108 2232 + OutIn 4 64 +End + +Button 42 # N + Type 3 + Size 450 234 + Offset 594 2232 + OutIn 3 64 +End + +Button 43 # O + Type 3 + Size 450 234 + Offset 1062 2232 + OutIn 2 64 +End + +Button 44 # P + Type 3 + Size 450 234 + Offset 1530 2232 + OutIn 1 64 +End + +Button 45 # Backspace + Type 3 + Size 468 234 + Offset 1998 2232 + OutIn 0 64 +End + +Button 51 # Q + Type 3 + Size 468 234 + Offset 108 2484 + OutIn 4 32 +End + +Button 52 # R + Type 3 + Size 450 234 + Offset 594 2484 + OutIn 3 32 +End + +Button 53 # S + Type 3 + Size 450 234 + Offset 1062 2484 + OutIn 2 32 +End + +Button 54 # T + Type 3 + Size 450 234 + Offset 1530 2484 + OutIn 1 32 +End + +Button 55 # U + Type 3 + Size 468 234 + Offset 1998 2484 + OutIn 0 32 +End + +Button 61 # V + Type 3 + Size 468 234 + Offset 108 2736 + OutIn 4 16 +End + +Button 62 # W + Type 3 + Size 450 234 + Offset 594 2736 + OutIn 3 16 +End + +Button 63 # X + Type 3 + Size 450 234 + Offset 1062 2736 + OutIn 2 16 +End + +Button 64 # Y + Type 3 + Size 450 234 + Offset 1530 2736 + OutIn 1 16 +End + +Button 65 # Z + Type 3 + Size 468 234 + Offset 1998 2736 + OutIn 0 16 +End + +Button 71 # Alpha + Type 3 + Size 468 288 + Offset 108 2988 + OutIn 7 8 +End + +Button 72 # 7 + Type 3 + Size 450 288 + Offset 594 2988 + OutIn 3 8 +End + +Button 73 # 8 + Type 3 + Size 450 288 + Offset 1062 2988 + OutIn 2 8 +End + +Button 74 # 9 + Type 3 + Size 450 288 + Offset 1530 2988 + OutIn 1 8 +End + +Button 75 # Multiply + Type 3 + Size 468 288 + Offset 1998 2988 + OutIn 0 8 +End + +Button 81 # LShift + Type 3 + Size 468 288 + Offset 108 3294 + OutIn 7 4 +End + +Button 82 # 4 + Type 3 + Size 450 288 + Offset 594 3294 + OutIn 3 4 +End + +Button 83 # 5 + Type 3 + Size 450 288 + Offset 1062 3294 + OutIn 2 4 +End + +Button 84 # 6 + Type 3 + Size 450 288 + Offset 1530 3294 + OutIn 1 4 +End + +Button 85 # Subtract + Type 3 + Size 468 288 + Offset 1998 3294 + OutIn 0 4 +End + +Button 91 # RShift + Type 3 + Size 468 288 + Offset 108 3600 + OutIn 7 2 +End + +Button 92 # 1 + Type 3 + Size 450 288 + Offset 594 3600 + OutIn 3 2 +End + +Button 93 # 2 + Type 3 + Size 450 288 + Offset 1062 3600 + OutIn 2 2 +End + +Button 94 # 3 + Type 3 + Size 450 288 + Offset 1530 3600 + OutIn 1 2 +End + +Button 95 # Add + Type 3 + Size 468 288 + Offset 1998 3600 + OutIn 0 2 +End + +Button 101 # On + Type 3 + Size 468 288 + Offset 108 3906 + OutIn 0 32768 +End + +Button 102 # 0 + Type 3 + Size 450 288 + Offset 594 3906 + OutIn 3 1 +End + +Button 103 # Dot + Type 3 + Size 450 288 + Offset 1062 3906 + OutIn 2 1 +End + +Button 104 # Space + Type 3 + Size 450 288 + Offset 1530 3906 + OutIn 1 1 +End + +Button 105 # Enter + Type 3 + Size 468 288 + Offset 1998 3906 + OutIn 0 1 +End + +Button 110 # Right + Type 3 + Size 378 234 + Offset 2088 1854 + OutIn 6 1 +End + +Button 111 # Down + Type 3 + Size 378 234 + Offset 1692 1980 + OutIn 6 2 +End + +Button 112 # Left + Type 3 + Size 378 234 + Offset 1296 1854 + OutIn 6 4 +End + +Button 113 # Up + Type 3 + Size 378 234 + Offset 1692 1728 + OutIn 6 8 +End + +Include "keyb4950.kmi" diff --git a/app/src/main/assets/calculators/calypso4k.png b/app/src/main/assets/calculators/calypso4k.png new file mode 100644 index 0000000..0adda4c Binary files /dev/null and b/app/src/main/assets/calculators/calypso4k.png differ