theme.s
1 ; CCGMS Terminal 2 ; 3 ; Copyright (c) 2016,2020, Craig Smith, alwyz. All rights reserved. 4 ; This project is licensed under the BSD 3-Clause License. 5 ; 6 ; Theming 7 ; 8 9 ; The columns are: 10 ; 0: Classic CCGMS v5.5 11 ; 1: Iman / XPB v7.1 12 ; 2: Predator / FCC v8.1 13 ; 3: Ice theme v9.4 14 ; 4: Defcon/Unicess v17.2 15 ; 5: Alwyz / CCGMS 2021 16 17 tc1: .byte WHITE,BLUE,WHITE,WHITE,BLUE,DKGRAY ; f1 18 tc2: .byte LTRED,LTRED,BLUE,DKGRAY,DKGRAY,PURPLE ; Upload 19 tc3: .byte WHITE,LTBLUE,WHITE,WHITE,PURPLE,GRAY ; f3 20 tc4: .byte YELLOW,YELLOW,LTBLUE,BLUE,GRAY,LTBLUE ; Download 21 tc5: .byte WHITE,CYAN,WHITE,WHITE,LTBLUE,LTGRAY ; f5 22 tc6: .byte LTGREEN,LTGREEN,BLUE,PURPLE,LTGRAY,CYAN ; Disk 23 tc7: .byte WHITE,LTGREEN,WHITE,WHITE,CYAN,LTGRAY ; f7 24 tc8: .byte GREEN,CYAN,LTBLUE,LTBLUE,LTGRAY,LTGREEN ; Options 25 tc9: .byte WHITE,BLUE,WHITE,WHITE,BLUE,DKGRAY ; f2 26 tc10: .byte LTRED,LTRED,BLUE,BLUE,DKGRAY,PURPLE ; send/rec 27 tc11: .byte WHITE,LTBLUE,WHITE,WHITE,PURPLE,GRAY ; f4 28 tc12: .byte YELLOW,YELLOW,LTBLUE,PURPLE,GRAY,LTBLUE ; Buffer menu 29 tc13: .byte WHITE,CYAN,WHITE,WHITE,LTBLUE,LTGRAY ; f6 30 tc14: .byte LTGREEN,LTGREEN,BLUE,LTBLUE,LTGRAY,CYAN 31 tc15: .byte WHITE,LTGREEN,WHITE,WHITE,CYAN,LTGRAY ; f8 32 tc16: .byte GREEN,CYAN,LTBLUE,LTGRAY,LTGRAY,LTGREEN ; f8 text 33 tc17: .byte BLUE,BLUE,CYAN,DKGRAY,DKGRAY,BLUE ; C 34 tc18: .byte WHITE,YELLOW,WHITE,WHITE,LTGRAY,GRAY ; cf1 35 tc19: .byte CYAN,LTBLUE,BLUE,LTGRAY,GRAY,YELLOW ; cf1 text 36 tc20: .byte WHITE,YELLOW,WHITE,WHITE,LTGRAY,GRAY ; f3 37 tc21: .byte CYAN,LTBLUE,BLUE,CYAN,GRAY,YELLOW ; f3 txt 38 tc22: .byte WHITE,LTRED,WHITE,WHITE,WHITE,DKGRAY ; f5 39 tc23: .byte LTBLUE,BLUE,LTBLUE,CYAN,DKGRAY,LTRED ; f5txt 40 tc24: .byte WHITE,LTRED,WHITE,WHITE,WHITE,DKGRAY ; f7 41 tc25: .byte LTBLUE,BLUE,LTBLUE,YELLOW,DKGRAY,LTRED ; f7txt 42 tc26: .byte RED,RED,RED,GRAY,GRAY,RED ; = sign 43 tc27: .byte WHITE,LTGREEN,LTGREEN,LTGREEN,LTGREEN,GRAY; f7 menu color 44 tc28: .byte CYAN,LTRED,LTRED,LTRED,LTRED,LTBLUE ; phonebook color 45 46 themeroutine: 47 ldy theme 48 lda tc1,y 49 sta tcol1 50 lda tc2,y 51 sta tcol2 52 lda tc9,y 53 sta tcol9 54 lda tc10,y 55 sta tcol10 56 lda tc3,y 57 sta tcol3 58 lda tc4,y 59 sta tcol4 60 lda tc11,y 61 sta tcol11 62 lda tc12,y 63 sta tcol12 64 lda tc5,y 65 sta tcol5 66 lda tc6,y 67 sta tcol6 68 lda tc13,y 69 sta tcol13 70 lda tc14,y 71 sta tcol14 72 lda tc7,y 73 sta tcol7 74 lda tc8,y 75 sta tcol8 76 lda tc15,y 77 sta tcol15 78 lda tc16,y 79 sta tcol16 80 lda tc17,y 81 sta tcol17a 82 sta tcol17b 83 sta tcol17c 84 sta tcol17d 85 lda tc26,y 86 sta tcol26a 87 sta tcol26b 88 sta tcol26c 89 sta tcol26d 90 lda tc18,y 91 sta tcol18 92 lda tc20,y 93 sta tcol20 94 lda tc22,y 95 sta tcol22 96 lda tc24,y 97 sta tcol24 98 lda tc19,y 99 sta tcol19 100 lda tc21,y 101 sta tcol21 102 lda tc23,y 103 sta tcol23 104 lda tc25,y 105 sta tcol25 106 lda tc27,y 107 sta tcol27a 108 sta tcol27b 109 lda tc28,y 110 sta tcol28a 111 sta tcol28b 112 sta tcol28c 113 sta tcol28d 114 sta tcol28e 115 sta tcol28f 116 rts