Skip to content

Commit 5a31d87

Browse files
committed
Changes in Basic and EXE files.
Changes are listed.
1 parent 80b9d77 commit 5a31d87

File tree

2 files changed

+118
-75
lines changed

2 files changed

+118
-75
lines changed

BBSMenuColorSchemeCreator V13 RC3.bas

Lines changed: 118 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ PRINT "% BBS Screen Creator Written By Russ Campbell
9090
LOCATE 12, 24
9191
PRINT "% %"
9292
LOCATE 13, 24
93-
PRINT "% Final Version 11 Release Candidate RC2 %"
93+
PRINT "% Final Version 13 Release Candidate RC2 %"
9494
LOCATE 14, 24
9595
PRINT "% %"
9696
LOCATE 15, 24
@@ -171,11 +171,25 @@ CLS
171171
PRINT
172172
inputscreen1:
173173
CLS
174+
PRINT "Do you wish to use pre-selected colors or use your own sets "
175+
PRINT "Of color selections: (10) color schemes can be customised."
176+
177+
PRINT "This sction is for entering your own color schemes , it is "
178+
PRINT "for selecting either Preselected or your own colors."
179+
PRINT
180+
PRINT "If you want random colors, choose [N]o as your answer."
174181
PRINT
175-
PRINT "Enter your own colors [Y]es or [N]o [Defaults to [Y]es : "
182+
PRINT "However if you want to enter your own colors , then enter"
183+
PRINT " N as your choice of color selection"
184+
PRINT
185+
PRINT "Do you wuish to use random colors? [Y]es or [N]o [Defaults to [N]o "
176186
answer$ = INPUT$(1)
177187
answer$ = UCASE$(answer$)
178-
IF answer$ = "N" THEN GOTO inputscreen
188+
IF answer$ = "N" THEN randome$ = "N"
189+
IF answer$ = "" THEN randome$ = "N"
190+
IF answer$ = "N" THEN GOTO prompts
191+
IF answer$ = "Y" THEN randome$ = "Y": GOTO inputscreen
192+
GOTO inputscreen1
179193
prompts:
180194
CLS
181195
PRINT
@@ -185,7 +199,6 @@ PRINT "of loading a saved file or creating a totally new filename. You do not ha
185199
PRINT "to write over any existing files, and the program will be fool proof."
186200
PRINT
187201
PRINT "Load or [C]reate User Data file or [X]xit Program"
188-
PRINT "[No extenders Please !!!!!! ] : "
189202
answer$ = INPUT$(1)
190203
database$ = UCASE$(answer$)
191204
IF database$ = "L" THEN GOTO filen
@@ -220,14 +233,16 @@ INPUT "Brackets Foreground [From 0 to 15] : ", usercolorentry_t2
220233
PRINT
221234
PRINT
222235
COLOR usercolorentry_t2, usercolorentry_g2
223-
PRINT "[A]";: COLOR 7, 0: COLOR 7, 0
224-
PRINT
236+
PRINT "[";: COLOR 7, 0: COLOR 7, 0
237+
PRINT "A";
238+
COLOR usercolorentry_t2, usercolorentry_g2
239+
PRINT "]";: COLOR 7, 0: COLOR 7, 0
225240
PRINT
226241
PRINT "Is This acceptable [Y]es or [N]o : "
227242
answer$ = INPUT$(1)
228243
answer$ = UCASE$(answer$)
229244
IF answer$ = "N" THEN GOTO back2
230-
245+
rand:
231246
CLS
232247
PRINT
233248
PRINT "Do you wish to have multi colors randomly chosen for everything else"
@@ -237,7 +252,10 @@ PRINT
237252
PRINT "Choose either [R]andom or [U]ser Set Patterns : "
238253
answer$ = INPUT$(1)
239254
answer$ = UCASE$(answer$)
240-
IF answer$ = "R" THEN GOTO inputscreen
255+
IF answer$ = "R" THEN random$ = "Y": GOTO inputscreen
256+
IF answer$ = "U" THEN randome$ = "N": GOTO combos
257+
GOTO rand
258+
combos:
241259
CLS
242260
PRINT
243261
PRINT "Please enter 8 different color combinations for the display , be creative : "
@@ -251,14 +269,13 @@ DO WHILE INKEY$ = ""
251269
LOOP
252270
GOSUB enteryourbackground
253271
GOSUB whatyouget
254-
GOSUB randomscreen
272+
GOSUB randomchoice
255273
GOSUB create
256274

