Tillbaka till svenska Fidonet
English   Information   Debug  
R20_SPRAK.ENGLISH   0/1
R20_SQUISH   107
R20_TEST   2
R20_WORST_OF_FIDONET   12
RAR   0/9
RA_MULTI   106
RA_UTIL   0/162
REGCON.EUR   0/2055
REGCON   0/13
SCIENCE   0/1206
SF   0/239
SHAREWARE_SUPPORT   0/5146
SHAREWRE   0/14
SIMPSONS   0/169
STATS_OLD1   0/2539.065
STATS_OLD2   0/2530
STATS_OLD3   0/2395.095
STATS_OLD4   0/1692.25
SURVIVOR   0/495
SYSOPS_CORNER   0/3
SYSOP   0/84
TAGLINES   0/112
TEAMOS2   0/4530
TECH   0/2617
TEST.444   0/105
TRAPDOOR   0/19
TREK   0/755
TUB   0/290
UFO   0/40
UNIX   0/1316
USA_EURLINK   0/102
USR_MODEMS   0/1
VATICAN   0/2740
VIETNAM_VETS   0/14
VIRUS   0/378
VIRUS_INFO   0/201
VISUAL_BASIC   0/473
WHITEHOUSE   0/5187
WIN2000   0/101
WIN32   0/30
WIN95   0/4277
WIN95_OLD1   0/70272
WINDOWS   0/1517
WWB_SYSOP   0/419
WWB_TECH   0/810
ZCC-PUBLIC   0/1
ZEC   4

 
4DOS   0/134
ABORTION   0/7
ALASKA_CHAT   0/506
ALLFIX_FILE   0/1313
ALLFIX_FILE_OLD1   0/7997
ALT_DOS   0/152
AMATEUR_RADIO   0/1039
AMIGASALE   0/14
AMIGA   0/331
AMIGA_INT   0/1
AMIGA_PROG   0/20
AMIGA_SYSOP   0/26
ANIME   0/15
ARGUS   0/924
ASCII_ART   0/340
ASIAN_LINK   0/651
ASTRONOMY   0/417
AUDIO   0/92
AUTOMOBILE_RACING   0/105
BABYLON5   0/17862
BAG   135
BATPOWER   0/361
BBBS.ENGLISH   0/382
BBSLAW   0/109
BBS_ADS   0/5290
BBS_INTERNET   0/507
BIBLE   0/3563
BINKD   0/1119
BINKLEY   0/215
BLUEWAVE   0/2173
CABLE_MODEMS   0/25
CBM   0/46
CDRECORD   0/66
CDROM   0/20
CLASSIC_COMPUTER   0/378
COMICS   0/15
CONSPRCY   0/899
COOKING   28576
COOKING_OLD1   0/24719
COOKING_OLD2   0/40862
COOKING_OLD3   0/37489
COOKING_OLD4   0/35496
COOKING_OLD5   9370
C_ECHO   0/189
C_PLUSPLUS   0/31
DIRTY_DOZEN   0/201
DOORGAMES   0/2022
DOS_INTERNET   0/196
duplikat   6000
ECHOLIST   0/18295
EC_SUPPORT   0/318
ELECTRONICS   0/359
ELEKTRONIK.GER   1534
ENET.LINGUISTIC   0/13
ENET.POLITICS   0/4
ENET.SOFT   0/11701
ENET.SYSOP   33806
ENET.TALKS   0/32
ENGLISH_TUTOR   0/2000
EVOLUTION   0/1335
FDECHO   0/217
FDN_ANNOUNCE   0/7068
FIDONEWS   23548
FIDONEWS_OLD1   0/49742
FIDONEWS_OLD2   0/35949
FIDONEWS_OLD3   0/30874
FIDONEWS_OLD4   0/37224
FIDO_SYSOP   12847
FIDO_UTIL   0/180
FILEFIND   0/209
FILEGATE   0/212
FILM   0/18
FNEWS_PUBLISH   4200
FN_SYSOP   41525
FN_SYSOP_OLD1   71952
FTP_FIDO   0/2
FTSC_PUBLIC   0/13586
FUNNY   0/4886
GENEALOGY.EUR   0/71
GET_INFO   105
GOLDED   0/408
HAM   0/16053
HOLYSMOKE   0/6791
HOT_SITES   0/1
HTMLEDIT   0/71
HUB203   466
HUB_100   264
HUB_400   39
HUMOR   0/29
IC   0/2851
INTERNET   0/424
INTERUSER   0/3
IP_CONNECT   719
JAMNNTPD   0/233
JAMTLAND   0/47
KATTY_KORNER   0/41
LAN   0/16
LINUX-USER   0/19
LINUXHELP   0/1155
LINUX   0/22012
LINUX_BBS   0/957
mail   18.68
mail_fore_ok   249
MENSA   0/341
MODERATOR   0/102
MONTE   0/992
MOSCOW_OKLAHOMA   0/1245
MUFFIN   0/783
MUSIC   0/321
N203_STAT   900
N203_SYSCHAT   313
NET203   321
NET204   69
NET_DEV   0/10
NORD.ADMIN   0/101
NORD.CHAT   0/2572
NORD.FIDONET   189
NORD.HARDWARE   0/28
NORD.KULTUR   0/114
NORD.PROG   0/32
NORD.SOFTWARE   0/88
NORD.TEKNIK   0/58
NORD   0/453
OCCULT_CHAT   0/93
OS2BBS   0/787
OS2DOSBBS   0/580
OS2HW   0/42
OS2INET   0/37
OS2LAN   0/134
OS2PROG   0/36
OS2REXX   0/113
OS2USER-L   207
OS2   0/4785
OSDEBATE   0/18996
PASCAL   0/490
PERL   0/457
PHP   0/45
POINTS   0/405
POLITICS   0/29554
POL_INC   0/14731
PSION   103
R20_ADMIN   1117
R20_AMATORRADIO   0/2
R20_BEST_OF_FIDONET   13
R20_CHAT   0/893
R20_DEPP   0/3
R20_DEV   399
R20_ECHO2   1379
R20_ECHOPRES   0/35
R20_ESTAT   0/719
R20_FIDONETPROG...
...RAM.MYPOINT
  0/2
