diff --git a/app/src/main/assets/calculators/modern50g.kmi b/app/src/main/assets/calculators/modern50g.kmi new file mode 100644 index 0000000..0352c55 --- /dev/null +++ b/app/src/main/assets/calculators/modern50g.kmi @@ -0,0 +1,305 @@ +Scancode 112 # F1 + Map 112 11 # A +End + +Scancode 113 # F2 + Map 113 12 # A +End + +Scancode 114 # F3 + Map 114 13 # A +End + +Scancode 115 # F4 + Map 115 14 # A +End + +Scancode 116 # F5 + Map 116 15 # A +End + +Scancode 117 # F6 + Map 117 16 # F +End + +Scancode 65 # A + Map 65 11 # A +End + +Scancode 66 # B + Map 66 12 # B +End + +Scancode 67 # C + Map 67 13 # C +End + +Scancode 68 # D + Map 68 14 # D +End + +Scancode 69 # E + Map 69 15 # E +End + +Scancode 70 # F + Map 70 16 # F +End + +Scancode 71 # G + Map 71 21 # G +End + +Scancode 72 # H + Map 72 22 # H +End + +Scancode 73 # I + Map 73 23 # I +End + +Scancode 37 # LEFT + Map 37 24 # LEFT +End + +Scancode 39 # RIGHT + Map 39 25 # RIGHT +End + +Scancode 74 # J + Map 74 31 # J +End + +Scancode 75 # K + Map 75 32 # K +End + +Scancode 76 # L + Map 76 33 # L +End + +Scancode 40 # DOWN + Map 40 34 # DOWN +End + +Scancode 38 # DOWN + Map 38 35 # DOWN +End + +Scancode 77 # M + Map 77 41 # M +End + +Scancode 78 # N + Map 78 42 # N +End + +Scancode 79 # O + Map 79 43 # O +End + +Scancode 222 # ' + Map 222 43 # O +End + +Scancode 80 # P + Map 80 44 # P +End + +Scancode 8 # BACKSPACE + Map 8 45 # DELETE +End + +Scancode 81 # Q + Map 81 51 # Q +End + +Scancode 82 # R + Map 82 52 # R +End + +Scancode 83 # S + Map 83 53 # S +End + +Scancode 84 # T + Map 84 54 # T +End + +Scancode 85 # U + Map 85 55 # U +End + +Scancode 86 # V + Map 86 61 # V +End + +Scancode 87 # W + Map 87 62 # W +End + +Scancode 88 # X + Map 88 63 # X +End + +Scancode 89 # Y + Map 89 64 # Y +End + +Scancode 90 # Z + Map 90 65 # Z +End + +Scancode 191 # SLASH + Map 191 65 # Z +End + +Scancode 111 # NUM-SLASH + Map 111 65 # Z +End + +Scancode 9 # TAB + Map 9 71 # ALPHA +End + +Scancode 55 # 7 + Map 55 72 # 7 +End + +Scancode 103 # NUM7 + Map 103 72 # 7 +End + +Scancode 56 # 8 + Map 56 73 # 8 +End + +Scancode 104 # NUM8 + Map 104 73 # 8 +End + +Scancode 57 # 9 + Map 57 74 # 9 +End + +Scancode 105 # NUM9 + Map 105 74 # 9 +End + +Scancode 192 # BACKTICK + Map 192 75 # * +End + +Scancode 106 # NUM* + Map 106 75 # * +End + +Scancode 16 # LSHIFT + Map 16 81 # LEFT-SHIFT +End + +Scancode 52 # 4 + Map 52 82 # 4 +End + +Scancode 100 # NUM4 + Map 100 82 # 4 +End + +Scancode 53 # 5 + Map 53 83 # 5 +End + +Scancode 101 # NUM5 + Map 101 83 # 5 +End + +Scancode 54 # 6 + Map 54 84 # 6 +End + +Scancode 102 # NUM6 + Map 102 84 # 6 +End + +Scancode 189 # MINUS + Map 189 85 # MINUS +End + +Scancode 109 # NUM-MINUS + Map 109 85 # MINUS +End + +Scancode 17 # CTRL + Map 17 91 # RIGHT-SHIFT +End + +Scancode 49 # 1 + Map 49 92 # 1 +End + +Scancode 97 # NUM1 + Map 97 92 # 1 +End + +Scancode 50 # 2 + Map 50 93 # 2 +End + +Scancode 98 # NUM2 + Map 98 93 # 2 +End + +Scancode 51 # 3 + Map 51 94 # 3 +End + +Scancode 99 # NUM3 + Map 99 94 # 3 +End + +Scancode 187 # PLUS + Map 187 95 # PLUS +End + +Scancode 107 # NUM-PLUS + Map 107 95 # PLUS +End + +Scancode 27 # ESC + Map 27 101 # ON +End + +Scancode 48 # 0 + Map 48 102 # ON +End + +Scancode 96 # NUM0 + Map 96 102 # ON +End + +Scancode 190 # . + Map 190 103 # DECIMAL-POINT +End + +Scancode 110 # NUM-POINT + Map 110 103 # DECIMAL-POINT +End + +Scancode 32 # SPACE + Map 32 104 # SPC +End + +Scancode 188 # COMMA + IfPressed 188 # COMMA + Press 91 # RIGHT-SHIFT + Release 91 # RIGHT-SHIFT + Else # COMMA + Press 104 # SPC (RIGHT-SHIFT COMMA) + Release 104 # SPC (RIGHT-SHIFT COMMA) + End +End + +Scancode 13 # ENTER + Map 13 105 # ENTER +End \ No newline at end of file diff --git a/app/src/main/assets/calculators/modern50g169.kml b/app/src/main/assets/calculators/modern50g169.kml new file mode 100644 index 0000000..1a17f67 --- /dev/null +++ b/app/src/main/assets/calculators/modern50g169.kml @@ -0,0 +1,568 @@ +# "Modern" +# 2024 github.com/esesur + +Global + Title "Modern 50g (16:9)" + Author "esesur" + # Hardware "Yorke" + Model "Q" + Class 50 + Rom "rom.49g" + # Patch STRING + Bitmap "modern50g169.png" + # Icon STRING + # Color INTEGER INTEGER INTEGER INTEGER + # Scale 1 2 + # Print STRING + Debug 0 +End + +Background + # Vga INTEGER + # Topbar INTEGER + # Menubar INTEGER + Offset 0 0 + Size 532 956 +End + +Lcd + Zoom 4 + # Zoomxy 4 4 + # Vertical INTEGER + Offset 4 28 + # Bitmap STRING + + # 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 7 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 + +Annunciator 1 + Size 20 20 + Offset 388 4 + Down 532 4 +End + +Annunciator 2 + Size 20 20 + Offset 412 4 + Down 532 28 +End + +Annunciator 3 + Size 20 20 + Offset 436 4 + Down 532 52 +End + +Annunciator 4 + Size 20 20 + Offset 460 4 + Down 532 76 +End + +Annunciator 5 + Size 20 20 + Offset 484 4 + Down 532 100 +End + +Annunciator 6 + Size 20 20 + Offset 508 4 + Down 532 124 +End + +############################################################################### + +Button 11 # A + Type 0 + Size 84 56 + Offset 4 356 + Down 532 356 + OutIn 5 1 +End + +Button 12 # B + Type 0 + Size 84 56 + Offset 92 356 + Down 620 356 + OutIn 5 2 +End + +Button 13 # C + Type 0 + Size 84 56 + Offset 180 356 + Down 708 356 + OutIn 5 4 +End + +Button 14 # D + Type 0 + Size 84 56 + Offset 268 356 + Down 796 356 + OutIn 5 8 +End + +Button 15 # E + Type 0 + Size 84 56 + Offset 356 356 + Down 884 356 + OutIn 5 16 +End + +Button 16 # F + Type 0 + Size 84 56 + Offset 444 356 + Down 972 356 + OutIn 5 32 +End + +############################################################################### + +Button 21 # G + Type 0 + Size 102 56 + Offset 4 416 + Down 532 416 + OutIn 5 128 +End + +Button 22 # H + Type 0 + Size 102 56 + Offset 110 416 + Down 638 416 + OutIn 4 128 +End + +Button 23 # I + Type 0 + Size 100 56 + Offset 216 416 + Down 744 416 + OutIn 3 128 +End + +Button 24 # LEFT + Type 0 + Size 102 56 + Offset 320 416 + Down 848 416 + OutIn 6 4 +End + +Button 25 # RIGHT + Type 0 + Size 102 56 + Offset 426 416 + Down 954 416 + OutIn 6 1 +End + +############################################################################### + +Button 31 # J + Type 0 + Size 102 56 + Offset 4 476 + Down 532 476 + OutIn 2 128 +End + +Button 32 # K + Type 0 + Size 102 56 + Offset 110 476 + Down 638 476 + OutIn 1 128 +End + +Button 33 # L + Type 0 + Size 100 56 + Offset 216 476 + Down 744 476 + OutIn 0 128 +End + +Button 34 # DOWN + Type 0 + Size 102 56 + Offset 320 476 + Down 848 476 + OutIn 6 2 +End + +Button 35 # UP + Type 0 + Size 102 56 + Offset 426 476 + Down 954 476 + OutIn 6 8 +End + +############################################################################### + +Button 41 # M + Type 0 + Size 102 56 + Offset 4 536 + Down 532 536 + OutIn 4 64 +End + +Button 42 # N + Type 0 + Size 102 56 + Offset 110 536 + Down 638 536 + OutIn 3 64 +End + +Button 43 # O + Type 0 + Size 100 56 + Offset 216 536 + Down 744 536 + OutIn 2 64 +End + +Button 44 # P + Type 0 + Size 102 56 + Offset 320 536 + Down 848 536 + OutIn 1 64 +End + +Button 45 # DELETE + Type 0 + Size 102 56 + Offset 426 536 + Down 954 536 + OutIn 0 64 +End + +############################################################################### + +Button 51 # Q + Type 0 + Size 102 56 + Offset 4 596 + Down 532 596 + OutIn 4 32 +End + +Button 52 # R + Type 0 + Size 102 56 + Offset 110 596 + Down 638 596 + OutIn 3 32 +End + +Button 53 # S + Type 0 + Size 100 56 + Offset 216 596 + Down 744 596 + OutIn 2 32 +End + +Button 54 # T + Type 0 + Size 102 56 + Offset 320 596 + Down 848 596 + OutIn 1 32 +End + +Button 55 # U + Type 0 + Size 102 56 + Offset 426 596 + Down 954 596 + OutIn 0 32 +End + +############################################################################### + +Button 61 # V + Type 0 + Size 102 56 + Offset 4 656 + Down 532 656 + OutIn 4 16 +End + +Button 62 # W + Type 0 + Size 102 56 + Offset 110 656 + Down 638 656 + OutIn 3 16 +End + +Button 63 # X + Type 0 + Size 100 56 + Offset 216 656 + Down 744 656 + OutIn 2 16 +End + +Button 64 # Y + Type 0 + Size 102 56 + Offset 320 656 + Down 848 656 + OutIn 1 16 +End + +Button 65 # Z + Type 0 + Size 102 56 + Offset 426 656 + Down 954 656 + OutIn 0 16 +End + +############################################################################### + +Button 71 # ALPHA + Type 0 + Size 102 56 + Offset 4 716 + Down 532 716 + OutIn 7 8 +End + +Button 72 # 7 + Type 0 + Size 102 56 + Offset 110 716 + Down 638 716 + OutIn 3 8 +End + +Button 73 # 8 + Type 0 + Size 100 56 + Offset 216 716 + Down 744 716 + OutIn 2 8 +End + +Button 74 # 9 + Type 0 + Size 102 56 + Offset 320 716 + Down 848 716 + OutIn 1 8 +End + +Button 75 # MULTIPLY + Type 0 + Size 102 56 + Offset 426 716 + Down 954 716 + OutIn 0 8 +End + +############################################################################### + +Button 81 # LEFT-SHIFT + Type 0 + Size 102 56 + Offset 4 776 + Down 532 776 + OutIn 7 4 +End + +Button 82 # 4 + Type 0 + Size 102 56 + Offset 110 776 + Down 638 776 + OutIn 3 4 +End + +Button 83 # 5 + Type 0 + Size 100 56 + Offset 216 776 + Down 744 776 + OutIn 2 4 +End + +Button 84 # 6 + Type 0 + Size 102 56 + Offset 320 776 + Down 848 776 + OutIn 1 4 +End + +Button 85 # MINUS + Type 0 + Size 102 56 + Offset 426 776 + Down 954 776 + OutIn 0 4 +End + +############################################################################### + +Button 91 # RIGHT-SHIFT + Type 0 + Size 102 56 + Offset 4 836 + Down 532 836 + OutIn 7 2 +End + +Button 92 # 1 + Type 0 + Size 102 56 + Offset 110 836 + Down 638 836 + OutIn 3 2 +End + +Button 93 # 2 + Type 0 + Size 100 56 + Offset 216 836 + Down 744 836 + OutIn 2 2 +End + +Button 94 # 3 + Type 0 + Size 102 56 + Offset 320 836 + Down 848 836 + OutIn 1 2 +End + +Button 95 # PLUS + Type 0 + Size 102 56 + Offset 426 836 + Down 954 836 + OutIn 0 2 +End + +############################################################################### + +Button 101 # ON + Type 0 + Size 102 56 + Offset 4 896 + Down 532 896 + OutIn 0 32768 +End + +Button 102 # 0 + Type 0 + Size 102 56 + Offset 110 896 + Down 638 896 + OutIn 3 1 +End + +Button 103 # DECIMAL-POINT + Type 0 + Size 100 56 + Offset 216 896 + Down 744 896 + OutIn 2 1 +End + +Button 104 # SPC + Type 0 + Size 102 56 + Offset 320 896 + Down 848 896 + OutIn 1 1 +End + +Button 105 # ENTER + Type 0 + Size 102 56 + Offset 426 896 + Down 954 896 + OutIn 0 1 +End + +Include "modern50g.kmi" \ No newline at end of file diff --git a/app/src/main/assets/calculators/modern50g169.png b/app/src/main/assets/calculators/modern50g169.png new file mode 100644 index 0000000..a607216 Binary files /dev/null and b/app/src/main/assets/calculators/modern50g169.png differ diff --git a/app/src/main/assets/calculators/modern50g169green.kml b/app/src/main/assets/calculators/modern50g169green.kml new file mode 100644 index 0000000..f8086f0 --- /dev/null +++ b/app/src/main/assets/calculators/modern50g169green.kml @@ -0,0 +1,568 @@ +# "Modern" +# 2024 github.com/esesur + +Global + Title "Modern 50g Green (16:9)" + Author "esesur" + # Hardware "Yorke" + Model "Q" + Class 50 + Rom "rom.49g" + # Patch STRING + Bitmap "modern50g169green.png" + # Icon STRING + # Color INTEGER INTEGER INTEGER INTEGER + # Scale 1 2 + # Print STRING + Debug 0 +End + +Background + # Vga INTEGER + # Topbar INTEGER + # Menubar INTEGER + Offset 0 0 + Size 532 956 +End + +Lcd + Zoom 4 + # Zoomxy 4 4 + # Vertical INTEGER + Offset 4 28 + # Bitmap STRING + + # 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 7 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 186 222 198 + Color 33 186 222 198 + Color 34 186 222 198 + Color 35 186 222 198 + Color 36 186 222 198 + Color 37 186 222 198 + Color 38 186 222 198 + Color 39 186 222 198 + Color 40 186 222 198 + Color 41 186 222 198 + Color 42 186 222 198 + Color 43 186 222 198 + Color 44 186 222 198 + Color 45 186 222 198 + Color 46 186 222 198 + Color 47 186 222 198 + Color 48 186 222 198 + Color 49 186 222 198 + Color 50 186 222 198 + Color 51 186 222 198 + Color 52 186 222 198 + Color 53 186 222 198 + Color 54 186 222 198 + Color 55 186 222 198 + Color 56 186 222 198 + Color 57 186 222 198 + Color 58 186 222 198 + Color 59 186 222 198 + Color 60 186 222 198 + Color 61 186 222 198 + Color 62 186 222 198 + Color 63 186 222 198 +End + +Annunciator 1 + Size 20 20 + Offset 388 4 + Down 532 4 +End + +Annunciator 2 + Size 20 20 + Offset 412 4 + Down 532 28 +End + +Annunciator 3 + Size 20 20 + Offset 436 4 + Down 532 52 +End + +Annunciator 4 + Size 20 20 + Offset 460 4 + Down 532 76 +End + +Annunciator 5 + Size 20 20 + Offset 484 4 + Down 532 100 +End + +Annunciator 6 + Size 20 20 + Offset 508 4 + Down 532 124 +End + +############################################################################### + +Button 11 # A + Type 0 + Size 84 56 + Offset 4 356 + Down 532 356 + OutIn 5 1 +End + +Button 12 # B + Type 0 + Size 84 56 + Offset 92 356 + Down 620 356 + OutIn 5 2 +End + +Button 13 # C + Type 0 + Size 84 56 + Offset 180 356 + Down 708 356 + OutIn 5 4 +End + +Button 14 # D + Type 0 + Size 84 56 + Offset 268 356 + Down 796 356 + OutIn 5 8 +End + +Button 15 # E + Type 0 + Size 84 56 + Offset 356 356 + Down 884 356 + OutIn 5 16 +End + +Button 16 # F + Type 0 + Size 84 56 + Offset 444 356 + Down 972 356 + OutIn 5 32 +End + +############################################################################### + +Button 21 # G + Type 0 + Size 102 56 + Offset 4 416 + Down 532 416 + OutIn 5 128 +End + +Button 22 # H + Type 0 + Size 102 56 + Offset 110 416 + Down 638 416 + OutIn 4 128 +End + +Button 23 # I + Type 0 + Size 100 56 + Offset 216 416 + Down 744 416 + OutIn 3 128 +End + +Button 24 # LEFT + Type 0 + Size 102 56 + Offset 320 416 + Down 848 416 + OutIn 6 4 +End + +Button 25 # RIGHT + Type 0 + Size 102 56 + Offset 426 416 + Down 954 416 + OutIn 6 1 +End + +############################################################################### + +Button 31 # J + Type 0 + Size 102 56 + Offset 4 476 + Down 532 476 + OutIn 2 128 +End + +Button 32 # K + Type 0 + Size 102 56 + Offset 110 476 + Down 638 476 + OutIn 1 128 +End + +Button 33 # L + Type 0 + Size 100 56 + Offset 216 476 + Down 744 476 + OutIn 0 128 +End + +Button 34 # DOWN + Type 0 + Size 102 56 + Offset 320 476 + Down 848 476 + OutIn 6 2 +End + +Button 35 # UP + Type 0 + Size 102 56 + Offset 426 476 + Down 954 476 + OutIn 6 8 +End + +############################################################################### + +Button 41 # M + Type 0 + Size 102 56 + Offset 4 536 + Down 532 536 + OutIn 4 64 +End + +Button 42 # N + Type 0 + Size 102 56 + Offset 110 536 + Down 638 536 + OutIn 3 64 +End + +Button 43 # O + Type 0 + Size 100 56 + Offset 216 536 + Down 744 536 + OutIn 2 64 +End + +Button 44 # P + Type 0 + Size 102 56 + Offset 320 536 + Down 848 536 + OutIn 1 64 +End + +Button 45 # DELETE + Type 0 + Size 102 56 + Offset 426 536 + Down 954 536 + OutIn 0 64 +End + +############################################################################### + +Button 51 # Q + Type 0 + Size 102 56 + Offset 4 596 + Down 532 596 + OutIn 4 32 +End + +Button 52 # R + Type 0 + Size 102 56 + Offset 110 596 + Down 638 596 + OutIn 3 32 +End + +Button 53 # S + Type 0 + Size 100 56 + Offset 216 596 + Down 744 596 + OutIn 2 32 +End + +Button 54 # T + Type 0 + Size 102 56 + Offset 320 596 + Down 848 596 + OutIn 1 32 +End + +Button 55 # U + Type 0 + Size 102 56 + Offset 426 596 + Down 954 596 + OutIn 0 32 +End + +############################################################################### + +Button 61 # V + Type 0 + Size 102 56 + Offset 4 656 + Down 532 656 + OutIn 4 16 +End + +Button 62 # W + Type 0 + Size 102 56 + Offset 110 656 + Down 638 656 + OutIn 3 16 +End + +Button 63 # X + Type 0 + Size 100 56 + Offset 216 656 + Down 744 656 + OutIn 2 16 +End + +Button 64 # Y + Type 0 + Size 102 56 + Offset 320 656 + Down 848 656 + OutIn 1 16 +End + +Button 65 # Z + Type 0 + Size 102 56 + Offset 426 656 + Down 954 656 + OutIn 0 16 +End + +############################################################################### + +Button 71 # ALPHA + Type 0 + Size 102 56 + Offset 4 716 + Down 532 716 + OutIn 7 8 +End + +Button 72 # 7 + Type 0 + Size 102 56 + Offset 110 716 + Down 638 716 + OutIn 3 8 +End + +Button 73 # 8 + Type 0 + Size 100 56 + Offset 216 716 + Down 744 716 + OutIn 2 8 +End + +Button 74 # 9 + Type 0 + Size 102 56 + Offset 320 716 + Down 848 716 + OutIn 1 8 +End + +Button 75 # MULTIPLY + Type 0 + Size 102 56 + Offset 426 716 + Down 954 716 + OutIn 0 8 +End + +############################################################################### + +Button 81 # LEFT-SHIFT + Type 0 + Size 102 56 + Offset 4 776 + Down 532 776 + OutIn 7 4 +End + +Button 82 # 4 + Type 0 + Size 102 56 + Offset 110 776 + Down 638 776 + OutIn 3 4 +End + +Button 83 # 5 + Type 0 + Size 100 56 + Offset 216 776 + Down 744 776 + OutIn 2 4 +End + +Button 84 # 6 + Type 0 + Size 102 56 + Offset 320 776 + Down 848 776 + OutIn 1 4 +End + +Button 85 # MINUS + Type 0 + Size 102 56 + Offset 426 776 + Down 954 776 + OutIn 0 4 +End + +############################################################################### + +Button 91 # RIGHT-SHIFT + Type 0 + Size 102 56 + Offset 4 836 + Down 532 836 + OutIn 7 2 +End + +Button 92 # 1 + Type 0 + Size 102 56 + Offset 110 836 + Down 638 836 + OutIn 3 2 +End + +Button 93 # 2 + Type 0 + Size 100 56 + Offset 216 836 + Down 744 836 + OutIn 2 2 +End + +Button 94 # 3 + Type 0 + Size 102 56 + Offset 320 836 + Down 848 836 + OutIn 1 2 +End + +Button 95 # PLUS + Type 0 + Size 102 56 + Offset 426 836 + Down 954 836 + OutIn 0 2 +End + +############################################################################### + +Button 101 # ON + Type 0 + Size 102 56 + Offset 4 896 + Down 532 896 + OutIn 0 32768 +End + +Button 102 # 0 + Type 0 + Size 102 56 + Offset 110 896 + Down 638 896 + OutIn 3 1 +End + +Button 103 # DECIMAL-POINT + Type 0 + Size 100 56 + Offset 216 896 + Down 744 896 + OutIn 2 1 +End + +Button 104 # SPC + Type 0 + Size 102 56 + Offset 320 896 + Down 848 896 + OutIn 1 1 +End + +Button 105 # ENTER + Type 0 + Size 102 56 + Offset 426 896 + Down 954 896 + OutIn 0 1 +End + +Include "modern50g.kmi" \ No newline at end of file diff --git a/app/src/main/assets/calculators/modern50g169green.png b/app/src/main/assets/calculators/modern50g169green.png new file mode 100644 index 0000000..9f8f61e Binary files /dev/null and b/app/src/main/assets/calculators/modern50g169green.png differ diff --git a/app/src/main/assets/calculators/modern50g189.kml b/app/src/main/assets/calculators/modern50g189.kml new file mode 100644 index 0000000..30a7249 --- /dev/null +++ b/app/src/main/assets/calculators/modern50g189.kml @@ -0,0 +1,568 @@ +# "Modern" +# 2024 github.com/esesur + +Global + Title "Modern 50g (18:9)" + Author "esesur" + # Hardware "Yorke" + Model "Q" + Class 50 + Rom "rom.49g" + # Patch STRING + Bitmap "modern50g189.png" + # Icon STRING + # Color INTEGER INTEGER INTEGER INTEGER + # Scale 1 2 + # Print STRING + Debug 0 +End + +Background + # Vga INTEGER + # Topbar INTEGER + # Menubar INTEGER + Offset 0 0 + Size 532 1056 +End + +Lcd + Zoom 4 + # Zoomxy 4 4 + # Vertical INTEGER + Offset 4 28 + # Bitmap STRING + + # 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 7 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 + +Annunciator 1 + Size 20 20 + Offset 388 4 + Down 532 4 +End + +Annunciator 2 + Size 20 20 + Offset 412 4 + Down 532 28 +End + +Annunciator 3 + Size 20 20 + Offset 436 4 + Down 532 52 +End + +Annunciator 4 + Size 20 20 + Offset 460 4 + Down 532 76 +End + +Annunciator 5 + Size 20 20 + Offset 484 4 + Down 532 100 +End + +Annunciator 6 + Size 20 20 + Offset 508 4 + Down 532 124 +End + +############################################################################### + +Button 11 # A + Type 0 + Size 84 66 + Offset 4 356 + Down 532 356 + OutIn 5 1 +End + +Button 12 # B + Type 0 + Size 84 66 + Offset 92 356 + Down 620 356 + OutIn 5 2 +End + +Button 13 # C + Type 0 + Size 84 66 + Offset 180 356 + Down 708 356 + OutIn 5 4 +End + +Button 14 # D + Type 0 + Size 84 66 + Offset 268 356 + Down 796 356 + OutIn 5 8 +End + +Button 15 # E + Type 0 + Size 84 66 + Offset 356 356 + Down 884 356 + OutIn 5 16 +End + +Button 16 # F + Type 0 + Size 84 66 + Offset 444 356 + Down 972 356 + OutIn 5 32 +End + +############################################################################### + +Button 21 # G + Type 0 + Size 102 66 + Offset 4 426 + Down 532 426 + OutIn 5 128 +End + +Button 22 # H + Type 0 + Size 102 66 + Offset 110 426 + Down 638 426 + OutIn 4 128 +End + +Button 23 # I + Type 0 + Size 100 66 + Offset 216 426 + Down 744 426 + OutIn 3 128 +End + +Button 24 # LEFT + Type 0 + Size 102 66 + Offset 320 426 + Down 848 426 + OutIn 6 4 +End + +Button 25 # RIGHT + Type 0 + Size 102 66 + Offset 426 426 + Down 954 426 + OutIn 6 1 +End + +############################################################################### + +Button 31 # J + Type 0 + Size 102 66 + Offset 4 496 + Down 532 496 + OutIn 2 128 +End + +Button 32 # K + Type 0 + Size 102 66 + Offset 110 496 + Down 638 496 + OutIn 1 128 +End + +Button 33 # L + Type 0 + Size 100 66 + Offset 216 496 + Down 744 496 + OutIn 0 128 +End + +Button 34 # DOWN + Type 0 + Size 102 66 + Offset 320 496 + Down 848 496 + OutIn 6 2 +End + +Button 35 # UP + Type 0 + Size 102 66 + Offset 426 496 + Down 954 496 + OutIn 6 8 +End + +############################################################################### + +Button 41 # M + Type 0 + Size 102 66 + Offset 4 566 + Down 532 566 + OutIn 4 64 +End + +Button 42 # N + Type 0 + Size 102 66 + Offset 110 566 + Down 638 566 + OutIn 3 64 +End + +Button 43 # O + Type 0 + Size 100 66 + Offset 216 566 + Down 744 566 + OutIn 2 64 +End + +Button 44 # P + Type 0 + Size 102 66 + Offset 320 566 + Down 848 566 + OutIn 1 64 +End + +Button 45 # DELETE + Type 0 + Size 102 66 + Offset 426 566 + Down 954 566 + OutIn 0 64 +End + +############################################################################### + +Button 51 # Q + Type 0 + Size 102 66 + Offset 4 636 + Down 532 636 + OutIn 4 32 +End + +Button 52 # R + Type 0 + Size 102 66 + Offset 110 636 + Down 638 636 + OutIn 3 32 +End + +Button 53 # S + Type 0 + Size 100 66 + Offset 216 636 + Down 744 636 + OutIn 2 32 +End + +Button 54 # T + Type 0 + Size 102 66 + Offset 320 636 + Down 848 636 + OutIn 1 32 +End + +Button 55 # U + Type 0 + Size 102 66 + Offset 426 636 + Down 954 636 + OutIn 0 32 +End + +############################################################################### + +Button 61 # V + Type 0 + Size 102 66 + Offset 4 706 + Down 532 706 + OutIn 4 16 +End + +Button 62 # W + Type 0 + Size 102 66 + Offset 110 706 + Down 638 706 + OutIn 3 16 +End + +Button 63 # X + Type 0 + Size 100 66 + Offset 216 706 + Down 744 706 + OutIn 2 16 +End + +Button 64 # Y + Type 0 + Size 102 66 + Offset 320 706 + Down 848 706 + OutIn 1 16 +End + +Button 65 # Z + Type 0 + Size 102 66 + Offset 426 706 + Down 954 706 + OutIn 0 16 +End + +############################################################################### + +Button 71 # ALPHA + Type 0 + Size 102 66 + Offset 4 776 + Down 532 776 + OutIn 7 8 +End + +Button 72 # 7 + Type 0 + Size 102 66 + Offset 110 776 + Down 638 776 + OutIn 3 8 +End + +Button 73 # 8 + Type 0 + Size 100 66 + Offset 216 776 + Down 744 776 + OutIn 2 8 +End + +Button 74 # 9 + Type 0 + Size 102 66 + Offset 320 776 + Down 848 776 + OutIn 1 8 +End + +Button 75 # MULTIPLY + Type 0 + Size 102 66 + Offset 426 776 + Down 954 776 + OutIn 0 8 +End + +############################################################################### + +Button 81 # LEFT-SHIFT + Type 0 + Size 102 66 + Offset 4 846 + Down 532 846 + OutIn 7 4 +End + +Button 82 # 4 + Type 0 + Size 102 66 + Offset 110 846 + Down 638 846 + OutIn 3 4 +End + +Button 83 # 5 + Type 0 + Size 100 66 + Offset 216 846 + Down 744 846 + OutIn 2 4 +End + +Button 84 # 6 + Type 0 + Size 102 66 + Offset 320 846 + Down 848 846 + OutIn 1 4 +End + +Button 85 # MINUS + Type 0 + Size 102 66 + Offset 426 846 + Down 954 846 + OutIn 0 4 +End + +############################################################################### + +Button 91 # RIGHT-SHIFT + Type 0 + Size 102 66 + Offset 4 916 + Down 532 916 + OutIn 7 2 +End + +Button 92 # 1 + Type 0 + Size 102 66 + Offset 110 916 + Down 638 916 + OutIn 3 2 +End + +Button 93 # 2 + Type 0 + Size 100 66 + Offset 216 916 + Down 744 916 + OutIn 2 2 +End + +Button 94 # 3 + Type 0 + Size 102 66 + Offset 320 916 + Down 848 916 + OutIn 1 2 +End + +Button 95 # PLUS + Type 0 + Size 102 66 + Offset 426 916 + Down 954 916 + OutIn 0 2 +End + +############################################################################### + +Button 101 # ON + Type 0 + Size 102 66 + Offset 4 986 + Down 532 986 + OutIn 0 32768 +End + +Button 102 # 0 + Type 0 + Size 102 66 + Offset 110 986 + Down 638 986 + OutIn 3 1 +End + +Button 103 # DECIMAL-POINT + Type 0 + Size 100 66 + Offset 216 986 + Down 744 986 + OutIn 2 1 +End + +Button 104 # SPC + Type 0 + Size 102 66 + Offset 320 986 + Down 848 986 + OutIn 1 1 +End + +Button 105 # ENTER + Type 0 + Size 102 66 + Offset 426 986 + Down 954 986 + OutIn 0 1 +End + +Include "modern50g.kmi" \ No newline at end of file diff --git a/app/src/main/assets/calculators/modern50g189.png b/app/src/main/assets/calculators/modern50g189.png new file mode 100644 index 0000000..e3fe363 Binary files /dev/null and b/app/src/main/assets/calculators/modern50g189.png differ diff --git a/app/src/main/assets/calculators/modern50g189green.kml b/app/src/main/assets/calculators/modern50g189green.kml new file mode 100644 index 0000000..3640c2e --- /dev/null +++ b/app/src/main/assets/calculators/modern50g189green.kml @@ -0,0 +1,568 @@ +# "Modern" +# 2024 github.com/esesur + +Global + Title "Modern 50g Green (18:9)" + Author "esesur" + # Hardware "Yorke" + Model "Q" + Class 50 + Rom "rom.49g" + # Patch STRING + Bitmap "modern50g189green.png" + # Icon STRING + # Color INTEGER INTEGER INTEGER INTEGER + # Scale 1 2 + # Print STRING + Debug 0 +End + +Background + # Vga INTEGER + # Topbar INTEGER + # Menubar INTEGER + Offset 0 0 + Size 532 1056 +End + +Lcd + Zoom 4 + # Zoomxy 4 4 + # Vertical INTEGER + Offset 4 28 + # Bitmap STRING + + # 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 7 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 186 222 198 + Color 33 186 222 198 + Color 34 186 222 198 + Color 35 186 222 198 + Color 36 186 222 198 + Color 37 186 222 198 + Color 38 186 222 198 + Color 39 186 222 198 + Color 40 186 222 198 + Color 41 186 222 198 + Color 42 186 222 198 + Color 43 186 222 198 + Color 44 186 222 198 + Color 45 186 222 198 + Color 46 186 222 198 + Color 47 186 222 198 + Color 48 186 222 198 + Color 49 186 222 198 + Color 50 186 222 198 + Color 51 186 222 198 + Color 52 186 222 198 + Color 53 186 222 198 + Color 54 186 222 198 + Color 55 186 222 198 + Color 56 186 222 198 + Color 57 186 222 198 + Color 58 186 222 198 + Color 59 186 222 198 + Color 60 186 222 198 + Color 61 186 222 198 + Color 62 186 222 198 + Color 63 186 222 198 +End + +Annunciator 1 + Size 20 20 + Offset 388 4 + Down 532 4 +End + +Annunciator 2 + Size 20 20 + Offset 412 4 + Down 532 28 +End + +Annunciator 3 + Size 20 20 + Offset 436 4 + Down 532 52 +End + +Annunciator 4 + Size 20 20 + Offset 460 4 + Down 532 76 +End + +Annunciator 5 + Size 20 20 + Offset 484 4 + Down 532 100 +End + +Annunciator 6 + Size 20 20 + Offset 508 4 + Down 532 124 +End + +############################################################################### + +Button 11 # A + Type 0 + Size 84 66 + Offset 4 356 + Down 532 356 + OutIn 5 1 +End + +Button 12 # B + Type 0 + Size 84 66 + Offset 92 356 + Down 620 356 + OutIn 5 2 +End + +Button 13 # C + Type 0 + Size 84 66 + Offset 180 356 + Down 708 356 + OutIn 5 4 +End + +Button 14 # D + Type 0 + Size 84 66 + Offset 268 356 + Down 796 356 + OutIn 5 8 +End + +Button 15 # E + Type 0 + Size 84 66 + Offset 356 356 + Down 884 356 + OutIn 5 16 +End + +Button 16 # F + Type 0 + Size 84 66 + Offset 444 356 + Down 972 356 + OutIn 5 32 +End + +############################################################################### + +Button 21 # G + Type 0 + Size 102 66 + Offset 4 426 + Down 532 426 + OutIn 5 128 +End + +Button 22 # H + Type 0 + Size 102 66 + Offset 110 426 + Down 638 426 + OutIn 4 128 +End + +Button 23 # I + Type 0 + Size 100 66 + Offset 216 426 + Down 744 426 + OutIn 3 128 +End + +Button 24 # LEFT + Type 0 + Size 102 66 + Offset 320 426 + Down 848 426 + OutIn 6 4 +End + +Button 25 # RIGHT + Type 0 + Size 102 66 + Offset 426 426 + Down 954 426 + OutIn 6 1 +End + +############################################################################### + +Button 31 # J + Type 0 + Size 102 66 + Offset 4 496 + Down 532 496 + OutIn 2 128 +End + +Button 32 # K + Type 0 + Size 102 66 + Offset 110 496 + Down 638 496 + OutIn 1 128 +End + +Button 33 # L + Type 0 + Size 100 66 + Offset 216 496 + Down 744 496 + OutIn 0 128 +End + +Button 34 # DOWN + Type 0 + Size 102 66 + Offset 320 496 + Down 848 496 + OutIn 6 2 +End + +Button 35 # UP + Type 0 + Size 102 66 + Offset 426 496 + Down 954 496 + OutIn 6 8 +End + +############################################################################### + +Button 41 # M + Type 0 + Size 102 66 + Offset 4 566 + Down 532 566 + OutIn 4 64 +End + +Button 42 # N + Type 0 + Size 102 66 + Offset 110 566 + Down 638 566 + OutIn 3 64 +End + +Button 43 # O + Type 0 + Size 100 66 + Offset 216 566 + Down 744 566 + OutIn 2 64 +End + +Button 44 # P + Type 0 + Size 102 66 + Offset 320 566 + Down 848 566 + OutIn 1 64 +End + +Button 45 # DELETE + Type 0 + Size 102 66 + Offset 426 566 + Down 954 566 + OutIn 0 64 +End + +############################################################################### + +Button 51 # Q + Type 0 + Size 102 66 + Offset 4 636 + Down 532 636 + OutIn 4 32 +End + +Button 52 # R + Type 0 + Size 102 66 + Offset 110 636 + Down 638 636 + OutIn 3 32 +End + +Button 53 # S + Type 0 + Size 100 66 + Offset 216 636 + Down 744 636 + OutIn 2 32 +End + +Button 54 # T + Type 0 + Size 102 66 + Offset 320 636 + Down 848 636 + OutIn 1 32 +End + +Button 55 # U + Type 0 + Size 102 66 + Offset 426 636 + Down 954 636 + OutIn 0 32 +End + +############################################################################### + +Button 61 # V + Type 0 + Size 102 66 + Offset 4 706 + Down 532 706 + OutIn 4 16 +End + +Button 62 # W + Type 0 + Size 102 66 + Offset 110 706 + Down 638 706 + OutIn 3 16 +End + +Button 63 # X + Type 0 + Size 100 66 + Offset 216 706 + Down 744 706 + OutIn 2 16 +End + +Button 64 # Y + Type 0 + Size 102 66 + Offset 320 706 + Down 848 706 + OutIn 1 16 +End + +Button 65 # Z + Type 0 + Size 102 66 + Offset 426 706 + Down 954 706 + OutIn 0 16 +End + +############################################################################### + +Button 71 # ALPHA + Type 0 + Size 102 66 + Offset 4 776 + Down 532 776 + OutIn 7 8 +End + +Button 72 # 7 + Type 0 + Size 102 66 + Offset 110 776 + Down 638 776 + OutIn 3 8 +End + +Button 73 # 8 + Type 0 + Size 100 66 + Offset 216 776 + Down 744 776 + OutIn 2 8 +End + +Button 74 # 9 + Type 0 + Size 102 66 + Offset 320 776 + Down 848 776 + OutIn 1 8 +End + +Button 75 # MULTIPLY + Type 0 + Size 102 66 + Offset 426 776 + Down 954 776 + OutIn 0 8 +End + +############################################################################### + +Button 81 # LEFT-SHIFT + Type 0 + Size 102 66 + Offset 4 846 + Down 532 846 + OutIn 7 4 +End + +Button 82 # 4 + Type 0 + Size 102 66 + Offset 110 846 + Down 638 846 + OutIn 3 4 +End + +Button 83 # 5 + Type 0 + Size 100 66 + Offset 216 846 + Down 744 846 + OutIn 2 4 +End + +Button 84 # 6 + Type 0 + Size 102 66 + Offset 320 846 + Down 848 846 + OutIn 1 4 +End + +Button 85 # MINUS + Type 0 + Size 102 66 + Offset 426 846 + Down 954 846 + OutIn 0 4 +End + +############################################################################### + +Button 91 # RIGHT-SHIFT + Type 0 + Size 102 66 + Offset 4 916 + Down 532 916 + OutIn 7 2 +End + +Button 92 # 1 + Type 0 + Size 102 66 + Offset 110 916 + Down 638 916 + OutIn 3 2 +End + +Button 93 # 2 + Type 0 + Size 100 66 + Offset 216 916 + Down 744 916 + OutIn 2 2 +End + +Button 94 # 3 + Type 0 + Size 102 66 + Offset 320 916 + Down 848 916 + OutIn 1 2 +End + +Button 95 # PLUS + Type 0 + Size 102 66 + Offset 426 916 + Down 954 916 + OutIn 0 2 +End + +############################################################################### + +Button 101 # ON + Type 0 + Size 102 66 + Offset 4 986 + Down 532 986 + OutIn 0 32768 +End + +Button 102 # 0 + Type 0 + Size 102 66 + Offset 110 986 + Down 638 986 + OutIn 3 1 +End + +Button 103 # DECIMAL-POINT + Type 0 + Size 100 66 + Offset 216 986 + Down 744 986 + OutIn 2 1 +End + +Button 104 # SPC + Type 0 + Size 102 66 + Offset 320 986 + Down 848 986 + OutIn 1 1 +End + +Button 105 # ENTER + Type 0 + Size 102 66 + Offset 426 986 + Down 954 986 + OutIn 0 1 +End + +Include "modern50g.kmi" \ No newline at end of file diff --git a/app/src/main/assets/calculators/modern50g189green.png b/app/src/main/assets/calculators/modern50g189green.png new file mode 100644 index 0000000..daa0fbe Binary files /dev/null and b/app/src/main/assets/calculators/modern50g189green.png differ diff --git a/app/src/main/assets/calculators/modern50g209.kml b/app/src/main/assets/calculators/modern50g209.kml new file mode 100644 index 0000000..d9fb20c --- /dev/null +++ b/app/src/main/assets/calculators/modern50g209.kml @@ -0,0 +1,568 @@ +# "Modern" +# 2024 github.com/esesur + +Global + Title "Modern 50g (20:9)" + Author "esesur" + # Hardware "Yorke" + Model "Q" + Class 50 + Rom "rom.49g" + # Patch STRING + Bitmap "modern50g209.png" + # Icon STRING + # Color INTEGER INTEGER INTEGER INTEGER + # Scale 1 2 + # Print STRING + Debug 0 +End + +Background + # Vga INTEGER + # Topbar INTEGER + # Menubar INTEGER + Offset 0 0 + Size 532 1176 +End + +Lcd + Zoom 4 + # Zoomxy 4 4 + # Vertical INTEGER + Offset 4 28 + # Bitmap STRING + + # 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 7 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 + +Annunciator 1 + Size 20 20 + Offset 388 4 + Down 532 4 +End + +Annunciator 2 + Size 20 20 + Offset 412 4 + Down 532 28 +End + +Annunciator 3 + Size 20 20 + Offset 436 4 + Down 532 52 +End + +Annunciator 4 + Size 20 20 + Offset 460 4 + Down 532 76 +End + +Annunciator 5 + Size 20 20 + Offset 484 4 + Down 532 100 +End + +Annunciator 6 + Size 20 20 + Offset 508 4 + Down 532 124 +End + +############################################################################### + +Button 11 # A + Type 0 + Size 84 78 + Offset 4 356 + Down 532 356 + OutIn 5 1 +End + +Button 12 # B + Type 0 + Size 84 78 + Offset 92 356 + Down 620 356 + OutIn 5 2 +End + +Button 13 # C + Type 0 + Size 84 78 + Offset 180 356 + Down 708 356 + OutIn 5 4 +End + +Button 14 # D + Type 0 + Size 84 78 + Offset 268 356 + Down 796 356 + OutIn 5 8 +End + +Button 15 # E + Type 0 + Size 84 78 + Offset 356 356 + Down 884 356 + OutIn 5 16 +End + +Button 16 # F + Type 0 + Size 84 78 + Offset 444 356 + Down 972 356 + OutIn 5 32 +End + +############################################################################### + +Button 21 # G + Type 0 + Size 102 78 + Offset 4 438 + Down 532 438 + OutIn 5 128 +End + +Button 22 # H + Type 0 + Size 102 78 + Offset 110 438 + Down 638 438 + OutIn 4 128 +End + +Button 23 # I + Type 0 + Size 100 78 + Offset 216 438 + Down 744 438 + OutIn 3 128 +End + +Button 24 # LEFT + Type 0 + Size 102 78 + Offset 320 438 + Down 848 438 + OutIn 6 4 +End + +Button 25 # RIGHT + Type 0 + Size 102 78 + Offset 426 438 + Down 954 438 + OutIn 6 1 +End + +############################################################################### + +Button 31 # J + Type 0 + Size 102 78 + Offset 4 520 + Down 532 520 + OutIn 2 128 +End + +Button 32 # K + Type 0 + Size 102 78 + Offset 110 520 + Down 638 520 + OutIn 1 128 +End + +Button 33 # L + Type 0 + Size 100 78 + Offset 216 520 + Down 744 520 + OutIn 0 128 +End + +Button 34 # DOWN + Type 0 + Size 102 78 + Offset 320 520 + Down 848 520 + OutIn 6 2 +End + +Button 35 # UP + Type 0 + Size 102 78 + Offset 426 520 + Down 954 520 + OutIn 6 8 +End + +############################################################################### + +Button 41 # M + Type 0 + Size 102 78 + Offset 4 602 + Down 532 602 + OutIn 4 64 +End + +Button 42 # N + Type 0 + Size 102 78 + Offset 110 602 + Down 638 602 + OutIn 3 64 +End + +Button 43 # O + Type 0 + Size 100 78 + Offset 216 602 + Down 744 602 + OutIn 2 64 +End + +Button 44 # P + Type 0 + Size 102 78 + Offset 320 602 + Down 848 602 + OutIn 1 64 +End + +Button 45 # DELETE + Type 0 + Size 102 78 + Offset 426 602 + Down 954 602 + OutIn 0 64 +End + +############################################################################### + +Button 51 # Q + Type 0 + Size 102 78 + Offset 4 684 + Down 532 684 + OutIn 4 32 +End + +Button 52 # R + Type 0 + Size 102 78 + Offset 110 684 + Down 638 684 + OutIn 3 32 +End + +Button 53 # S + Type 0 + Size 100 78 + Offset 216 684 + Down 744 684 + OutIn 2 32 +End + +Button 54 # T + Type 0 + Size 102 78 + Offset 320 684 + Down 848 684 + OutIn 1 32 +End + +Button 55 # U + Type 0 + Size 102 78 + Offset 426 684 + Down 954 684 + OutIn 0 32 +End + +############################################################################### + +Button 61 # V + Type 0 + Size 102 78 + Offset 4 766 + Down 532 766 + OutIn 4 16 +End + +Button 62 # W + Type 0 + Size 102 78 + Offset 110 766 + Down 638 766 + OutIn 3 16 +End + +Button 63 # X + Type 0 + Size 100 78 + Offset 216 766 + Down 744 766 + OutIn 2 16 +End + +Button 64 # Y + Type 0 + Size 102 78 + Offset 320 766 + Down 848 766 + OutIn 1 16 +End + +Button 65 # Z + Type 0 + Size 102 78 + Offset 426 766 + Down 954 766 + OutIn 0 16 +End + +############################################################################### + +Button 71 # ALPHA + Type 0 + Size 102 78 + Offset 4 848 + Down 532 848 + OutIn 7 8 +End + +Button 72 # 7 + Type 0 + Size 102 78 + Offset 110 848 + Down 638 848 + OutIn 3 8 +End + +Button 73 # 8 + Type 0 + Size 100 78 + Offset 216 848 + Down 744 848 + OutIn 2 8 +End + +Button 74 # 9 + Type 0 + Size 102 78 + Offset 320 848 + Down 848 848 + OutIn 1 8 +End + +Button 75 # MULTIPLY + Type 0 + Size 102 78 + Offset 426 848 + Down 954 848 + OutIn 0 8 +End + +############################################################################### + +Button 81 # LEFT-SHIFT + Type 0 + Size 102 78 + Offset 4 930 + Down 532 930 + OutIn 7 4 +End + +Button 82 # 4 + Type 0 + Size 101 78 + Offset 110 930 + Down 638 930 + OutIn 3 4 +End + +Button 83 # 5 + Type 0 + Size 100 78 + Offset 216 930 + Down 744 930 + OutIn 2 4 +End + +Button 84 # 6 + Type 0 + Size 102 78 + Offset 320 930 + Down 848 930 + OutIn 1 4 +End + +Button 85 # MINUS + Type 0 + Size 102 78 + Offset 426 930 + Down 954 930 + OutIn 0 4 +End + +############################################################################### + +Button 91 # RIGHT-SHIFT + Type 0 + Size 102 78 + Offset 4 1012 + Down 532 1012 + OutIn 7 2 +End + +Button 92 # 1 + Type 0 + Size 102 78 + Offset 110 1012 + Down 638 1012 + OutIn 3 2 +End + +Button 93 # 2 + Type 0 + Size 100 78 + Offset 216 1012 + Down 744 1012 + OutIn 2 2 +End + +Button 94 # 3 + Type 0 + Size 102 78 + Offset 320 1012 + Down 848 1012 + OutIn 1 2 +End + +Button 95 # PLUS + Type 0 + Size 102 78 + Offset 426 1012 + Down 954 1012 + OutIn 0 2 +End + +############################################################################### + +Button 101 # ON + Type 0 + Size 102 78 + Offset 4 1094 + Down 532 1094 + OutIn 0 32768 +End + +Button 102 # 0 + Type 0 + Size 102 78 + Offset 110 1094 + Down 638 1094 + OutIn 3 1 +End + +Button 103 # DECIMAL-POINT + Type 0 + Size 100 78 + Offset 216 1094 + Down 744 1094 + OutIn 2 1 +End + +Button 104 # SPC + Type 0 + Size 102 78 + Offset 320 1094 + Down 848 1094 + OutIn 1 1 +End + +Button 105 # ENTER + Type 0 + Size 102 78 + Offset 426 1094 + Down 954 1094 + OutIn 0 1 +End + +Include "modern50g.kmi" \ No newline at end of file diff --git a/app/src/main/assets/calculators/modern50g209.png b/app/src/main/assets/calculators/modern50g209.png new file mode 100644 index 0000000..51e0c45 Binary files /dev/null and b/app/src/main/assets/calculators/modern50g209.png differ diff --git a/app/src/main/assets/calculators/modern50g209green.kml b/app/src/main/assets/calculators/modern50g209green.kml new file mode 100644 index 0000000..ace96e4 --- /dev/null +++ b/app/src/main/assets/calculators/modern50g209green.kml @@ -0,0 +1,568 @@ +# "Modern" +# 2024 github.com/esesur + +Global + Title "Modern 50g Green (20:9)" + Author "esesur" + # Hardware "Yorke" + Model "Q" + Class 50 + Rom "rom.49g" + # Patch STRING + Bitmap "modern50g209green.png" + # Icon STRING + # Color INTEGER INTEGER INTEGER INTEGER + # Scale 1 2 + # Print STRING + Debug 0 +End + +Background + # Vga INTEGER + # Topbar INTEGER + # Menubar INTEGER + Offset 0 0 + Size 532 1176 +End + +Lcd + Zoom 4 + # Zoomxy 4 4 + # Vertical INTEGER + Offset 4 28 + # Bitmap STRING + + # 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 7 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 186 222 198 + Color 33 186 222 198 + Color 34 186 222 198 + Color 35 186 222 198 + Color 36 186 222 198 + Color 37 186 222 198 + Color 38 186 222 198 + Color 39 186 222 198 + Color 40 186 222 198 + Color 41 186 222 198 + Color 42 186 222 198 + Color 43 186 222 198 + Color 44 186 222 198 + Color 45 186 222 198 + Color 46 186 222 198 + Color 47 186 222 198 + Color 48 186 222 198 + Color 49 186 222 198 + Color 50 186 222 198 + Color 51 186 222 198 + Color 52 186 222 198 + Color 53 186 222 198 + Color 54 186 222 198 + Color 55 186 222 198 + Color 56 186 222 198 + Color 57 186 222 198 + Color 58 186 222 198 + Color 59 186 222 198 + Color 60 186 222 198 + Color 61 186 222 198 + Color 62 186 222 198 + Color 63 186 222 198 +End + +Annunciator 1 + Size 20 20 + Offset 388 4 + Down 532 4 +End + +Annunciator 2 + Size 20 20 + Offset 412 4 + Down 532 28 +End + +Annunciator 3 + Size 20 20 + Offset 436 4 + Down 532 52 +End + +Annunciator 4 + Size 20 20 + Offset 460 4 + Down 532 76 +End + +Annunciator 5 + Size 20 20 + Offset 484 4 + Down 532 100 +End + +Annunciator 6 + Size 20 20 + Offset 508 4 + Down 532 124 +End + +############################################################################### + +Button 11 # A + Type 0 + Size 84 78 + Offset 4 356 + Down 532 356 + OutIn 5 1 +End + +Button 12 # B + Type 0 + Size 84 78 + Offset 92 356 + Down 620 356 + OutIn 5 2 +End + +Button 13 # C + Type 0 + Size 84 78 + Offset 180 356 + Down 708 356 + OutIn 5 4 +End + +Button 14 # D + Type 0 + Size 84 78 + Offset 268 356 + Down 796 356 + OutIn 5 8 +End + +Button 15 # E + Type 0 + Size 84 78 + Offset 356 356 + Down 884 356 + OutIn 5 16 +End + +Button 16 # F + Type 0 + Size 84 78 + Offset 444 356 + Down 972 356 + OutIn 5 32 +End + +############################################################################### + +Button 21 # G + Type 0 + Size 102 78 + Offset 4 438 + Down 532 438 + OutIn 5 128 +End + +Button 22 # H + Type 0 + Size 102 78 + Offset 110 438 + Down 638 438 + OutIn 4 128 +End + +Button 23 # I + Type 0 + Size 100 78 + Offset 216 438 + Down 744 438 + OutIn 3 128 +End + +Button 24 # LEFT + Type 0 + Size 102 78 + Offset 320 438 + Down 848 438 + OutIn 6 4 +End + +Button 25 # RIGHT + Type 0 + Size 102 78 + Offset 426 438 + Down 954 438 + OutIn 6 1 +End + +############################################################################### + +Button 31 # J + Type 0 + Size 102 78 + Offset 4 520 + Down 532 520 + OutIn 2 128 +End + +Button 32 # K + Type 0 + Size 102 78 + Offset 110 520 + Down 638 520 + OutIn 1 128 +End + +Button 33 # L + Type 0 + Size 100 78 + Offset 216 520 + Down 744 520 + OutIn 0 128 +End + +Button 34 # DOWN + Type 0 + Size 102 78 + Offset 320 520 + Down 848 520 + OutIn 6 2 +End + +Button 35 # UP + Type 0 + Size 102 78 + Offset 426 520 + Down 954 520 + OutIn 6 8 +End + +############################################################################### + +Button 41 # M + Type 0 + Size 102 78 + Offset 4 602 + Down 532 602 + OutIn 4 64 +End + +Button 42 # N + Type 0 + Size 102 78 + Offset 110 602 + Down 638 602 + OutIn 3 64 +End + +Button 43 # O + Type 0 + Size 100 78 + Offset 216 602 + Down 744 602 + OutIn 2 64 +End + +Button 44 # P + Type 0 + Size 102 78 + Offset 320 602 + Down 848 602 + OutIn 1 64 +End + +Button 45 # DELETE + Type 0 + Size 102 78 + Offset 426 602 + Down 954 602 + OutIn 0 64 +End + +############################################################################### + +Button 51 # Q + Type 0 + Size 102 78 + Offset 4 684 + Down 532 684 + OutIn 4 32 +End + +Button 52 # R + Type 0 + Size 102 78 + Offset 110 684 + Down 638 684 + OutIn 3 32 +End + +Button 53 # S + Type 0 + Size 100 78 + Offset 216 684 + Down 744 684 + OutIn 2 32 +End + +Button 54 # T + Type 0 + Size 102 78 + Offset 320 684 + Down 848 684 + OutIn 1 32 +End + +Button 55 # U + Type 0 + Size 102 78 + Offset 426 684 + Down 954 684 + OutIn 0 32 +End + +############################################################################### + +Button 61 # V + Type 0 + Size 102 78 + Offset 4 766 + Down 532 766 + OutIn 4 16 +End + +Button 62 # W + Type 0 + Size 102 78 + Offset 110 766 + Down 638 766 + OutIn 3 16 +End + +Button 63 # X + Type 0 + Size 100 78 + Offset 216 766 + Down 744 766 + OutIn 2 16 +End + +Button 64 # Y + Type 0 + Size 102 78 + Offset 320 766 + Down 848 766 + OutIn 1 16 +End + +Button 65 # Z + Type 0 + Size 102 78 + Offset 426 766 + Down 954 766 + OutIn 0 16 +End + +############################################################################### + +Button 71 # ALPHA + Type 0 + Size 102 78 + Offset 4 848 + Down 532 848 + OutIn 7 8 +End + +Button 72 # 7 + Type 0 + Size 102 78 + Offset 110 848 + Down 638 848 + OutIn 3 8 +End + +Button 73 # 8 + Type 0 + Size 100 78 + Offset 216 848 + Down 744 848 + OutIn 2 8 +End + +Button 74 # 9 + Type 0 + Size 102 78 + Offset 320 848 + Down 848 848 + OutIn 1 8 +End + +Button 75 # MULTIPLY + Type 0 + Size 102 78 + Offset 426 848 + Down 954 848 + OutIn 0 8 +End + +############################################################################### + +Button 81 # LEFT-SHIFT + Type 0 + Size 102 78 + Offset 4 930 + Down 532 930 + OutIn 7 4 +End + +Button 82 # 4 + Type 0 + Size 101 78 + Offset 110 930 + Down 638 930 + OutIn 3 4 +End + +Button 83 # 5 + Type 0 + Size 100 78 + Offset 216 930 + Down 744 930 + OutIn 2 4 +End + +Button 84 # 6 + Type 0 + Size 102 78 + Offset 320 930 + Down 848 930 + OutIn 1 4 +End + +Button 85 # MINUS + Type 0 + Size 102 78 + Offset 426 930 + Down 954 930 + OutIn 0 4 +End + +############################################################################### + +Button 91 # RIGHT-SHIFT + Type 0 + Size 102 78 + Offset 4 1012 + Down 532 1012 + OutIn 7 2 +End + +Button 92 # 1 + Type 0 + Size 102 78 + Offset 110 1012 + Down 638 1012 + OutIn 3 2 +End + +Button 93 # 2 + Type 0 + Size 100 78 + Offset 216 1012 + Down 744 1012 + OutIn 2 2 +End + +Button 94 # 3 + Type 0 + Size 102 78 + Offset 320 1012 + Down 848 1012 + OutIn 1 2 +End + +Button 95 # PLUS + Type 0 + Size 102 78 + Offset 426 1012 + Down 954 1012 + OutIn 0 2 +End + +############################################################################### + +Button 101 # ON + Type 0 + Size 102 78 + Offset 4 1094 + Down 532 1094 + OutIn 0 32768 +End + +Button 102 # 0 + Type 0 + Size 102 78 + Offset 110 1094 + Down 638 1094 + OutIn 3 1 +End + +Button 103 # DECIMAL-POINT + Type 0 + Size 100 78 + Offset 216 1094 + Down 744 1094 + OutIn 2 1 +End + +Button 104 # SPC + Type 0 + Size 102 78 + Offset 320 1094 + Down 848 1094 + OutIn 1 1 +End + +Button 105 # ENTER + Type 0 + Size 102 78 + Offset 426 1094 + Down 954 1094 + OutIn 0 1 +End + +Include "modern50g.kmi" \ No newline at end of file diff --git a/app/src/main/assets/calculators/modern50g209green.png b/app/src/main/assets/calculators/modern50g209green.png new file mode 100644 index 0000000..9a998cb Binary files /dev/null and b/app/src/main/assets/calculators/modern50g209green.png differ