257275
PRINT "Press any key to continue...."
258276
DO WHILE INKEY$ = ""
259277
LOOP
260278
inputscreen:
261-
262279
CLEAR
263280
CLS
264281
PRINT "Demo files that are available are: "
@@ -288,13 +305,13 @@ displays:
288305
CLS
289306
PRINT "Output display [A] Ansi [B] Wildcat BBS [C] PCboard BBS "
290307
PRINT "Output Display [D] Syncronet BBS [E] Mystic BBS : " 'which BBS display the user wants
291-
display$ = INPUT$(1)
292-
display$ = UCASE$(display$)
293-
IF display$ = "A" THEN display = "ansi": GOTO menu
294-
IF display$ = "B" THEN display = "wc8": GOTO menu ' select display coding by what the user types in
295-
IF display$ = "C" THEN display = "pcb": GOTO menu
296-
IF display$ = "D" THEN display = "syn": GOTO menu
297-
IF display$ = "E" THEN display = "mys": GOTO menu
308+
displaychoice$ = INPUT$(1)
309+
displaychoice$ = UCASE$(displaychoice$)
310+
IF displaychoice$ = "A" THEN display = "ansi": GOTO menu
311+
IF displaychoice$ = "B" THEN display = "wc8": GOTO menu ' select display coding by what the user types in
312+
IF displaychoice$ = "C" THEN display = "pcb": GOTO menu
313+
IF displaychoice$ = "D" THEN display = "syn": GOTO menu
314+
IF displaychoice$ = "E" THEN display = "mys": GOTO menu
298315
GOTO displays
299316
startit:
300317

@@ -469,7 +486,7 @@ IF display = "wc8" THEN
469486
CLS
470487
PRINT #2, "@0" + "0@" + "@CLS@"
471488
' set background to black
472-
COLOR 0, 0
489+
COLOR 7, 0
473490
END IF
474491
IF display = "pcb" THEN
475492
' clear screen
@@ -481,51 +498,68 @@ IF display = "syn" THEN
481498
' clear screen
482499
CLS
483500
' set background to black
484-
COLOR 0, 0
501+
COLOR 7, 0
485502
END IF
486503
IF display = "mys" THEN
487504
' clear screen
488505
CLS
489506
' set background to black
490-
COLOR 0, 0
507+
COLOR 7, 0
491508
END IF
492509
DO UNTIL EOF(1)
493510
LINE INPUT #1, lnumber
511+
IF randome$ = "Y" THEN GOSUB trulyrandom
512+
IF randome$ = "N" THEN GOSUB randomchoice
513+
494514
FOR i = 1 TO LEN(lnumber)
495-
b = MID$(lnumber, i, 1) ' Calculates the ascii value of every character in the line
496515

516+
b = MID$(lnumber, i, 1) ' Calculates the ascii value of every character in the line
497517
IF display = "wc8" THEN
498518
GOSUB specialcharacters3
499519
GOSUB specialcharacters2
500-
GOSUB displ
501520
IF flag$ = "Y1" THEN
502-
colorchange = 1
503-
ELSEIF flag$ = "Y2" THEN
504521
GOSUB colorchange
505-
colorchange = colorchange + 1
522+
COLOR t1, g1
523+
GOSUB displ
524+
IF colorchanges = 1 THEN
525+
PRINT #2, backgroundcolorbbs + foregroundcolorbbs + b;
526+
PRINT b;
527+
ELSEIF colorchanges = 0 THEN
528+
PRINT #2, b;
529+
PRINT b;
530+
colorchanges = 0
531+
END IF
506532
END IF
507-
IF colorchange > 0 THEN
508-
PRINT #2, backgroundcoloransi + foregroundcoloransi + b;
509-
PRINT b;
510-
colorchange = 0
533+
IF flag$ = "Y2" THEN
534+
GOSUB colorchange
535+
COLOR t1, g1
536+
GOSUB displ
537+
IF colorchanges = 1 THEN
538+
PRINT #2, backgroundcolorbbs + foregroundcolorbbs + b;
539+
PRINT b;
540+
ELSEIF colorchanges = 0 THEN
541+
PRINT #2, b;
542+
PRINT b;
543+
colorchanges = 0
544+
END IF
545+
END IF
546+
IF flag$ = "Y3" THEN
547+
GOSUB colorchange
548+
COLOR t, g
549+
IF colorchanges = 1 THEN
550+
PRINT #2, backgroundcolorbbs + foregroundcolorbbs + b;
551+
PRINT b;
552+
colorchanges = 0
553+
END IF
554+
IF colorchanges = 0 THEN
555+
PRINT #2, b;
556+
PRINT b;
557+
END IF
511558
END IF
512559
END IF
513560
NEXT i
514561
PRINT #2, ""
515562
PRINT
516-
IF flag$ = "Y1" THEN
517-
colorchange_y = 1
518-
g1 = usercolorentry_g1
519-
t1 = usercolorentry_t1
520-
x = y
521-
COLOR y, x
522-
ELSEIF flag$ = "Y2" THEN
523-
colorchange_y = 1
524-
g2 = usercolorentry_g2
525-
t2 = usercolorentry_t2
526-
x = y
527-
COLOR y, x
528-
END IF
529563
LOOP
530564
fini:
531565
closeit:
@@ -577,7 +611,7 @@ PRINT "on Facebook at many of the groups"
577611
PRINT "I am in , or email me at"
578612
PRINT "rcamp48@rogers.com"
579613
PRINT
580-
PRINT "Thank you for using BBS Menu Color Scheme Creator 11 RC2"
614+
PRINT "Thank you for using BBS Menu Color Scheme Creator 13 RC2"
581615
PRINT
582616
END
583617
pick:
@@ -773,29 +807,21 @@ IF b = CHR$(94) OR b = CHR$(43) OR b = CHR$(37) OR b = CHR$(126) OR b = CHR$(45)
773807
flag$ = "Y1"
774808
ELSEIF b = CHR$(91) OR b = CHR$(93) THEN
775809
flag$ = "Y2"
810+
ELSE
811+
flag$ = "Y3"
776812
END IF
777813
RETURN
778814
colorchange:
779815
IF flag$ = "Y1" THEN
780816
g1 = usercolorentry_g1
781817
t1 = usercolorentry_t1
782-
x = g1
783-
y = t1
784-
COLOR y1, x1
785-
colorchanges = 1
786818
ELSEIF flag$ = "Y2" THEN
787819
g2 = usercolorentry_g2
788820
t2 = usercolorentry_t2
789-
790-
x = g2
791-
y = t2
792-
ELSE
793-
g = x
794-
t = y
795-
COLOR y, x
796-
colorchanges = 1
821+
ELSEIF flag$ = "Y3" THEN
822+
g = usercolorentry_g
823+
t = usercolorentry_t
797824
END IF
798-
799825
RETURN
800826