R20_FIDONETPROGRAM   0/22
R20_FIDONET   0/248
R20_FILEFIND   0/24
R20_FILEFOUND   0/22
R20_HIFI   0/3
R20_INFO2   2806
R20_INTERNET   0/12940
R20_INTRESSE   0/60
R20_INTR_KOM   0/99
R20_KANDIDAT.CHAT   42
R20_KANDIDAT   28
R20_KOM_DEV   112
R20_KONTROLL   0/13067
R20_KORSET   0/18
R20_LOKALTRAFIK   0/24
R20_MODERATOR   0/1852
R20_NC   76
R20_NET200   245
R20_NETWORK.OTH...
...ERNETS
  0/13
R20_OPERATIVSYS...
...TEM.LINUX
  0/44
R20_PROGRAMVAROR   0/1
R20_REC2NEC   534
R20_SFOSM   0/340
R20_SF   0/108
Möte SCIENCE, 1206 texter
 lista första sista föregående nästa
Text 902, 345 rader
Skriven 2006-10-17 23:11:08 av DAVID WILLIAMS (1:250/514)
     Kommentar till en text av Miles Maxted
Ärende: Re: Daylight Saving Time
================================
I found a version of that sundial-designing program of mine that runs 
in QBasic under DOS. If you have an antique PC, and especially if you 
have an old Epson-type dot-matrix printer, you should be able to use it 
to design a dial for use in NZ, or anywhere else. 
  
                            dow 
  
--------------------------------------------------------- 
  
' SUNDIAL.BAS.  David Williams. 2002 
' david.williams@ablelink.org 
  
DECLARE SUB Lcopy11 () 
DECLARE SUB KeyPause () 
DECLARE SUB Choice (N%, C%, L$) 
DECLARE FUNCTION YesNo$ () 
  
