home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Brotikasten
/
BROTCD01.iso
/
games
/
dis595.d64
/
kassetteninhalt
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
1995-07-31
|
940b
|
40 lines
10 REM *** (C)'84 BY A. KNIPSCHILD ***
15 :
20 PRINT"[147]AUSGABE AUF D[146]RUCKER"
30 PRINT"ODER B[146]ILDSCHIRM ?"
40 POKE198,0:WAIT198,1:GETA$
50 IFA$="D"THENDV=4:GOTO80
60 IFA$="B"THENDV=0:GOTO80
70 GOTO16
80 C=56328:POKEC+7,PEEK(C+7)AND127
90 POKEC+6,PEEK(C+6)OR128:POKEC+3,0
100 TM=1856:ZM=416:T1=900:Z1=242
110 A=(TM-((T1*ZM)/Z1))/(ZM^2-(Z1*ZM))
120 B=(T1/Z1)-(Z1*A)
130 PRINT"[147]CASSETTENINHALT:[154]"
140 PRINT"PRESS PLAY[146] ON TAPE"
150 WAIT1,48,48:PRINT"[147]"
160 IFDV=4THENOPEN1,4:CMD1
170 POKEC+2,M:POKEC+1,S:POKEC,0
180 OPEN2,1,0:CLOSE2
190 M=PEEK(C+2):S=PEEK(C+1)
200 T=(INT(M/16)*10+M-INT(M/16)*16)*60
210 T=T+INT(S/16)*10+S-INT(S/16)*16-18
220 Z=INT((-B+SQR(B^2+4*A*T))/(2*A))
230 Z=Z-INT(Z/110):IFZ<0THENZ=0
240 Z$=RIGHT$("000"+MID$(STR$(Z),2),3)
250 A$="":FORI=0TO15
260 A$=A$+CHR$(PEEK(I+833)):NEXT
270 A$=A$+"[146][154]"
280 BY=PEEK(831)+256*PEEK(832)
290 BY=BY-PEEK(829)-256*PEEK(830)
300 PG$="???"
310 IFPEEK(828)=1THENPG$="PGM":GOTO340
320 IFPEEK(828)=4THENPG$="FILE":GOTO340
330 IFPEEK(828)=3THENPG$="MPGM"
340 PRINTZ$TAB(4)A$;
350 IFPG$<>"FILE"THENPRINTTAB(22)BY;
360 IFPG$<>"FILE"THENPRINTTAB(28)"BYTES";
370 PRINTTAB(35)PG$
380 GOTO170