801827

@@ -914,7 +940,7 @@ GOSUB background
914940
INPUT "Color # 6 Background [From 0 to 7] : ", color6background
915941
INPUT "Color # 6 Foreground [From 0 to 15] : ", color6foreground
916942
PRINT
917-
COLOR color6foreground, color6foreground
943+
COLOR color6foreground, color6background
918944
PRINT "[------------------]";: COLOR 7, 0: COLOR 7, 0
919945
PRINT
920946
PRINT "Is This acceptable [Y]es or [N]o : "
@@ -1007,42 +1033,59 @@ answer$ = UCASE$(answer$)
10071033
IF answer$ = "N" THEN GOTO inputscreen1
10081034
GOSUB create
10091035
RETURN
1010-
randomscreen:
1036+
randomchoice:
10111037
RANDOMIZE TIMER
10121038
randoms = INT(RND(1) * 7) + 1
10131039
IF randoms = 1 THEN
1014-
g = color1background
1015-
t = color1foreground
1040+
usercolorentry_g = color1background
1041+
usercolorentry_t = color1foreground
10161042
ELSEIF randoms = 2 THEN
1017-
g = color2background
1018-
t = color2foreground
1043+
usercolorentry_g = color2background
1044+
usercolorentry_t = color2foreground
10191045
ELSEIF randoms = 3 THEN
1020-
g = color3background
1021-
t = color3foreground
1046+
usercolorentry_g = color3background
1047+
usercolorentry_t = color3foreground
10221048
ELSEIF randoms = 4 THEN
1023-
g = color4background
1024-
t = color4foreground
1049+
usercolorentry_g = color4background
1050+
usercolorentry_t = color4foreground
10251051
ELSEIF randoms = 5 THEN
1026-
g = color5background
1027-
t = color5foreground
1052+
usercolorentry_g = color5background
1053+
usercolorentry_t = color5foreground
10281054
ELSEIF randoms = 6 THEN
1029-
g = color6background
1030-
t = color6foreground
1055+
usercolorentry_g = color6background
1056+
usercolorentry_t = color6foreground
10311057
ELSEIF randoms = 7 THEN
1032-
g = color7background
1033-
t = color7foreground
1058+
usercolorentry_g = color7background
1059+
usercolorentry_t = color7foreground
10341060
ELSEIF randoms = 0 THEN
1035-
g = color8background
1036-
t = color8foreground
1061+
usercolorentry_g = color8background
1062+
usercolorentry_t = color8foreground
10371063
END IF
10381064
RETURN
1065+
trulyrandom:
1066+
g1 = INT(RND(1) * 7) + 1
1067+
t1 = INT(RND(1) * 15) + 1
1068+
g2 = INT(RND(1) * 7) + 1
1069+
t2 = INT(RND(1) * 15) + 1
1070+
g = INT(RND(1) * 7) + 1
1071+
t = INT(RND(1) * 15) + 1F
1072+
IF g = t THEN GOTO trulyrandom
1073+
IF g1 = t1then GOTO trulyrandom
1074+
IF g2 = t2 THEN GOTO trulyrandom
1075+
IF g = g1 OR g = g2 THEN GOTO trulyrandom
1076+
IF t = t1 OR t = t2 THEN GOTO trulyrandom
1077+
RETURN
10391078
create:
10401079
CLS
10411080
PRINT
10421081
PRINT "Do you wish to save a configuration file for later on [Y] or [N] : "
1043-
answer$ = UCASE$(answer$)
1082+
answer = UCASE$(answer$)
10441083
IF answer$ = "N" THEN GOTO inputscreen
10451084
PRINT
1085+
PRINT "Enter Data for program."
1086+
PRINT
1087+
INPUT "Enter Filename [No extender : ", files$
1088+
PRINT
10461089
PRINT "Saving data............"
10471090
PRINT
10481091
OPEN filename$ FOR OUTPUT AS #4
8.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)