CLS 
DEFDBL A-Z 
PRINT "This program designs a horizontal sundial, for use at any" 
PRINT "location. Three diagrams are produced. The first is the" 
PRINT "horizontal plate, showing the hour lines. This should be" 
PRINT "mounted so the north-south line shown on the design is aligned" 
PRINT "true north-south, pointing away from the nearer pole (so the" 
PRINT "line should point southward in the northern hemisphere)." 
PRINT 
PRINT "The second diagram is a template for the sundial's gnomon." 
PRINT "This should be mounted in a north-south vertical plane, in a" 
PRINT "line with the north-south line on the horizontal plate. The" 
PRINT "left end of the base of the gnomon should be at the point" 
PRINT "where all the hour-lines intersect. The sloping edge of the" 
PRINT "gnomon will be pointing at the nearer celestial pole, i.e. at" 
PRINT "the Pole Star in the northern hemisphere." 
PRINT 
PRINT "The third diagram is produced only if you have selected that" 
PRINT "the dial show clock time. It is a graph that shows the number" 
PRINT "of minutes that must be added to the dial reading to make it" 
PRINT "agree with a clock." 
PRINT 
PRINT "When the program pauses at any point (such as right now)," 
PRINT "press any key to continue." 
CALL KeyPause 
CLS 
PRINT "You can select whether to have the diagrams appear only on the" 
PRINT "screen, or if they should also be printed by an Epson-type" 
PRINT "printer, and/or saved to disk for later printing by some other" 
PRINT "utility. If you select to save them to disk, you will be asked" 
PRINT "for a filename. Suppose you select FNAME. The three files on" 
PRINT "disk will be named FNAME.DG1, FNAME.DG2 and FNAME.DG3. The" 
PRINT "files are BSAVEd from screen memory. The first seven bytes of" 
PRINT "each file contain addresses, etc.. The rest is a string of" 
PRINT "bytes that are the bytes in memory representing the SCREEN 11" 
PRINT "image." 
CALL KeyPause 
CLS 
PRINT "Should the dial show <c>lock or local <s>olar time? "; 
DO 
  K$ = LCASE$(INKEY$) 
LOOP UNTIL K$ = "c" OR K$ = "s" 
PRINT K$ 
PRINT 
PI = 4 * ATN(1) 
PI2 = PI / 2 
DR = PI / 180 
RH = PI / 12 
PRINT "Use negative numbers for directions opposite from those shown." 
INPUT "Latitude (deg. N)"; LT 
IF K$ = "c" THEN 
  INPUT "Longitude (deg. E)"; LG 
  INPUT "Time Zone Offset (hours ahead of GMT)"; TZ 
  A0 = TZ * RH - DR * LG 
ELSE 
  A0 = 0 
END IF 
ST = SIN(DR * LT) 
C% = 0 
PRINT 
PRINT "Should the dial be printed on Epson-type printer"; 
IF YesNo$ = "Y" THEN 
  C% = 1 
  BEEP 
  PRINT "Ensure printer is ready, then press any key." 
  PRINT 
  CALL KeyPause 
END IF 
PRINT "Should screens be saved to disk, for later printing"; 
IF YesNo$ = "Y" THEN 
  DO 
    INPUT "Filename (8 chars max, no suffix)"; F$ 
    IF LEN(F$) > 0 AND LEN(F$) < 9 AND INSTR(F$, ".") = 0 THEN 
      EXIT DO 
    ELSE 
      BEEP 
      PRINT 
      PRINT "Illegal entry!" 
      PRINT 
    END IF 
  LOOP 
  C% = C% OR 2 
END IF 
' draw horizontal sundial plate 
SCREEN 11 
CLS 
IF K$ = "c" THEN 
  NH% = 12 + TZ - LG / 15 
ELSE 
  NH% = 12 
END IF 
FOR X% = NH% - 7 TO NH% + 7 
  A = RH * (X% - 12) - A0 
  Q% = SGN(A * LT) 
  D = ABS(A) - PI2 
  IF ABS(D) < .0000000001# THEN 
     AZ = PI2 * Q% 
  ELSE 
     AZ = ATN(ST * TAN(A)) 
     IF D > 0 THEN AZ = AZ + PI * Q% 
  END IF 
  ' AZ is direction of hour-line in radians clockwise from pole 
  SZ = SIN(AZ) / 2 
  CA = AZ + ATN(SZ / SQR(1 - SZ * SZ)) 
  ' CA is direction from centre of dial to end of hour line 
  CS = SIN(CA) 
  CC = COS(CA) 
  LOCATE 15.2 - 13.5 * CC, 40.5 + 27.5 * CS 
  PRINT MID$(STR$(X% + 12 * (X% > 12)), 2); 
  LINE (320, 340)-(320 + 200 * CS, 240 - 200 * CC) 
