Basic 2.2

This commit is contained in:
Joerg Deckert 2014-05-18 19:57:12 +02:00
parent 9ea01465cb
commit cbee494fe7
196 changed files with 3591 additions and 2794 deletions

2
.gitattributes vendored
View File

@ -5,7 +5,7 @@
*.spin text
*.bat text eol=crlf
*.BAS text eol=crlf
*.TXT text eol=crlf
DATA.DAT text eol=crlf
*.MAP binary

Binary file not shown.

Binary file not shown.

Binary file not shown.

34
data/BACKREST.TXT Normal file
View File

@ -0,0 +1,34 @@
5 WSET 0:CROFF
10 COL 0,55,$56:CLS
15 MOUSE 1,0
18 STILE 15
20 WIN c(1,255,55,88,0,0,39,29,3,0,"Demonstration von Backup und Restore")
30 FONT "Was koennte man mit diesen Funktionen",55,0,0,0,4
40 FONT "so anstellen? Na zum Beispiel dieses",55,0,0,0,5
50 FONT "Fenster darstellen und im Vordergrund",55,0,0,0,6
60 FONT "ein zweites Fenster oeffnen,um zum Bsp.",55,0,0,0,7
70 FONT "einen Hinweistext anzuzeigen",55,0,0,0,8
80 FONT "Das ist noch nicht sehr spektakulaer, ",55,0,0,0,12
90 FONT "aber wenn das Fenster geloescht wird,",55,0,0,0,13
100 FONT "stellen wir den Hintergrund wieder her!",55,0,0,0,14
110 FONT "Druecke bitte eine Taste",55,9,0,8,17
150 a=INKEY
152 b=MB 0
155 IF a=0 AND b=0 THEN GOTO 150
160 BACKUP 5,6,39,28,$30000
180 WIN c(2,0,88,99,5,6,38,27,4,1,"Infofenster")
185 COL 0,88,0
196 WSET 2
200 CLS :PRINT "Nun wollen wir das Fenster"
210 PRINT "wieder loeschen."
211 PRINT " ":PRINT " "
215 PRINT " Druecke bitte eine Taste"
220 a=INKEY
225 b=WIN
227 IF a=0 AND b<>22THEN GOTO 220
230 RECOVER 5,6,39,28,$30000
240 WSET 1
250 COL 0,55,$56
260 CRON
280 END

Binary file not shown.

Binary file not shown.

BIN
data/BENCH1.BAS Normal file

Binary file not shown.

11
data/BENCH1.TXT Normal file
View File

@ -0,0 +1,11 @@
3 CLS
5 PRINT "Warte auf Sekunde 0"
10 a=GTIME (3)
11 IF a>0 THEN GOTO 10
20 PRINT "Start"
30 FOR i=1 TO 1000
40 NEXT i
90 c=GTIME (3):d=GTIME (2)
100 PRINT "stop"
110 PRINT "Laufzeit:";c;"sek"

BIN
data/BENCH2.BAS Normal file

Binary file not shown.

BIN
data/BENCH3.BAS Normal file

Binary file not shown.

BIN
data/BENCH4.BAS Normal file

Binary file not shown.

BIN
data/BENCH5.BAS Normal file

Binary file not shown.

BIN
data/BENCH6.BAS Normal file

Binary file not shown.

BIN
data/BENCH7.BAS Normal file

Binary file not shown.

BIN
data/BENCH8.BAS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

22
data/DATA.TXT Normal file
View File

@ -0,0 +1,22 @@
10 CLS
12 DATA 10
20 READ n
30 n=n-1
40 DIM #n(n,1),a(n)
60 FOR i=0 TO n
70 READ #n(i,0),#n(i,1),a(i)
80 NEXT i
90 INPUT "Altersgrenze?:";g
100 IF g<1 THEN GOTO 90
110 PRINT "Aelter als ";g;" Jahre sind:":PRINT " "
120 FOR i=0 TO n
130 IF a(i)>g THEN PRINT #n(i,1);" ";#n(i,0);",";a(i):K=1
140 NEXT i
150 IF k=0 THEN PRINT "Keine Personen!"
160 REM Daten
210 DATA Hinz,Mario,16,Kunz,Ines,13
220 DATA Fender,Tom,23,Cohn,Sarah,19
230 DATA Tille,Hans-Juergen,34,Spaeth,Robert,20
240 DATA Schneider,Olga,67,Sachse,Caesar,12
250 DATA Fritz,Matthias,44,Schroeder,Frank,52

BIN
data/DATA1.BAS Normal file

Binary file not shown.