NEXT 
CIRCLE (320, 240), 200 
CIRCLE (320, 240), 239 
LINE (320, 340)-(320, 479) 
LOCATE 26, 39 
PRINT "N - S"; 
LOCATE 27, 38 
PRINT "L I N E"; 
CALL Choice(1, C%, F$) 
'draw gnomon template 
'gnomon size makes shadow of tip just reach 
'circumference of dial at noon on summer solstice. 
CLS 
AT = 23.5 * DR' axial tilt 
R = 150 / COS(AT)' radius of circumscribed circle (locus of tip) 
A = 2 * ABS(LT) * DR - AT' tip angle above horizontal wrt centre 
PX% = R * COS(A) 
PY% = 300 - R * (SIN(AT) + SIN(A)) 
SELECT CASE PX% 
  CASE IS > 150 
    ZX% = 150 
  CASE IS < -75 
    ZX% = -75 
  CASE ELSE 
    ZX% = PX% 
END SELECT 
XS% = 357 - ZX% \ 2 
OX% = XS% - 150 
PX% = PX% + XS% 
ZX% = ZX% + XS% 
PRINT TAB(27); "GNOMON TEMPLATE"; 
LINE (OX%, 300)-(PX%, PY%) 
LINE (OX%, 300)-(ZX%, 300) 
LINE (ZX%, 300)-(PX%, PY%) 
L$ = "South" 
R$ = "North" 
IF LT < 0 THEN SWAP L$, R$ 
LOCATE 20, 21 
PRINT L$; " <-      Base      -> "; R$ 
PRINT 
PRINT TAB(15); "Gnomon should be in North-South vertical plane, with " 
PRINT TAB(15); L$; " end of base at intersection of hour lines."; 
CALL Choice(2, C%, F$) 
IF K$ = "c" THEN ' do equation of time if clock time selected 
  ' draw equation of time graph 
  CLS 
  PRINT TAB(30); "EQUATION OF TIME" 
  PRINT 
  PRINT 
  PRINT TAB(15); "Graph shows difference in minutes between clock" 
  PRINT TAB(15); "and sundial time. Positive difference means" 
  PRINT TAB(15); "clock is ahead of sundial, and vice versa." 
  DC = 8 * ATN(1) / 365 
  LOCATE 16, 67 
  PRINT "-="; 
  FOR T = -20 TO 15 STEP 5 
    LINE (137, 247 - 6.4 * T)-(530, 247 - 6.4 * T) 
    LOCATE 16 - T / 2.5, 14 
    PRINT RIGHT$(" " + STR$(T), 3); 
    IF T = 0 THEN PRINT " ="; 
  NEXT 
  LOCATE 9, 20 
  PRINT "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"; 
  T = 0 
  D = 0 
  FOR M = 0 TO 384 
    IF M = T THEN 
      LINE (147 + M, 128)-(147 + M, 375) 
      READ L 
      T = T + L 
    ELSE 
      Q = D + 2 * SIN((D - 2) * DC) 
      Z = 9.8 * SIN(2 * (Q + 11) * DC) + 7.7 * SIN((Q - 2) * DC) 
      PSET (147 + M, 247 - 6.4 * Z) 
      D = D + 1 
    END IF 
    IF L = 33 AND M = T - 18 THEN M = M + 1 
  NEXT 
  DATA 33,29,33,31,33,31,33,33,31,33,31,33,0 
  CALL Choice(3, C%, F$) 
END IF 
SCREEN 0 
END 
  
SUB Choice (N%, C%, F$) 
  IF C% AND 2 THEN 
    F1$ = F$ + ".DG" + RIGHT$(STR$(N%), 1) 
    DEF SEG = &HA000 
    BSAVE F1$, 0, 80& * 480 
    DEF SEG 
  END IF 
  IF C% AND 1 THEN 
    CALL Lcopy11 
  ELSE 
    CALL KeyPause 
  END IF 