BIN
data/DEMO.BAS Normal file

Binary file not shown.

BIN
data/DEMO2.BAS Normal file

Binary file not shown.

0
data/DMP/Autumn.dmp Executable file → Normal file
View File

0
data/DMP/Axelf.dmp Executable file → Normal file
View File

0
data/DMP/Blade_Runner.dmp Executable file → Normal file
View File

0
data/DMP/Castlev.dmp Executable file → Normal file
View File

0
data/DMP/Chimera.dmp Executable file → Normal file
View File

0
data/DMP/Comic.dmp Executable file → Normal file
View File

0
data/DMP/Commando.dmp Executable file → Normal file
View File

0
data/DMP/CrazyC.dmp Executable file → Normal file
View File

0
data/DMP/Crockett.dmp Executable file → Normal file
View File

View File

@ -1,48 +0,0 @@
10 WSET 0
20 COL 0, 30,0:CLS :CROFF
30 CHDIR "DMP"
60 TLOAD 1,"gl4_1114.dat",11,14
70 STILE 1
100 WIN c(1,0,250,0,2,2,37,6,1,1,"")
110 POS 3,3:PRINT "Herzlich Willkommen zu Basic 2.1"
112 PAUSE 5000
115 GOSUB 10000
118 TPIC 30,0,240,29,14
120 WIN c(2,0,250,0,2,12,26,25,1,1,"")
122 PRINT "Hallo...":PAUSE 5000:CLS
130 POS 2,12:PRINT "Ich bin Robert Gluehfaden"
140 POS 2,14:PRINT "und moechte Dir die neuen"
150 POS 2,16:PRINT "Funktionen von Basic 2.1"
160 PRINT "vorstellen.":PAUSE 9000:CLS
162 PRINT "Also lehne Dich zurueck"
170 PRINT "und geniesse diese kleine"
180 PRINT "Demo, denn es gibt viel"
190 PRINT "Neues zu entdecken!"
200 TLOAD 2,"GL5_1211.dat",12,11
210 PAUSE 5000
220 WIN r(1):WIN r(2):CLS
230 STILE 2
240 GOSUB 10000
250 TPIC 30,0,240,0,14
260 WIN c(1,0,250,23,1,1,38,12,1,1,"")
270 PRINT " Womit soll ich nur anfangen?"
280 PRINT " Am Besten mit der Frage:"
290 PRINT " Was kann man mit BASIC 2.1 auf dem"
300 PRINT " HIVE denn so anstellen?"
310 PAUSE 5000
320 WIN c(2,0,250,23,14,16,38,27,1,1,"")
330 PRINT "Vielleicht Musik ?":PAUSE 3000
335 TLOAD 3,"gl1_1311.dat",13,11
340 PLAY "plastic.dmp"
350 PRINT "Bitte sehr..."
360 PAUSE 5000
370 BOX 30,0,14,12,28,0
380 STILE 3
390 TPIC 30,0,240,0,15
400 PRINT " ":PRINT "Das ist cool was?"
9999 END
10000 FOR i=60 TO 105
10010 BEEP i
10020 NEXT i
10030 RETURN

0
data/DMP/Delta.dmp Executable file → Normal file
View File

0
data/DMP/Dragons.dmp Executable file → Normal file
View File

0
data/DMP/DropGirl.dmp Executable file → Normal file
View File

0
data/DMP/EnloaGay.dmp Executable file → Normal file
View File

0
data/DMP/Flashbac.dmp Executable file → Normal file
View File

0
data/DMP/Flimbos.dmp Executable file → Normal file
View File

0
data/DMP/Fly.dmp Executable file → Normal file
View File

0
data/DMP/Foundat.dmp Executable file → Normal file
View File

0
data/DMP/Geir.dmp Executable file → Normal file
View File

0
data/DMP/Ghostb.dmp Executable file → Normal file
View File

0
data/DMP/Goodbye.dmp Executable file → Normal file
View File

0
data/DMP/Illmatic.dmp Executable file → Normal file
View File

0
data/DMP/Illuminat.dmp Executable file → Normal file
View File

0
data/DMP/Jabdah.dmp Executable file → Normal file
View File

0
data/DMP/Jazzy.dmp Executable file → Normal file
View File

0
data/DMP/Koronis.dmp Executable file → Normal file
View File

0
data/DMP/Krakow.dmp Executable file → Normal file
View File

0
data/DMP/Lambada2.dmp Executable file → Normal file
View File

0
data/DMP/Lamebada.dmp Executable file → Normal file
View File

0
data/DMP/Lax_Up.dmp Executable file → Normal file
View File

0
data/DMP/MHuman.dmp Executable file → Normal file
View File

0
data/DMP/Mariov2.dmp Executable file → Normal file
View File

0
data/DMP/Master.dmp Executable file → Normal file
View File

0
data/DMP/Material.dmp Executable file → Normal file
View File

0
data/DMP/Monday.dmp Executable file → Normal file
View File

0
data/DMP/Monty.dmp Executable file → Normal file
View File

0
data/DMP/Motorway.dmp Executable file → Normal file
View File

0
data/DMP/Mystery.dmp Executable file → Normal file
View File

0
data/DMP/NES.dmp Executable file → Normal file
View File

0
data/DMP/Ninja3.dmp Executable file → Normal file
View File

0
data/DMP/Noson.dmp Executable file → Normal file
View File

0
data/DMP/OSID.dmp Executable file → Normal file
View File

0
data/DMP/Ocean2.dmp Executable file → Normal file
View File

0
data/DMP/Ocean5.dmp Executable file → Normal file
View File

0
data/DMP/Oneman.dmp Executable file → Normal file
View File

0
data/DMP/OutRun.dmp Executable file → Normal file
View File

0
data/DMP/Oxyron.dmp Executable file → Normal file
View File

0
data/DMP/PSI-5.dmp Executable file → Normal file
View File

0
data/DMP/Plastic.dmp Executable file → Normal file
View File

0
data/DMP/Puppets.dmp Executable file → Normal file
View File

0
data/DMP/PurpleH.dmp Executable file → Normal file
View File

0
data/DMP/Robocop3.dmp Executable file → Normal file
View File

0
data/DMP/SaCastle.dmp Executable file → Normal file
View File

0
data/DMP/YieArFu.dmp Executable file → Normal file
View File

0
data/DMP/bttf.dmp Executable file → Normal file
View File

0
data/DMP/mule.dmp Executable file → Normal file
View File

0
data/DMP/spyhunt.dmp Executable file → Normal file
View File

0
data/DMP/stars.dmp Executable file → Normal file
View File

0
data/DMP/viewkill.dmp Executable file → Normal file
View File

Binary file not shown.

View File

@ -1,14 +1,14 @@
Syntax Error !
Wrong Linenumber !
Wrong Parameter !
Break in Line
DATA Error !
Break in Line
DATA Error !
File-Read-Error !
No Programm in Memory !
File exist! Overwrite? y/n
Bye !!!
in Line:
SD-Card
SD-Card
Recursion Error !
Invalid Comparsion !
Missing THEN !
@ -22,7 +22,7 @@ Out of DATA Error !
File-Open-Error !
File-Delete-Error !
File can't Rename !
Function Error !
Function Error !
Wrong Filename !
Missing Parameter FOR !
Missing TO !
@ -37,7 +37,7 @@ Missing Point !
<Key? / ESC >
File-Read-Error !
Missing Equal Sign !
* Vers.2.10-02/2014 *
* Vers.2.20-05/2014 *
F1HELP F2LOAD F3SAVE F4DIR F5RUN F6LIST
-Basic-Bytes-Free *
Datei(en)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
data/Fontkc.dat Normal file

Binary file not shown.

BIN
data/GETIP.BAS Normal file

Binary file not shown.

View File

@ -1,13 +0,0 @@
ADSR-SID-Soundfunktionen
Syntax:
ADSR <chan>,<attack>,
<decay>,<sustain>,
<release>
Huellkurve fuer Kanal
<chan> einstellen
attack-Anstiegszeit,
decay-Abfallzeit bis
sustainlevel,
release-Ausklingzeit

View File

@ -1,12 +0,0 @@
CUT-SID-Soundfunktionen
Syntax:
CUT<expr>,<expr>
Cutoff-Frequenz und Reso-
nazwert des
Filters setzen
(0-1100),(0-15)
Bsp.:
CUT 345,10

View File

@ -1,13 +0,0 @@
FLT-SID-Soundfunktionen
Syntax:
FLT <lp>,<hp>,<bp>
Filtertyp setzen
lp=Lowpass,
hp=Highpass,
bp=Bandpass
HINWEIS:
-1=gesetzt
0=nicht gesetzt

View File

@ -1,12 +0,0 @@
FMASK-SID-Soundfunktionen
Syntax:
FMASK<chan1>,<chan2>,
<chan3>
FMASK legt fest, welche
Kanaele den gewaehlten
Filtertyp benutzen
sollen.
-1=setzen
0=nicht setzen

View File

Some files were not shown because too many files have changed in this diff Show More