END SUB 
  
SUB KeyPause 
   DO WHILE INKEY$ <> "" 
   LOOP 
   DO WHILE INKEY$ = "" 
   LOOP 
END SUB 
  
SUB Lcopy11 
  
' Copies monochrome SCREEN 11 image to printer, with printed image 
' aligned with long axis across the page. Note: To fit on 8-inch 
' wide paper, 32-pixel margins on both sides are not printed. 
  
  DEFINT A-Y 
  DEFLNG Z 
  
  DIM V(0 TO 7), A(0 TO 7, 4 TO 75)' col's 0-3 and 76-79 not printed 
  
  V(7) = 1  ' reVerse-order bits 
  FOR X = 7 TO 1 STEP -1 
    V(X - 1) = V(X) + V(X) 
  NEXT 
  
  F = FREEFILE 
  OPEN "PRN" FOR BINARY AS F 
  
  DEF SEG = &HA000 
  OUT &H3CE, 4 
  OUT &H3CF, 0 
  
  N$ = STRING$(8, 0)                    ' 8 nulls for empty square 
  
  E$ = CHR$(27)                         ' ESC character 
  
  L$ = E$ + "C" + CHR$(0) + CHR$(11)    ' page length = 11 inches 
  PUT F, , L$ 
  
  L$ = E$ + "A" + CHR$(8)               ' set printer to 8/72 lpi 
  PUT F, , L$ 
  
  Z = 4 
  
  FOR S = 0 TO 59  ' 60 stripes, each 8 rows deep 
  
    N = -1             ' null-stripe flag 
  
    FOR R = 0 TO 7             ' read 8 rows into array 
      FOR C = 4 TO 75 
        A(R, C) = PEEK(Z) 
        IF N THEN IF A(R, C) THEN N = 0 
        Z = Z + 1 
      NEXT 
      Z = Z + 8 
    NEXT 
  
    IF NOT N THEN    ' not null stripe 
  
      L$ = E$ + "*" + CHR$(5) + MKI$(576)  ' set plotter mode 
      PUT F, , L$ 
  
      FOR C = 4 TO 75 
        Q = 0 
        FOR R = 0 TO 7 
          IF A(R, C) THEN Q = 1: EXIT FOR 
        NEXT 
        IF Q THEN       ' not null square 
          FOR Y = 0 TO 7    ' analyse 8 bits per byte 
            B = 0 
            FOR R = 0 TO 7  ' 8 bytes to be analysed 
              IF A(R, C) AND V(Y) THEN B = B OR V(R) 
            NEXT R 
            L$ = CHR$(B)  ' send byte to printer 
            PUT F, , L$ 
          NEXT Y 
        ELSE    ' null square 
          PUT F, , N$ 
        END IF 
      NEXT C 
  
    END IF 
  
    L$ = CHR$(13) + CHR$(10)            ' terminate line (stripe) 
    PUT F, , L$ 
  
  NEXT S 
  
  L$ = CHR$(12)                         ' form feed 
  PUT F, , L$ 
  
  L$ = E$ + "@"                         ' reset printer 
  PUT F, , L$ 
  
  CLOSE F 
  
  DEF SEG 
  
END SUB 
  
DEFDBL A-Z 
FUNCTION YesNo$ 
    PRINT "? (y/N) "; 
    T$ = " YyNn" + CHR$(13) 
    DO 
    LOOP UNTIL INKEY$ = "" 
    DO 
      K$ = INKEY$ 
    LOOP UNTIL INSTR(T$, K$) > 1 
    IF K$ = CHR$(13) THEN 
      K$ = "N" 
    ELSE 
      K$ = UCASE$(K$) 
    END IF 
    PRINT K$ 
    PRINT 
    YesNo$ = K$ 
END FUNCTION 
  
------------------------------------------------------ 
--- Platinum Xpress/Win/WINServer v3.0pr5
 * Origin: The Bayman BBS,Toronto, (416)698-6573 - 1:250/514 (1:250/514)