home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG009.ARC
/
1985MAY.CAT
< prev
next >
Wrap
Text File
|
1979-12-31
|
53KB
|
1,103 lines
.mt 1
.mb 1
.HM 0
.op
$1.50 RECOMMENDED
RETAIL PRICE
Registered for transmission
by post as a periodical
Publication No: VBH 6579.
Vo∞ 3« N≥ 8 MAY, 1985
FROM THE CHIEF MBUG 1
FROM THE EDITOR'S KEYBOARD 2
BASIC PROGRAM LISTING MORSE.MWB 3
MICROWORLD BASIC PROGRAMMING TIPS 5
PASCAL FOR BASIC PROGRAMMERS PART IV 6
AUTOMATIC DATING FOR WORDSTAR PART II 8
FROM ANOTHER MUG 10
Z80 SOME INSIDE INFORMATION 11
MICROBEE TWIN SCREEN EDITOR 14
FOR SALE IN THE BAZAAR 15
RCPM COLUMN 16
BASIC 20 LINE PROGRAM ENTRY 17
LAST MEETING 18
MBUGS
PRESIDENT Grant Forest 874-8728
VICE-PRESIDENT Andrew Reid 836-0316
SECRETARY John Buxton 758-5744
MEMBERSHIP SECRETARY Jim Lobley 758-9169
TREASURER Kevin Carr 233-4629
TAPE LIBRARIAN Wal Hansen 318-1883
EDITOR Andrew Barfoot 758-4822
BULLETIN BOARD 7 X 24 HRS 873-5734
---------------------------------------------------------------
| ADDRESSES FOR CORRESPONDENCE |
---------------------------------------------------------------
| |
| OFFICIAL ADDRESS |
| MBUG AUSTRALIA INC. P.O. 157, NUNAWADING .VIC 3131. |
| |
---------------------------------------------------------------
| FOR OTHER CONTACTS AND ADDRESSES SEE INSIDE COVER |
---------------------------------------------------------------
| THE CATCHER is published by MBUG AUSTRALIA INCORPORATED |
| All copyrights are reserved by MBUG AUST INC |
---------------------------------------------------------------
NEX╘ MEETING ║ JUNE 12th
TIME & PLACE : 7:30 pm, MOUNT WAVERLEY COMMUNITY CENTRE
Corner STEPHENSONS and MILLER Mt. WAVERLEY (opp station)
NEXT TO LIBRARY MELWAY REFRENCE 70 E 1
.OP
.PO0
.HE ---- T H E C A T C H E R ---
TO : MBUG AUSTRALIA,
The Membership Secretary, 26 Alexander Cr., Ferntree Gully. 3156
èI would like to - join MBUG AUSTRALIA [ ]
renew my subscription to M.A. [ ]
NAME :________________________________________________
ADDRESS :________________________________________________
________________________________________________
TELEPHONE :__________________ SYSTEM :_________________
HARDWARE :____________________________________________
[ ] $20 Melbourne subscription per year.
[ ] $17 Non-city subscription per year.
[ ] A$20 New Zealand subscription per year.
[ ] $10 Tape Library membership (payment only required once)
[ ] I would like a receipt, please
-------------------------------------------------------------
| |
| SERVICES PROVIDED BY MBUG AUSTRALIA |
|-----------------------------------------------------------|
| TAPE LIBRARY * P.O. BOX 45 CANTERBURY 3126 |
|-----------------------------------------------------------|
| EDITOR * 10 CONN St. FERNTREE GULLY 3156 |
|-----------------------------------------------------------|
| $2.0░áPE╥ S/W TAP┼ FO╥ ON┼ MONTH¼ RETURNED NEXT MEETING.|
| $5.00 PER SIG/M VOLUME, WE SUPPLY THE DISK. |
| $4.00 PER BLANK 5" DISKETTE (DSDD) |
|-----------------------------------------------------------|
| ADVERTISEMENTS * P.O. BOX 157 NUNAWADING 3131 |
| $80.00 FULL PAGE $40.00 HALF PAGE $25.00 QUARTER PAGE |
| $3.00 FOR SERVICE AND RECURRENT ITEMS (LESS THAN 5 LINES) |
| FREE FOR ADVERTISEMENTS THAT ARE NOT RECURRING ITEMS |ì
|-----------------------------------------------------------|
| MODEM HIRE * JOHN BUXTON 758-5744 |
| $5.00 FIRST WEEK THEN $10.00 EACH ADDITIONAL WEEK |
| PLUS $25.00 DEPOSIT |
|-----------------------------------------------------------|
| BAZAAR * MICK HOLZINGER 354-6742 P.O. BOX 253 COBURG 3058|
|-----------------------------------------------------------|
| $1.50 PER C30 TAPE OR $25.00 PER BOX OF 20. |
| $1.50 BACK ISSUES OF CATCHER VOL 1 NO 1 PRINTED OCT 82 |
|-----------------------------------------------------------|
| DISKETTE COPYING * GRANT FOREST 874-8728 |
|-----------------------------------------------------------|
| 5"TO 8" OR 8"TO 5" MOST FORMATS $2.00 PER DISKETTE |
|-----------------------------------------------------------|
| FOR ALL POSTAL ORDERS ADD $1.50 MINIMUM |
-------------------------------------------------------------
.PN1
.PO0
FROM-THE-CHIEF-MICROBUG---FROM-THE-CHIEF-MICROBUG--FROM-THE-CHIEF-MBUG
Therσá ha≤ beeε ß trenΣ ove≥ thσ las⌠ si° month≤ t∩ increasingl∙ cate≥ ì
fo≥á thσ CP/═ anΣ morσ experienceΣ member≤ oµ thσ club«á Wσ havσá beeε ì
neglectfu∞ iε addressinτ thσ need≤ oµ thσ majorit∙ oµ thσ members¼ wh∩ ì
d∩ no⌠ havσ disδ system≤ o≥ modems¼ wσ intenΣ t∩ remed∙ thi≤ situatioε ì
b∙ havinτ a⌠ leas⌠ 1░ ne≈ program≤ iε thσ tapσ librar∙ eacΦ month¼ anΣ ì
notif∙ yo⌡ iε thσ curren⌠ month'≤ CATCHE╥ wha⌠ thesσ ne≈ program≤á do« ì
Aεá u≡á t∩ datσ librar∙ listinτ wil∞ bσ publisheΣ ever∙ tw∩ month≤á s∩ ì
tha⌠ mai∞ orderinτ wil∞ bσ ß lo⌠ easier«á Anothe≥ neglecteΣ grou≡ arσ ì
thσá non-cit∙á member≤ a≤ ß lo⌠ oµ informatioε i≤ shareΣ oεá thσá maiε ì
meetinτá nigh⌠á tha⌠ doe≤ no⌠ ge⌠ int∩ thσ CATCHER«á GRE╟á BLAC╦á wil∞ ì
producσ ß columε indicatinτ wha⌠ ha≤ happeneΣ oε thσ meetinτ night¼ a≤ ì
ß summar∙ oµ relevan⌠ informatioε fo≥ thσ countr∙ members«á Thi≤á wil∞ ì
star⌠á nex⌠ month«á Iµ yo⌡ havσ an∙ idea≤ fo≥ thi≤ ne≈ columεá contac⌠ ì
me¼á anΣ ╔ wil∞ pas≤ theφ oε t∩ Greg¼ o≥ contac⌠ Greτ viß thσ BULLETI╬ ì
BOARD«á I⌠á i≤á ou≥á intentioε t∩ havσ a≤ man∙á differen⌠á column≤á a≤ ì
possible¼á s∩ tha⌠ regardles≤ oµ you≥ locatioε o≥ experiencσ leve∞ yo⌡ ìèwil∞ alway≤ finΣ somethinτ oµ interes⌠ eacΦ montΦ iε thσ CATCHER« Thσ ì
presen⌠ section≤ are:--
--------------------------------------------------------------------
ⁿ M┘ COLUM╬ ⁿ RCP═ ⁿ LAS╘ MEETIN╟ ⁿ A.T« COLUM╬ ⁿ CENTRE PAG┼ |
--------------------------------------------------------------------
Nex⌠ montΦ wσ wil∞ add:-
--------------------------------------
ⁿ ├ GROU╨ ⁿ BAZAA╥ ⁿ TAP┼ LIBRAR┘ |
--------------------------------------
Wha⌠ wσ reall∙ wan⌠ i≤ someonσ t∩ takσ carσ oµ ß beginner≤ columε e.g« ì
t∩á collatσ anΣ chasσ u≡ thσ answer≤ t∩ thσ man∙ HELP'≤ wσ publisΦ anΣ ì
bσá prepareΣá t∩ bσ ß foca∞ poin⌠ a⌠ thσ maiε meetinτ t∩á receivσá thσ ì
question≤ froφ thσ members« Yo⌡ wil∞ no⌠ bσ expecteΣ t∩ answe≥ al∞ thσ ì
enquirie≤ bu⌠ recorΣ al∞ question≤ oε thσ HEL╨ POSTE╥ s∩ tha⌠ the∙ caε ì
bσá answereΣá later«á Yo⌡á don'⌠ havσ t∩ bσ ßá proficien⌠á write≥á no≥ ì
excellen⌠á spelle≥á (looδ wha⌠ ╔ ge⌠ awa∙ with)«á Iε thσá interiφá al∞ ì
committeσ member≤ wil∞ havσ namσ tag≤ s∩ tha⌠ yo⌡ caε chasσ theφ u≡ a⌠ ì
thσ maiε meeting«á Pleasσ d∩ no⌠ hun⌠ mσ dowε oε thσ night¼ a≤ mos⌠ oµ ì
thσ question≤ arσ redirecteΣ t∩ anothe≥ committeσ member≤á anyway«á Wσ ì
wil∞á no⌠ havσ thσ MAI╬ HAL╠ nex⌠ meeting¼á s∩ ß ma≡ wil∞ bσ displayeΣ ì
nea≥ thσ fron⌠ doo≥ indicatinτ wherσ thσ differen⌠ activitie≤ are.
WHA╘ I╙ O╬ NEX╘ MEETING
├ GROU╨ witΦ HAROL─ FRODSHAM¼ (H╔ TEC╚ 'Cº availablσ fo≥ $110.00)
PASCA╠ GROU╨ clas≤ b∙ STEPHE╬ JEPPSO╬
JI═ DUF╞ wil∞ bσ demonstratinτ hi≤ USE─ CA╥ packagσ writteε iε dbaseII
RAYMON─ HA╬ VITA╠ demonstration(Thank≤ t∩ A.T.)
WitΦá thσ increaseΣ amoun⌠ oµ program≤ anΣ article≤ t∩ t∩á bσá proofeΣ ì
anΣá revieweΣá wσá wil∞á bσá takinτ al∞ relevan⌠á S/╫á t∩á thσá FOURT╚ ì
WEDNESDA┘á meeting«á Thi≤á meetinτá iε thσ pas⌠ ha≤á catereΣá fo≥á thσ ì
'advancedº BE┼ anΣ DGO╙ (haven'⌠ useΣ tha⌠ worΣ fo≥ ß while⌐ users« Iµ ì
yo⌡ wan⌠ t∩ revie≈ contribution≤ fo≥ thσ CATCHE╥ brinτ alonτ you≥á BE┼ ì
H/╫á etπá anΣá hel≡á u≤ producσ aε eveε bette≥á CATCHER«á It≤á ßá ver∙ ì
informa∞ nigh⌠ anΣ doe≤ no⌠ havσ thσ standarΣ offering≤ a≤ thσá SECON─ ì
WEDNESDA┘ MEETIN╟ e.g« TAP┼ LIBRARY¼ BAZAA╥ etc¼ bu⌠ i⌠ doe≤ offe≥ yo⌡ ì
ß chancσ t∩ exchangσ idea≤ anΣ revie≈ informatioε fo≥ thσ CATCHER.
A> GRANT
FROM-THE-CHIEF-MICROBUG---FROM-THE-CHIEF-MICROBUG--FROM-THE-CHIEF-MBUG
FROM THE EDITORS KEYBOARD
Sincσá takinτ ove≥ thi≤ joΓ ╔ havσ beeε floodeΣ witΦá informatioε ì
anΣ materia∞ fo≥ thσ CATCHER«á Iε aε effor⌠ t∩ catcΦ u≡ oε latσ issue≤ ì
╔á havσá inadvertentl∙ pu⌠ thσ item≤ oε SMARTKE┘ ª DATING╙ iεá iεá thσ ì
wronτá order«á Ove≥á thσ nex⌠ fe≈ issue≤ therσ wil∞ b∙ quitσ ß lo⌠á oµ ì
informatioε abou⌠ thesσ subjects« Iµ yo⌡ woulΣ likσ t∩ kno≈ morσ abou⌠ ì
theφ anΣ arσ no⌠ prepareΣ t∩ wai⌠ thσ 1▓ month≤ i⌠ wil∞ takσ t∩á cove≥ ì
theφ, the∙á wil∞á bσ availablσ oε orde≥ froφ thσ BAZAA╥ a⌠á ßá nomina∞ ì
cost.
I⌠á ha≤á beeε brough⌠ t∩ thσ attentioε oµ thσ commiteσá tha⌠á no⌠ ì
enougΦá attentioεá i≤á beinτá giveε t∩ thσá ne≈á BE┼á owne≥á o≥á thosσ ì
interesteΣ onl∙ iε BASI├ programming« ╔ wil∞ bσ tryinτ t∩ pu⌠ morσ anΣ ì
morσá BASI├á informatioε int∩ thσ Catche≥ iε future«á Iε thi≤ issuσá ╔ ì
havσá includeΣ somσ question≤ anΣ answer≤ ╔ founΣ oε thσá RBBS«á ╔á aφ ì
doinτá thi≤á t∩ anΣ cate≥ fo≥ thosσ oµ yo⌡ wh∩ d∩ no⌠ havσ ß modeφá o≥ ì
ma∙ no≈ havσ thσ problem≤ tha⌠ other≤ haΣ in the past.
Anothe≥ poin⌠ t∩ remembe≥ i≤ tha⌠ thi≤ i≤ YOU╥ magazine«á Wσ wan⌠ ì
anΣá neeΣá you≥ input«á Withou⌠ i⌠ wσ coulΣ enΣ u≡ jus⌠á caterinτá fo≥ ì
thosσ member≤ witΦ disδ baseΣ machines¼á modems¼á S10░ board≤ o≥ thosσ ì
witΦá enougΦ mone∙ t∩ afforΣ fanc∙ hardwarσ anΣ software«á Thi≤ i≤ no⌠ ì
ou≥ aim«á Wσ wan⌠ t∩ looδ afte≥ al∞ oµ you«á I⌠ remind≤ mσ oµ ß sigε ╔ ì
sa≈á iε ß sho≡ onσ day«á I⌠ reaΣ "I╞ YO╒ LIK┼ OU╥ SERVIC┼ TEL╠á OTHER╙ ì
I╞ YO╒ DON'╘ -- TEL╠ US.ó S∩ ho≈ abou⌠ it¼á TEL╠ U╙ wha⌠ yo⌡á want«á ì
Belo≈á i≤á aε addres≤ yo⌡ caε senΣ you≥ letter≤ to¼á s∩ firσá u≡á you≥ ì
WORDBEEs¼ WORDSTAR╙ o≥ sharpeε you≥ pencil≤ anΣ dro≡ ß line to
THE EDITOR
MBUG AUSTRALIA INCè C/O 10 CONN STREET
FERNTREE GULLY Vic. 3156.
**************************
LETTER TO THE EDITOR
Dear Sir,
╔á reaΣ witΦ interes⌠ thσ "PROO╞ THA╘ ▒ EQUAL╙ 2ó iε thσ MarcΦ ì
issuσá oµá Catche≥á bu⌠á ╔ aφá unimpresseΣá anΣá offe≥á thσá followinτ ì
redifinition.
LET X = 1
THEN X^2 = 1
From this it follows that
X - 1 = 0
and X^2 -1 = 0
therefore X^2 -1 = X -1
factorising the left hand side gives
(X - 1) (X + 1) = X -1
divide both sides by X - 1
(X - 1) (X + 1) = X - 1
______________ _____
X - 1 X - 1
giving X + 1 = 1
or X = 1 - 1
therefore X = 0
NOT X = 2 AS PREVIOUSLY CLAIMED !!!!!! JIM LOBLEY.
MORSE CODE
00100 POKE140,1:REM morse code program bob denton 200185
00110 T=75 :REM 90 msecs note at 835 hz. default speed
00120 Z=1152 :REM address of sound program
0013░ L=3▓ :RE═ decima∞ valuσ oµ lowes⌠ cha≥ iε morsσ array
00140 J=127 :REM decimal value of delete key
00150 DIM M1(60):STRS(1000):M6$=" "
00160 RESTORE1140:FORA=ZTOZ+50:READB:POKEA,B:NEXTA
00170 RESTORE960:FORI=0TO59:READM1$(I):NEXTI
00180 RESTORE1110:READM2$,M3$:M4$=M2$+M3$
00190 REM ***** main program *****
0020░ POKE220,52:CLS:PRINTSPC(14)"Morsσ codσ prograφ b∙ BoΓ Denton"
00210 PRINT\SPC(26);:UNDERLINE:PRINT"M E N U":NORMAL
0022░áPRINT\"DE╠á ╜á error«á Othe≥á key≤ arσá ?.123456789░á anΣá al∞ ì
alphabetics"
00230 PRINT\SPC(11)"1 = Speed select 5 = Enter message"
00240 PRINTSPC(11)"2 = Pitch select 6 = Output message"
00250 PRINTSPC(11)"3 = Keyboard morse 7 = Exit program"\SPC(11)
"4 = FOX message"
00260 PRINT\SPC(11)"INPUT YOUR CHOICE?"
00270 K1$=KEY:IFK1$=""THEN270ELSELETF=INT(VAL(K1$))
00280 ONFGOSUB890,650,320,810,720,850,300
00290 GOTO200
00300 POKE220,111:POKE140,0:CLS:END
00310 REM ***** keyboard morse program *****
00320 PRINT"Keyboard ready."\"Press <Return> to finish."
00330 POKE257,1:K1$=KEY:IFK1$=""THEN330ELSELETK=ASC(K1$)-L
00340 IFK=J-L:K=I:GOTO370
00350 IFK=13-LTHENRETURN
00360 IFK<0ORK>I-1THEN330
00370 GOSUB530
00380 GOTO330
00390 REM ***** output string *****
00400 VAR(M5$):POKE220,52
00410 IFE<0:E=-EELSEIFE=0:E=1
0042░ IFE>1THENPRINT"Pres≤ <Return╛ a⌠ enΣ oµ linσ t∩ finisΦ early"
00430 FORD=1TOE
00440 PRINTD" ";
00450 FORC=1TOLEN(M5$):K=ASC(M5$(;C,C))-L:IFK<0ORK>I-1THEN470
00460 GOSUB530
00470 NEXTC
00480 PRINTè00490 K1$=KEY:IFASC(K1$)=13THENNEXT* D 510
00500 NEXTD
00510 RETURN
00520 REM ***** tone and space generator *****
00530 W=T/3 :REM set ratio of dit time to space time
00540 IFM1$(K)="0"THENRETURN
00550 IFK<>0THENPRINTCHR(K+L);ELSEPRINT" ";:RETURN
00560 I0$=M1$(K)
00570 FORX=1TOLEN(I0$):M=INT(VAL(I0$(;X,X)))
00580 IFM=3:M=2 :REM set ratio between dits and dahs
00590 U=USR(Z,T*256+M) :REM generate tone
00600 U=USR(Z+2,W*256+1) :REM wait between tones. =1/3 dit
00610 NEXTX
00620 U=USR(Z+2,W*256+2) :REM wait between characters. =2/3 dit
00630 RETURN
00640 REM ***** set pitch program *****
00650 POKE220,111:PRINT"The default value for pitch is 124 at 835 HZ"
00660 PRINT"The current value is ";PEEK(Z+5)
00670 INPUT"Enter a value between 20 (high) and 255 (low)"B
00680 IFB<20ORB>255THEN670
00690 POKEZ+5,B:POKEZ+6,B:POKEZ+22,B:POKEZ+23,B
00700 RETURN
00710 REM ***** enter user message *****
00720 POKE220,111:IFM6$=" "THEN770
00730 PRINT"The current message is "\M6$
00740 PRINT"Do you want to enter a new message?"
00750 POKE257,1:K1$=KEY:IFK1$=""THEN750
00760 IFK1$<>"Y"THENRETURN
0077░áPRINT"Ente≥ámessagσ u≡ t∩ 18░ácharacter≤ includinτ spaces"
:INPUTó "M6$
00780 IFM6$="":M6$=" "
00790 RETURN
00800 REM ***** FOX generator program *****
00810 POKE220,111:INPUT"How many times for FOX message?"E
00820 GOSUB[M4$]400
00830 RETURN
00840 REM ***** output user message *****
00850 POKE220,111:INPUT"How many times for your message?"E
00860 GOSUB[M6$]400
00870 RETURN
00880 REM ***** set speed program *****
00890 POKE220,111:PRINT"The default value for speed is 75"
00900 PRINT"The current value is ";T
00910 INPUT"Enter a value between 20 (fast) and 255 (slow)";T
00920 IFT<20ORT>255THEN910ELSERETURN
00930 REM data for morse character array
00940 REM a "0" produces no tone
00950 REM characters ! " # $ % & '
00960 DATA "space","0","0","0","0","0","0","0"
00970 REM characters ( ) * + , -
00980 DATA "0","0","0","0","0","0"
00990 REM characters . / 0 1 2 3 4
01000 DATA "131313","0","33333","13333","11333","11133","11113"
01010 REM characters 5 6 7 8 9 : ;
01020 DATA "11111","31111","33111","33311","33331","0","0"
01030 REM characters < = > ? @ A B C D
01040 DATA "0","0","0","113311","0","13","3111","3131","311"
01050 REM characters E F G H I J K L
01060 DATA "1","1131","331","1111","11","1333","313","1311"
01070 REM characters M N O P Q R S T
01080 DATA "33","31","333","1331","3313","131","111","3"
01090 REM characters U V W X Y Z error
01100 DATA "113","1113","133","3113","3133","3311","11111111"
01110 DATA "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOGS BACK"
01120 DATA " 1234567890 !#$%&()*+,-./:;<=>?@"
01130 REM tone generator program machine code
01140 DATA 24,17,104,69,17
01150 REM default pitch valuesè01160 DATA 124,124
01170 DATA 21,32,253,29,32,253,16,245,13,32,241,201,104,69,17
01180 REM default pitch values
01190 DATA 124,124
01200 DATA 219,2,203,247,211,2,21,32,253,203,183,211,2,29,32
01210 DATA 253,16,235,13,32,231,201,0,0,0,0,0
01220 REM P=pitch value and T=speed value which is the number
01230 REM of sound cycles in a note.
01240 REM 3375 is Microbee crystal speed in KHZ
01250 REM thus the PITCH = 3375/((32*P)+70) KHZ
01260 REM and DIT time = T((32*P)+70)/3375 milliseconds
01270 REM default pitch is 0.835 KHZ
01280 REM and default speed is 90 milliseconds per dit
BASIC TIP
RUN A BASIC PROGRAM AFTER NEW COMMAND
Therσá arσ tw∩ way≤ t∩ ruε ß BASI├ prograφ afte≥ thσ NE╫á commanΣ ì
has been given. First by POKING. This is used in immediate mode
1: POKE 1758,0 : POKE 1759,63 : POKE 2304,0 : POKE 2305,1 : FOR X =
2307 TO 16348 : IF PEEK (X) = 255 AND PEEK (X-1) = 255 THEN POKE
2259,X/256 : POKE 2258,X-256*(X/256) ELSE NEXT X
OR
2: ENTER MONITOR (PRESS RESET & M) then
A 0900 <CR> 00 01 <ESC> S 0900 7FFF FF FF <CR>
ABCD location of FF FF
A 08D2 <CR> CD AB <ESC> G 8021 <CR>
PASCAL CLASSES
PASCA╠ CLASSE╙ wil∞ begiε a⌠ thσ nex⌠ meetinτ anΣ wil∞ bσ conducteΣ b∙ ì
STEV┼á JEPSON«á Al∞ potentia∞ PASCA╠ hacker≤ wh∩ arσ interesteΣ shoulΣ ì
brinτ thei≥ Bees¼á leads¼ etπ a≤ thi≤ clas≤ wil∞ bσ conducteΣ oε ß onσ ì
t∩á onσ basis«á I⌠ wil∞ cate≥ fo≥ botΦ RO═ anΣ TURB╧ PASCA╠ s∩á anyonσ ì
caε attenΣ. Iµ yo⌡ havσ eithe≥ typσ yo⌡ wil∞ bσ welcome.
QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ
DUE TO A TYPO THIS PROBLEM IS PRESENTED AGAIN......
Placσá tw∩á book≤á togethe≥ oε thσ shelf«á Pu⌠ theφ iεá thσá followinτ ì
order«á T∩ thσ left¼á thσ MICROBE┼ TECHNICA╠ MANUAL« T∩ thσ right¼ thσ ì
MICROBE┼ DIS╦ SYSTE═ MANUAL« ┴ bookworφ start≤ eatinτ a⌠ pagσ ▒ oµ thσ ì
TECHNICA╠ MANUAL anΣ chew≤ hi≤ wa∙ iε ß straigh⌠ linσ t∩ thσ las⌠ pagσ ì
oµ thσ DIS╦ MANUAL«á Iµ eacΦ cove≥ i≤ 1mφ thicδ anΣ thσ insidσ oµ eacΦ ì
manua∞ i≤ 20mφ thick¼ ho≈ fa≥ wil∞ thσ bookworφ trave∞ ?
QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ
PASCAL_FOR_BASIC_PROGRAMMERS.
Dixon Kenney
PART IV.
Let'≤á continuσá oε witΦ thσ Bankinτ program«á Here'≤á thσá nex⌠ ì
versioε oµ it.
1ááááPrograφ Banking_3;
2áááá√ *¬ Versioε 3 oµ thσ Bankinτ prograφ read≤ transactions
3áááá *¬ int∩ aε array¼ anΣ print≤ ou⌠ ß Banδ statement« I⌠ will
4áááá *¬ givσ ß warninτ at the end of the run iµ thσ accoun⌠
** i≤ overdrawε }
6ááááConst
á7áááá Ma° ╜ 10╗ √ uppe≥ limi⌠ fo≥ numbe≥ oµ èáááááá transactions }
á9ááááVar
10áááá CustNamσ ║ String[20];
11áááá AccNum¼ Inde° ║ Integer;
12 áá OpBalance¼ Transaction¼ CBalancσ ║ Real;
13áááá Tran≤á ║áarra∙█▒.«Ma°▌oµ Real;
15ááááBegiε √ oµ maiε prograφ }
16áááá ClrScr╗ √ Typσ iε transactioε detail≤ }
17áááá Writeln╗ Writeln;
18 ááá Write('Custome≥ Namσ ║ ')╗ Readln(CustName);
19áááá Write('Accoun⌠ Numbe≥ ║ ')╗ Readln(AccNum);
20áááá Write('Openinτ Balance║ ')╗ Readln(OpBalance);
21áááá CBalancσá:╜áOpBalance╗á√assigε OpBalancσát∩árunninτ Balancσ}
22áááá Writeln('Typσ iε Transactioε amount≤ ');
23áááá Fo≥ Inde° :╜ ▒ t∩ Ma° do
24áááá Begin
25 áá Write('Transactioε '¼ Index:3¼ º ║ ');
26 Readln(Trans[Index])
27áááá End╗ √ oµ transactioε typσ iε }
29áááá ClrScr╗ √ Prin⌠ ou⌠ thσ statemen⌠ }
30áááá Writeln('Accoun⌠ Number':20¼ 'Custome≥ Name':20);
31áááá Writeln;
32áááá Writeln(AccNum:20¼ CustName:20);
33áááá Writeln;
35áááá Writeln('Debits':15¼ 'Credits':15¼ 'Balance':15);
36 ááá Writeln('Openinτ Balance':15¼ º ':15¼ OpBalance:15:2);
37áááá Fo≥ Inde° :╜ ▒ t∩ Ma° d∩ √Prin⌠ ou⌠ transaction≤ ª balance≤}
38áááá Begin
39áááá CBalancσ :╜ CBalancσ ½ Trans[Index];
40áááá Iµ Trans[Index▌ ╝ 0.░ then
41áááá Writeln(Trans[Index]:15:2¼ º ':15¼ CBalance:15:2)
42áááá Else
43áááá Writeln(º ':15¼ Trans[Index]:15:2¼ CBalance:15:2)
44áááá End╗ √ writinτ ou⌠ transaction≤ ª balances }
46áááá Writeln;
47áááá Iµ CBalancσ ╝ 0.░ theε √ prin⌠ ou⌠ ß nast∙ messagσ }
48áááá Writeln('You≥ accoun⌠ i≤ overdrawε !');
50ááááEnd« √ *¬ Prograφ Bankinτ 3 }
Iεá Linσ 7¼á wσ arσ defininτ ß variablσ a≤ ß maximuφ numbe≥á - oµ ì
course¼á thσ labe∞ i≤ choseε fo≥ ou≥ conveniencσ - i⌠ mean≤ nothinτ t∩ ì
thσá computer«á B∙ defininτ ß variable¼á anΣ theε usinτ i⌠ throughou⌠ ì
thσ program¼á wσ onl∙ havσ t∩ makσ onσ changσ iµ wσ wan⌠ t∩ havσá morσ ì
transaction≤á - wσá don'⌠ havσ t∩ searcΦ througΦ thσ wholσ prograφá t∩ ì
changσ parameters¼ anΣ hopσ tha⌠ we'vσ founΣ thσ lot.
Iε Linσ 13¼ wσ definσ aε array« Aε arra∙ iε Pasca∞ caε bσ oµ an∙ ì
Datßá Type╗á the∙á arσ no⌠ limiteΣ t∩ beinτ defineΣá iεá thσá standarΣ ì
types«á Noticσ ║á a⌐ thσ worΣ ARRAY╗ b⌐ thσ usσ oµ squarσ bracket≤ t∩ ì
definσá thσ inde° oµ thσ array╗á c⌐ thσ lowe≥ anΣ uppe≥ bound≤ oµá thσ ì
arra∙á arσá separateΣ b∙ 2ô ful∞ stops╗á d⌐ wσ mus⌠ usσ thσ worΣ O╞á t∩ ì
introducσ thσ datß type╗ e⌐ thσ datß type.
áááááááááIε BASIC¼á thσ DI═ statemen⌠ assume≤ ß lowe≥á bounΣ ì
áááááááááoµ ░ o≥ 1¼á dependinτ oε thσ versioε oµ BASI├ used« ì
áááááááááOnl∙ thσ uppe≥ bounΣ i≤ defined«á Thσ datß typσ i≤ ì
ááááááááádefineΣá b∙ thσ variablσ - althougΦ iε BE┼ BASI├á ß ì
ááááááááástrinτ arra∙ i≤ defineΣ iε ß wa∙ whicΦ i≤ distinct-ì
ááááááááály different from other BASICS.
Thσá bound≤ caε bσ defineΣ b∙ constants¼á a≤ i≤ donσá here«á Thσ ì
lowe≥ bounΣ oµ thσ arra∙ - herσ i⌠ i≤ ▒ - neeΣ no⌠ bσ ░ o≥ 1╗ wσ coulΣ ì
definσ aε arra∙ a≤ lyinτ betweeε 1╡ anΣ 3▓ iµ wσ wished.
Iε Linσ 3╖ wσ begiε ß compounΣ FO╥ statement«á Noticσ thσ usσ oµ ì
thσ BEGI╬ .« EN─ pai≥ oµ words« Here¼ EN─ iε linσ 4┤ function≤ a≤ thσ ìèdelimite≥ fo≥ thσ loo≡ beguε iε linσ 37/8.
Line≤á 4▒á anΣ 4│ arσ formatteΣ s∩ tha⌠ thσ informatioεá wil∞á bσ ì
printeΣ ou⌠ correctly« Column≤ oµ 1╡ character≤ arσ defined¼ witΦ thσ ì
irrelevan⌠ mone∙ columε beinτ blankeΣ out.
Iµ yo⌡ wanteΣ to¼ yo⌡ coulΣ se⌠ u≡ aε underlininτ line« I⌠ coulΣ ì
bσá placeΣ afte≥ line≤ 3▓ ¿ t∩ rulσ ofµ thσ custome≥ informatioεá linσ ì
)¼ 3╡ ¿ t∩ rulσ ofµ thσ columε header≤ )¼ anΣ 4┤ ¿ t∩ rulσ ofµ thσ enΣ ì
oµ thσ statemen⌠ )« I⌠ coulΣ bσ defineΣ a≤ ß constan⌠ - yo⌡ coulΣ adΣ ì
afte≥ linσ ╖
Ruler = '---'
witΦá thσ '-º beinτ repeateΣ 4╡ times¼á anΣ issuinτ ßá WRITELN(Ruler)« ì
Or you could set it up in a loop -
For Counter := 1 to 45 do
write('-');
Writeln
B∙ usinτ WRITE('-'⌐ thσ effec⌠ i≤ tha⌠ oµ ß PRINT"-"╗á statement« ì
Thσ WRITEL╬ i≤ theε necessar∙ t∩ senΣ ß CR/L╞ character«á Noticσ tha⌠ ì
iεá thi≤á loop¼á thσ terminatioε i≤ thσ semi-coloε - i⌠á i≤á ßá simplσ ì
state-ment¼ witΦ onl∙ onσ statemen⌠ afte≥ thσ loo≡ i≤ se⌠ up¼ s∩ therσ ì
i≤ n∩ neeΣ fo≥ ß BEGI╬ .« EN─ pair« Thσ 45¼ oµ course¼ i≤ 15+15+15.
Dating 2: Automatic dating of Documents in Wordstar
Continuinτá witΦ thσ sagß oµ automaticall∙ puttinτ ß simplσ datσ oεá ß ì
lette≥ iε ß righ⌠ justifieΣ position.
Firs⌠á methoΣ previousl∙ describeΣ compriseΣ ß filσ oµ filenamσ a:datσ ì
witΦ conten⌠ "22nΣ Augus⌠ 1984ó (n∩ <CR╛ o≥ trailinτ spaces⌐ whicΦ wa≤ ì
calleΣ b∙ CNTR╠ K╥ a:date<CR╛ o≥ ".F╔ a:date"«á Thσ ".FIó approacΦ wa≤ ì
preferreΣá a≤ i⌠ pu⌠ thσ datσ a⌠ timσ oµ printinτ rathe≥ thaε oµá filσ ì
creatioεá (thσ latte≥ ofteε beinτ a⌠ leas⌠ thσ previou≤ day⌐ bu⌠á leaΣ ì
t∩ lef⌠ justificatioε (o≥ s∩ wσ thought).
SeconΣ Method:
╔á inserteΣá int∩ thσ lette≥ filσ (actuall∙ thσá SF╦á callablσá forma⌠ ì
file⌐ thσ following:
".D╞ a:date<CR>
".R╓ date<CR>
Thσ filσ "dateó haΣ identica∞ conten⌠ t∩ previous.
No≈á ╔á coulΣá inser⌠ thσ datσ an∙ placσ ╔ wanteΣá b∙á merel∙á puttinτ ì
"&date&ó iε tha⌠ placσ anΣ printinτ usinτ mergeprint.
Iµá thσá Edito≥á wil∞ prin⌠ (P⌐ (no⌠á Mergeprint⌐á anΣá suppres≤á pagσ ì
formattinτá yo⌡ wil∞ seσ belo≈ thσ forma⌠ filσ whicΦ wσ calleΣ a⌠ thσ ì
beginninτ oµ eacΦ ne≈ file« Notσ tha⌠ thσ ".OPó delete≤ pagσ numbe≥ oε ì
pagσ ▒ (oε letterhead⌐ anΣ ".HEó (whicΦ mus⌠ bσ afte≥ "textó - iε thi≤ ì
casσ <CR's>⌐ restore≤ i⌠ fo≥ pagσ 2«á Notσ als∩ Datσ occur≤ iε pagσá ▓ ì
headinτ anΣ wil∞ bσ t∩ thσ righ⌠ oµ pagσ number.
File a:/LETT1
"..
".I╟ forφ /LETT▒ t∩ holΣ forma⌠ fo≥ LETTER1
".L╚ 8
".C╫ 10
".OP
".P╞ O╬
".O╩ ONè"..
".DF a:date
".RV date
"..
".I╟ ╢ Rea∞ <CR╛ follow
".H┼ - ú - &date&
&date&
".I╟ LETTE╥ ▒ FORMAT:- Star⌠ ADDRESS¼ withou⌠ tab,
".« oε NEX╘ LIN┼ Linσ ╕ a⌠ Curso≥ position
Well¼á diΣ ╔ no⌠ stru⌠ arounΣ thσ officσ crowinτ mightily«á True¼á thσ ì
stylistiπá purist≤ pointeΣ ou⌠ tha⌠ therσ shoulΣ bσ ß commß afte≥á thσ ì
montΦá anΣ beforσ thσ yea≥ anΣ ╔ didn'⌠ havσ truσ righ⌠á justificatioε ì
thσ datσ merel∙ beinτ somewha⌠ oε thσ right«
Beinτá unwillinτ t∩ inser⌠ thσ surroundinτ quote≤ oε thσ datσ iεá thσ ì
".DFóá filσ iε fea≥ tha⌠ thσ commß woulΣ bσ interpreteΣ (i⌠á isnt⌐á a≤ ì
limitinτá thσá ".RVóá valuσ t∩ beinτ onl∙ "22nΣá Augustóá (withou⌠á "¼ ì
1984"⌐á ╔á argueΣ tha⌠ wσ werσ MODER╬ anΣ werσ doinτ awa∙á witΦá thei≥ ì
COMMO╬á pettines≤ froφ no≈ oε anΣ a≤ t∩ thσ righ⌠ justification¼á tha⌠ ì
wa≤á unavoidablσ a≤ "Decemberó i≤ longe≥ thaε "May"«á (╔á continuσá t∩ ì
work¼ iε secre⌠ anΣ onl∙ latσ a⌠ night¼ oε tha⌠ righ⌠ justification.)
Fo≥á │ day≤ al∞ wa≤ perfec⌠ unti∞ m∙ Secretar∙ correcteΣ aεá erro≥á oε ì
pagσ ▓ oµ ß lette≥ anΣ trieΣ t∩ prin⌠ onl∙ pagσ 2«á I⌠ wouldn'⌠ print« ì
┴á rea∞á disaste≥á a≤ wσ ver∙ ofteε wan⌠ t∩ prin⌠ ßá particula≥á page¼ ì
usuall∙á ßá debi⌠ notσ o≥ invoice¼á morσ time≤ thaε an∙á pagσá oµá thσ ì
lette≥ t∩ accompan∙ it« Nothinτ woulΣ persuadσ i⌠ t∩ prin⌠ anΣ callinτ ì
fo≥ pagσ ▒ onl∙ printeΣ ever∙ page.
Thσá reasoεá wa≤á ultimatel∙ discovereΣ t∩á bσá tha⌠á Mailmerge¼á wheε ì
confronteΣá b∙ ß ".DFó interpret≤ pagσ ▓ t∩ bσ thσ seconΣ (line¼á set¼ ì
group⌐ oµ datß anΣ sincσ ╔ haΣ onl∙ onσ linσ oµ datß M═ saiΣ t∩ itselµ ì
"thσá foo∞á shoulΣ kno≈ therσ isn'⌠ ß seconΣ linσ oµ datß anΣá ╔á havσ ì
nothinτ t∩ print"« S∩ i⌠ didn'⌠ print.
So¼á fo≥ ┤ month≤ wσ struggleΣ oε takinτ man∙ photocopie≤ t∩ makσá thσ ì
extrß copie≤ wσ couldn'⌠ prin⌠ o≥ discardinτ page≤ wσ didn'⌠ want.
MucΦá late≥ ╔ founΣ tha⌠ M═ ha≤ anothe≥ interpretatioε oµ "pagσ 2ó bu⌠ ì
tha⌠ i≤ anothe≥ story.
CHARLES SANDERCOCK
Iεá thσá MarcΦ issuσ i⌠ wa≤ suggesteΣ tha⌠ thσ publiπá domaiεá prograφ ì
QWIKKE┘ woulΣ d∩ simila≥ t∩ thi≤ program«á Thi≤ i≤ no⌠ thσ case«á Wheε ì
WORDSTA╥á boot≤á u≡á i⌠á destroy≤ thσ workinτ areßá iεá whicΦá QWIKKE┘ ì
operates« I⌠ woulΣ bσ quitσ usefu∞ iε ED.CO═ a≤ i⌠ caε bσ useΣ t∩ holΣ ì
string≤á anΣá theε useΣ witΦ thσ contro∞ ke∙ iε conjunctioεá witΦá thσ ì
preset character to input predefined strings. e.g. ^1 = JMP..... ED
OOPS!!í We madσ ß mistake« Iε thσ las⌠ issuσ ╔ crediteΣ ß contributioε ì
froφá WESTMU╟á t∩ NORTHMUG«á Thσ article≤ oε pagσ 1╕ (APRI╠ ISSUE⌐á a≤ ì
with the BASIC TIPS in this issue were sent to us by >>> WESTMUG <<<
ED.
FOR-SALE--FOR-SALE--FOR-SALE--FOR-SALE--FOR-SALE--FOR-SALE--FOR-SALE-
MICROBEE: TAX 85.
"Prepare and print your own Tax Return."
Thi≤á prograφ calculate≤ ta° payable¼á rebate≤ etc«á anΣ print≤ ╙ o≥ ┴ ì
Form≤á anΣá Ta° Summary«á Suit≤ 16δ BEE'≤ anΣ popula≥á printers«á Tapσ ì
$16.0░ K« Cousins¼ ╣ Mai≥ Cres¼ Korumburra¼ Vic« 3950« (05╢ 551064
FOR-SALE--FOR-SALE--FOR-SALE--FOR-SALE--FOR-SALE--FOR-SALE--FOR-SALE-
QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ
FinΣ ß numbe≥ which¼á multiplieΣ b∙ 3,6,9,12,15,18,21,24¼ o≥ 2╖ shal∞ ìèiε eacΦ casσ givσ a≤ thσ produc⌠ thσ samσ digit¼ threσ time≤ repeated.
QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ
FROM-ANOTHER-MUG:FROM-ANOTHER-MUG:FROM-ANOTHER-MUG:FROM-ANOTHER-MUG:
MODIFYING EDASM FOR 24 LINE OPERATION
by Francois Capmeil
(article supplied by Sydney Microbee User Group, review by Ray Han)
Thσá EDAS═á prograφá provideΣá b∙ ApplieΣá Technolog∙á witΦá Disδ ì
systeφá Microbeσá doe≤ no⌠ reall∙ suppor⌠ 2┤ lines«á Rathe≥á i⌠á i≤á ß ì
scrol∞á oµá 1╢ line≤ withiε ß 2┤ linσ format«á Howeve≥ onl∙ tw∩á byte≤ ì
neeΣ t∩ bσ change≤ t∩ obtaiε thσ truσ 2┤ linσ scroll.
Thσ procedure« WitΦ DDT.CO═ oε thσ samσ drivσ a≤ EDASM.CO═ type
A>DDT EDASM.COM
the next message should be :
DDT version xx
NEXT PC
1D00 0100
if this is so, you are doing OK so far.
- type S588
Thi≤á mean≤á yo⌡ wan⌠ t∩ changσ thσ conten⌠ oµ locatioεá 58╕á iεá you≥ ì
program
- when the message 588 10 is displayed
- type 18 <RET>
- type .(full stop) <RET>
- type S81C
Thi≤á mean≤á yo⌡ wan⌠ t∩ changσ thσ content≤ oµ locatioε 81├á iεá you≥ ì
program.
- when the message 81C 10 is displayed
- type 18 <RET>
- <CTRL><C>
the CP/M prompt will reappear.
type;
A>SAVE 28 TEST.COM
No≈á yo⌡á havσ ß prograφ calleΣ TEST.CO═ WhicΦ shoulΣ havσ ßá truσá 2┤ ì
linσ display« Afte≥ testinτ i⌠ yo⌡ caε RENamσ i⌠ t∩ whateve≥ yo⌡ want.
Wheε ╔ receiveΣ m∙ system¼ thσ prin⌠ functioε oµ EDAS═ diΣ no⌠ work« ╔ ì
contacteΣ Roε Harri≤ anΣ hσ tolΣ mσ ho≈ t∩ fi° this«á ╔ realiseΣ therσ ì
ma∙ stil∞ bσ some-onσ wh∩ ha≤ onσ oµ thosσ earl∙ version≤ oµ thσ EDAS═ ì
s∩ herσ i≤ ho≈ t∩ fi° it:
With DDT on the same disk as EDASM
type DDT EDASM.COM
the messafge DDT version xxx
NEXT PC
1D00 0100
should appear
- type S1C15
- the message 1C15 23 should appear if so, type 00 <RET>
iµ not¼ yo⌡ versioε i≤ probabl∙ O╦ yo⌡ shoulΣ typσ <CNTRL><C╛ t∩ exit.
iµ thσ messagσ wa≤ 1C1╢ 34¼ typσ 0░ <RET>
-type <CTRL><C> to exit
You are now back in CP/M
- type SAVE 28 TEST.COM
-test you new version before renaming it. Good luck!!!
FROM-ANOTHER-MUG:FROM-ANOTHER-MUG:FROM-ANOTHER-MUG:FROM-ANOTHER-MUG:
Z80 EXTRA INSTRUCTIONS
======================
Based on an article by Personal Software, Winter 1982.
Thσá Z8░á i≤á generall∙ recogniseΣ a≤ beinτ jus⌠ abou⌠á thσá mos⌠ ì
powerfu∞ 8-bi⌠ micr∩ around¼á anΣ it'≤ useΣ iε persona∞ computer≤ sucΦ ì
a≤á thσ Microbee¼á thσ TRS-80¼á thσ Sorcerer¼á anΣ thσá Shar≡á MZ-80K« ì
Zilog'≤á literaturσ fo≥ thσ Z8░ describe≤ it≤ repertoirσ oµ 15╕á type≤ ì
oµ instruction¼ witΦ ß tota∞ oµ 69╢ possiblσ op-code≤ (plu≤ data).
Yo⌡á ma∙á thinδ tha⌠ thi≤ shoulΣ bσ enougΦ fo≥ anyone¼á bu⌠á it'≤ ì
actuall∙á possiblσ t∩ find¼á oε mos⌠ Z80s¼á 8╕ morσ useablσá op-codes« ìèThesσ effectivel∙ givσ yo⌡ acces≤ t∩ fou≥ extrß 8-bi⌠ registers« Thσ ì
morσ machinσ codσ programminτ yo⌡ do¼á thσ morσ you'l∞ appreciatσ tha⌠ ì
yo⌡ can'⌠ havσ to∩ man∙ registers.
Z8░ ARCHITECTURE
Thσá Z8░á i≤á ß developmen⌠ oµ thσ Inte∞á 8080A¼á froφá whicΦá i⌠ ì
inherit≤ thσ A-╠ registers« Thσ seconΣ se⌠ oµ register≤ (A'-L'⌐ aren'⌠ ì
iε thσ 8080A¼ whicΦ als∩ lack≤ I╪ anΣ IY.
A≤ wel∞ a≤ thσ extrß hardware¼á thσ Z80'≤ designer≤ als∩á manageΣ ì
t∩á craφá iεá ß lo⌠ morσ instructions«á Thσ Z8░ caε perforφá al∞á thσ ì
earlie≥ micro'≤ instructions¼á usinτ thσ samσ op-codes¼á anΣ ha≤á man∙ ì
morσá oµ it≤ own«á Thσ extrß instruction≤ cove≥ feature≤ sucΦ a≤á bi⌠ ì
testing¼ relativσ jumps¼ registe≥ shift≤ anΣ blocδ move≤ oµ data« Mos⌠ ì
importantly¼á a≤ fa≥ a≤ thi≤ articlσ i≤ concerned¼ the∙ als∩ providσ ß ì
comprehensivσ se⌠ oµ indexeΣ instructions.
Thesσá hel≡á t∩á ge⌠á rounΣ ß curiou≤ limitatioεá oµá thσá 8080A¼ ì
inheriteΣ b∙ thσ Z80¼ whicΦ i≤ tha⌠ ß lo⌠ oµ reference≤ t∩ memor∙ havσ ì
t∩á usσ thσ registe≥ pai≥ H╠ a≤ ß pointer«á Thi≤ sometime≤á lead≤á t∩ ì
clums∙ programming« Fo≥ instancσ t∩ adΣ thσ content≤ oµ addres≤ 1234╚ ì
t∩ thσ Accumulator¼ wσ havσ t∩ use:
L─ HL,1234╚ ;HL=1234H
AD─ A,(HL⌐ ;A=A+DATA
Thσá Z8░ extend≤ thi≤ typσ oµ addressinτ iε orde≥ t∩ havσ aεá indexinτ ì
capacity.
INDEXE─ ADDRESSING
Iµá yo⌡á looδá a⌠ ß descriptioε oµ thσ Z80'≤á assembl∙á language¼ ì
you'l∞ seσ (╔ hope⌐ somethinτ interestinτ abou⌠ thσ wa∙ thσ micr∩ doe≤ ì
it'≤ indexing« Wheneve≥ aε instructioε ha≤ ß forφ usinτ (HL)¼ i⌠ als∩ ì
ha≤ aε indexeΣ form« Thus¼ wσ have:
L─ A,(HL⌐ L─ A,(IR+d)
BI╘ 7,(HL⌐ BI╘ 7,(IR+d)
I'φ usinτ 'IRº t∩ represen⌠ 'IXº o≥ 'IY'«á Furthermore¼á therσ arσ n∩ ì
indexeΣ instruction≤ whicΦ d∩ no⌠ havσ (HL⌐ counterparts.
╔ hopσ thσ suspicioε i≤ no≈ growinτ tha⌠ thσ tw∩ inde°á register≤ ì
anΣá H╠ arσ closel∙ related«á Thi≤ suspicioε become≤ ß certaint∙ wheε ì
wσ looδ a⌠ thσ machinσ codσ whicΦ thσ micr∩ actuall∙ executes.
Fo≥á example¼á thσ He° codσ t∩ perforφ 'AD─ A,(HL)º i≤á 84╗á thσ ì
equivalen⌠á codσ fo≥ 'AD─ A,(IX+d)º i≤ D─ 8┤ dd¼á wherσ 'ddºá i≤á thσ ì
displacemen⌠ expresseΣ iε two'≤ complemen⌠ form.
T∩ takσ anothe≥ example¼ thσ He° codσ fo≥ 'BI╘ 7,(HL)º i≤ C┬ 7E¼ ì
anΣ tha⌠ fo≥ 'BI╘ 7,(IY+d)º i≤ F─ C┬ 7┼ dd.Iµ yo⌡ stud∙ you≥ lis⌠á oµ ì
Z8░á instruction≤á (iµ yo⌡ haven'⌠ go⌠ one¼á yo⌡ shouldn'⌠ bσá readinτ ì
thi≤á article!⌐ yo⌡ wil∞ seσ ß remarkablσá consistency«á Ever∙á (IX+d⌐ ì
instructioεá ha≤á aε op-codσ formeΣ b∙ prefixinτ thσá equivalen⌠á (HL⌐ ì
commanΣá b∙ 'DDº anΣ addinτ 'ddº t∩ thσ end«á Thσ (IY+d⌐ command≤á arσ ì
formeΣá b∙ usinτ aε 'FD'¼á rathe≥ thaε 'DDº prefix«á Froφ thi≤ sor⌠ oµ ì
evidence¼ I'φ prett∙ certaiε tha⌠ thσ Z8░ use≤ thσ samσ interna∞ logiπ ì
t∩á decodσ (HL⌐ anΣ (IR+d)¼á als∩ usinτ thσ instruction'≤á prefix¼á o≥ ì
lacδ oµ one.
POSSIBILIT┘ O╞ EXTR┴ INSTRUCTIONS
Havinτá seeεá ho≈ thσ Z8░ get≤ a⌠ it≤á indexeΣá instructions¼á aε ì
interestinτ possibilit∙ arises« S∩ far¼ we'vσ onl∙ considereΣ H╠ a≤ ß ì
16-bi⌠á register¼á bu⌠á i⌠ can¼á oµ course¼á bσ treateΣ a≤á tw∩á 8-bi⌠ ì
registers« Wha⌠ happen≤ iµ wσ take¼ sa∙ thσ op-codσ fo≥ 'L─ A,Hº anΣ ì
prefi° i⌠ witΦ 'DDº ?
Wheε ╔ d∩ i⌠ t∩ thσ Z8░ iε m∙ Microbee¼ ╔ find¼ amazingl∙ enough¼ ì
tha⌠ 'Aº i≤ loadeΣ witΦ thσ highes⌠ bytσ oµ 'IX'«á N∩ othe≥ register≤ ì
havσ beeε altered« L∩ anΣ beholdí ╔ havσ aε extrß instruction.
Oε al∞ thσ Z80≤ I'vσ checked¼á thσ closσ relationshi≡ betweeε HL¼ ì
I╪á anΣá I┘ allow≤ eacΦ oµ thσ inde° register≤ t∩ bσ treateΣ fo≥á man∙ ì
purpose≤ a≤ tw∩ 8-bi⌠ registers.è Since¼á iεá genera∞á terms¼á yo⌡á can'⌠ havσá to∩á man∙á interna∞ ì
register≤ iε ß micro¼á thi≤ i≤ potentiall∙ ß ver∙ valuablσá discovery« ì
It'≤á usefulnes≤ obviousl∙ depend≤ oε whethe≥ o≥ no⌠ you'rσ usinτá thσ ì
inde°á register≤ a≤ inde° registers¼á bu⌠ i⌠ give≤ aε extrß tw∩á 8-bi⌠ ì
register≤ fo≥ eacΦ inde° registe≥ yo⌡ caε spare.
EXTR┴ INSTRUCTION╙ AVAILABLE
Let'≤á havσá ßá looδ no≈ a⌠ jus⌠ wha⌠ wσ caε d∩á witΦá ou≥á extrß ì
registers«á Firs⌠ oµ all¼ somσ nomenclaturσ - I'l∞ cal∞ thσ tw∩ byte≤ ì
oµ IX¼á 'XHº anΣ 'XL'¼á anΣ thσ tw∩ byte≤ oµ IY¼á 'YHº anΣ 'YL'« WitΦ ì
thesσ registe≥ names¼ wσ could¼ iε thσ examplσ above¼ usσ thσ mnemoniπ ì
'L─ A,XHº fo≥ thσ instructioε witΦ thσ op-codσ D─ 7C.
Wheεá ╔ firs⌠ discovereΣ thesσ extrß commands¼á ╔ hopeΣ tha⌠á XH¼ ì
etc«á coulΣá bσá useΣá iε AN┘ Z8░ operatioε tha⌠ useΣá ╚á o≥á L«á Fo≥ ì
instance¼á wσ coulΣ havσ 'L─ YL,B'¼ 'SU┬ YH'¼ 'C╨ XH'¼ 'BI╘ 3,YL'¼ ì
etc«
Iε thσ firs⌠ place¼á it'≤ no⌠ possiblσ t∩ have¼á fo≥ example¼ ì
'L─á XL,H'«á Thi≤ i≤ no⌠ to∩ surprising«á Thσ instructioε woulΣá bσ ì
generateΣá b∙á prefixinτá thσ codσ fo≥ 'L─ L,Hºá (ie«á 6B⌐á witΦá DD« ì
However¼á thσ micr∩ woulΣ no⌠ kno≈ whethe≥ 'D─ 6Bº mean⌠ 'L─ XL,Hº o≥ ì
o≥ 'L─ L,XH'╗á i⌠ actuall∙ settle≤ oε 'L─ XL,XH'« So¼ wσ canno⌠ mi° ì
╚ o≥ ╠ witΦ thσ extrß register≤ iε ß singlσ operation.
Thσá seconΣ limitatioε i≤ morσ obscurσ - ie«á ╔ don'⌠ kno≈ wh∙ i⌠ ì
existsíá Thσá extrßá register≤á wil∞á onl∙á worδá iεá thσá operation≤ ì
inheriteΣ froφ thσ 8080A¼ anΣ no⌠ thσ 'newº Z80-onl∙ instructions« A≤ ì
fa≥á as╔ caε see¼á thσ differencσ i≤ relateΣ t∩ thσ fac⌠ tha⌠ al∞á thσ ì
8080A-compatiblσá instruction≤ usσ single-bytσ op-code≤ (plu≤ datßá iµ ì
it'≤ appropriate⌐ whilσ thσ Z8░ special≤ al∞ usσ tw∩ bytes«á Whateve≥ ì
thσ reason¼á i⌠ mean≤ tha⌠ yo⌡ can'⌠ usσ BIT¼á SET¼á RES¼á rotate≤á o≥ ì
shifts« Still¼ thσ extrß command≤ arσ free¼ s∩ wσ can'⌠ complain.
Tablσá ▒á show≤ al∞ thσ 'extraº instruction≤ whicΦ arσá possible« ì
I⌠ doe≤ no⌠ givσ thei≥ op-code≤ - yo⌡ caε forφ thesσ b∙ usinτ thσ 'DDº ì
anΣ 'FDº prefixe≤ a≤ appropriate.
Table 1. Extra instructions available
-----------------------------------------
! Mnemonic ! Test Segment !
!---------------------------------------!
! LD r,XR ! LD1 !
! LD XR,r ! LD2 !
! LD XR,data ! LD3 !
! LD XR1,XR2 ! LD4 !
! ADC A,XR ! ADDSUB !
! ADD A,XR ! ADDSUB !
! SBC A,XR ! ADDSUB !
! SUB XR ! ADDSUB !
! INC XR ! INCDEC !
! DEC XR ! INCDEC !
! AND XR ! ANDORX !
! OR XR ! ANDORX !
! XOR XR ! ANDORX !
! CP XR ! COMP !
!---------------------------------------!
! Notes: !
! 'r' - register A,B,C,D or E !
! 'XR' - 'register' XH,XL,YH or YL !
! 'XR1','XR2' - any XR !
-----------------------------------------
Yo⌡á canno⌠á typσá thesσ 'extraº instruction≤á int∩á you≥á edito≥ ì
source-codσ a≤ is¼ thσ assemble≥ wil∞ no⌠ recognisσ theφ anΣ wil∞ sho≈ ì
aε erro≥ sucΦ a≤ 'illega∞ op-code'« The∙ wil∞ havσ t∩ bσ entereΣ int∩ ì
thσ source-codσ a≤ ß serie≤ oµ Definσ Byte≤ o≥ Definσ WorΣ eg.
DEFB 0DDH
DEFB 7CH ;LD A,XHè
or DEFW 7CDDH ;LD A,XH
Mos⌠á disassembler≤á o≥ source-codσ generator≤ canno⌠ operatσá oε ì
thesσ 'extraº instructions¼á anΣ becomσ quitσ confused«á Thi≤ caεá bσ ì
usefu∞á iµ yo⌡ arσ tryinτ t∩ discouragσ disassembl∙ oµ you≥á code¼á a≤ ì
thesσá instruction≤ wil∞ havσ t∩ bσ disassembleΣ manually«á Therσ arσ ì
however¼ somσ 'smartº disassembler≤ whicΦ wil∞ recognisσ thesσ codes«
It'≤á importan⌠á t∩ remembe≥ tha⌠ thesσá extrßá instruction≤á arσ ì
'unsupported'«á Tha⌠ i≤ t∩ say¼ the∙ don'⌠ appea≥ iε thσ officia∞ Z8░ ì
literature¼á anΣá s∩ therσ i≤ n∩ guaranteσ tha⌠ ever∙ Z8░ wil∞ executσ ì
theφ successfully.
Iµ yo⌡ wan⌠ t∩ usσ theφ then¼ yo⌡ mus⌠ tes⌠ you≥ micr∩ t∩ seσ ho≈ ì
i⌠á respond≤ t∩ thσ op-codes«á Thσ bes⌠ wa∙ i≤ viß ß serie≤ oµá shor⌠ ì
machinσ codσ prograφ segments¼á preferabl∙ controlleΣ b∙ ßá high-leve∞ ì
languagσ sucΦ a≤ BASI├ s∩ tha⌠ yo⌡ caε evaluatσ thσ result≤ easily.
This article will be concluded next issue with listings ED.
********** ********** ********** ********** ********** **********
MICROBEE TWIN SCREEN BASIC EDITOR
From Russell Crosser
********** ********** ********** ********** ********** **********
Thi≤ newl∙ releaseΣ prograφ upgrade≤ you≥ Microbeσ t∩ givσá i⌠ ì
ful∞ screeε editinτ oµ basiπ programs¼ iε aε environmen⌠ whicΦ retain≤ ì
al∞ thσ feature≤ oµ MicroworlΣ Basic«á Thσ prograφ hide≤ itselµ a⌠ thσ ì
to≡á oµá thσ basiπ prograφ area¼á anΣ i≤ unobtrusivσ wheε no⌠ iεá use¼ ì
excep⌠ wherσ thσ maximuφ memor∙ i≤ needeΣ fo≥ ß program«á Thσá prograφ ì
i≤á currentl∙ availablσ t∩ ruε iε 32δ o≥ 16δ tapσ baseΣá machines¼á o≥ ì
unde≥á disδá basic¼á o≥ iε thσ Dreamdisδ Beedo≤á system«á Format≤á fo≥ ì
networδ o≥ paδ roφ wil∞ follow¼ anΣ if wanted¼ ß 16δ tape.
The prices of the program are:
Club Members:
Tape ** $18 $15
Disk $20 $17 (less $3 on your own disk)
** Please specify 16k, 32k or disk when ordering
The∙ wil∞ bσ availablσ oε cluΓ night≤ a⌠ thσ Bazaa≥ anΣ ì
froφ retai∞ outlets¼ otherwisσ writσ t∩ mσ at:
Russell Crosser Phone (059) 625975
Box 214, Healesville, 3777, Vic
********** ********** ********** ********** ********** **********
"SCREDT" - Microbee Basic Screen Editor
General Description:
Scred⌠á provide≤á aεá alternativσ environmen⌠á fo≥á writinτá anΣ ì
editinτá basiπá program≤ iε thσ Microbee«á I⌠ operate≤á alongsidσá anΣ ì
complement≤ thσ facilitie≤ provideΣ iε MicroworlΣ Basic¼á t∩ producσ ß ì
ver∙ flexiblσ environmen⌠ fo≥ developinτ anΣ debugginτ basiπ programs« ì
Ful∞á 18▓á characte≥á line≤á ma∙ bσ edited«á Oncσá installeΣá iεá you≥ ì
Microbee¼á thσ prograφ enable≤ yo⌡ t∩ movσ througΦ ß prograφ anΣá edi⌠ ì
i⌠á iε mucΦ thσ samσ wa∙ ß tex⌠ filσ i≤ editeΣ iε Wordbeσ o≥ Wordstar« ì
Simplσ control≤ movσ thσ curso≥ arounΣ thσ screen¼ anΣ wheε thσ curso≥ ì
reache≤ thσ bottoφ linσ thσ nex⌠ linσ i≤ automaticall∙ printeΣ t∩á thσ ì
screen«á Change≤á madσá t∩á thσ prograφ line≤ arσá inserteΣá int∩á thσ ì
prograφ currentl∙ iε memor∙ wheneve≥ thσ curso≥ move≤ t∩ anothe≥ line« ì
Thσ exclusivσ twiε screeε featurσ enable≤ thσ use≥ t∩ lis⌠ u≡á t∩ ì
1░á line≤á oε thσ screen¼á theε transfe≥ theφ t∩ aεá alternatσá memor∙ ì
area¼á whilσ anothe≥ par⌠ oµ thσ prograφ i≤ edited¼á o≥ thσ prograφ i≤ ì
run¼á o≥ eveε renumbered¼á o≥ anothe≥ prograφ loaded« Tw∩ part≤ oµ thσ ì
prograφ ma∙ bσ swappeΣ anΣ editeΣ freely¼ a≤ ofteε a≤ needed.
èThσá abovσ i≤ par⌠ oµ thσ instruction≤ fo≥ "SCREDT.MWB"«á Thi≤ prograφ ì
WORK╙á anΣá i≤á wel∞ wortΦ thσ thσ cos⌠ iµ yo⌡á arσá ßá seriou≤á BASI├ ì
programmer«á Thσá onl∙ complain⌠ i≤ tha⌠ thσ instruction≤ arσ supplieΣ ì
iε WORDBE┼ only«á Wha⌠ happen≤ iµ yo⌡ don'⌠ havσ WORDBEE?á Maybeá thσ
author will rectify this, otherwise an EXCELLENT program. ED.
QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ
Iµá i⌠ take≤ si° second≤ t∩ strikσ six¼á ho≈ man∙ second≤ wil∞ i⌠ takσ ì
thσ cucko∩ clocδ t∩ strikσ nine.
QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ
BAZAAR-SALES-$-BAZAAR-SALES-$-BAZAAR-SALES-$-BAZAAR-SALES-$-BAZAAR-SA
á Blank c-30 cassettes $ 1.50
Box c-30 cassettes (20 per box) $25.00
Blank 5" disks (verbatim dsdd) $ 4.00
Box 5" disks (10 per box) $40.00
á Blank 5" disks (ssdd) $ 3.00
Lockable 5" disk box (holds 85) $25.00
Carbon printer ribbon (suit xyz.80 printers) $ 9.00
**500 cont. printer paper (240mm wide) $10.00
Special 5 x c-10 cassettes $ 4.00
Back issues of "The Catcher" $ 1.50
Back issues of "The Catcher" Vol. 2
No. 6/7 $ 3.00
Bound Volumes of "The Catcher"
Vol. 1 and Vol. 2 available $15.00
Sig/m catalogue(hard copy) $ 7.00
Modem PCB & Instructions $25.00
Dust Covers $ 6.00
** not normally available for postal purchase
A.T«á havσá giveεá MBU╟ ß 10Ñ discoun⌠ oε softwarσ ordereΣ froφá thei≥ ì
GosforΣá store«á Wσ wil∞ takσ order≤ froφ member≤ anΣ forwarΣ theφá t∩ ì
A.T« fo≥ processing¼ bu⌠ caε no⌠ guaranteσ ß quicδ reply.
Al∞ posta∞ order≤ t∩ bσ sen⌠ to║ MBU╟ AUST« SALES
P.O. Box 253,
Coburg,3058
BAZAAR-SALES-$-BAZAAR-SALES-$-BAZAAR-SALES-$-BAZAAR-SALES-$-BAZAAR-SA
JOYSTICK CONTROL
Thσ joysticδ signa∞ i≤ reaΣ b∙ thσ usσ oµ "I╬ (0)ó anΣ i≤ useΣ iε ì
a program in thee following statement:
J = - IN (0) + 255
The following listing gives the incoming signsl:
0 NO INPUT 1 UP
2 DOWN 4 LEFT
5 UP & LEFT 6 DOWN & LEFT
8 RIGHT 9 UP & RIGHT
10 DOWN & RIGHT 128 FIRE BUTTONS
Yo⌡á caεá als∩á adΣ 12╕ t∩ thσ directioε t∩ indicatσ ßá anΣá firσ ì
button pressed. eg. 129 UP & FIRE BUTTON. Contributed by Westmug.
RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM
TIPS║á é HEL╨ i≤ onl∙ availablσ oε DRIV┼ A║ iµ yo⌡ d∩ ß HEL╨ froφ ß DI╥ ì
tha⌠ i≤ no⌠ oε drivσ A║á ß messagσ wil∞ bσ giveε t∩ changσ t∩ ß DI╥ oε ì
drivσ A║ e.g« do
é CPM:<ret>
HELP<ret>
èTIP:é T∩ finΣ ou⌠ wha⌠ i≤ "XYAM'ableó envokσ XYA═ anΣ thσ d∩ DI╥ e.g.
é XYAM<ret>
passworΣ XXXXX
DIR<ret>
Al∞ file≤ ablσ t∩ bσ downloadablσ wil∞ theε bσ displayed.
TIP║ é Iµ yo⌡ ge⌠ caugh⌠ iε thσ HEL╨ loo≡ wai⌠ ß fe≈ minute≤ anΣ seσ iµ ì
i⌠á get≤á bacδ t∩ menu╗á iµ no⌠ d∩ ß ^├ wheε thσ displa∙á reache≤á thσ ì
bottoφ oµ thσ screen« (thi≤ wil∞ bσ fixeΣ u≡ iε nex⌠ RE╓ oµ HELP.com)
TIP║á éá Iµá yo⌡á d∩ no⌠ depres≤ ß ke∙ withiε ╡ minute≤á thσá S/╫á wil∞ ì
automaticall∙ loτ yo⌡ off.
TIP:é XYAM.LO╟ onl∙ record≤ ne≈ file≤ uploadeΣ t∩ system¼ d∩
é CPM:<ret>
TYP┼ XYAM.LOG<ret>
anΣ b∙ comparinτ thσ datσ oµ thσ ne≈ file≤ t∩ thσ datσ yo⌡ las⌠ loggeΣ ì
on¼ an∙ ne≈ file≤ oε thσ systeφ caε bσ determined.
Thesσá arσ thσ ne≈ file≤ XYAM'eΣ recently«á Thσ XYAM.LO╟ filσ no≈á ha≤ ì
al∞á thσá BUG╙á ou⌠á oµá i⌠ s∩ nex⌠ montΦ wσá wil∞á recorΣá al∞á file≤ ì
uploaded.
╥ ┴ ╢ Z80CODE.WB╞ 05/04/8╡ ANDRE╫ BARFOOT
╥ ┴ ╢ LBRSWEEP.OB╩ 14/04/8╡ DAVI─ PRIEBBENOW
╥ ┴ ░ kermit.OB╩ 14/04/8╡ ERI├ GUNSTONE
╥ ┴ ┤ kermit.OB╩ 14/04/8╡ ERI├ GUNSTONE
╥ ┴ ┤ kermit.doπ 14/04/8╡ ERI├ GUNSTONE
╥ A1▓ PATCHWS.OB╩ 16/04/8╡ RICHAR─ COLLETT
╥ A1▓ PATCHMWB.OB╩ 16/04/8╡ RICHAR─ COLLETT
╥ A1▓ DMON218.RO═ 16/04/8╡ RICHAR─ COLLETT
╥ ┴ ┤ NULU10.LB╥ 17/04/8╡ MIRK╧ FLUHER
╥ ┴ ╢ settime.OB╩ 17/04/8╡ MIK┼ THOMPSON
╥ ┴ ╡ settime.π 17/04/8╡ MIK┼ THOMPSON
╥ ┴ ╡ search.π 17/04/8╡ MIK┼ THOMPSON
╥ ┴ ╡ search.obΩ 17/04/8╡ MIK┼ THOMPSON
╥ ┬ ▒ MONSTERS.MW┬ 01/05/8╡ ????┐ ????
╥ ┴ ┤ SPACEBEE.OB╩ 02/05/8╡ ????┐ ????
╥ ┴ ┤ POKERBEE.OB╩ 02/05/8╡ ????┐ ????
╥ ┴ ▒ yamegs.dmµ 06/05/8╡ MIRK╧ FLUHER
╥ ┴ ▒ yammgs.sτ 11/05/8╡ SIMO╬ GERRATY
╥ ┴ ▒ yammgs.asτ 11/05/8╡ SIMO╬ GERRATY
R A 1 yam-send.msg 14/05/85 DARRYL W.R. SMITH
╔ aφ stil∞ waitinτ fo≥ review≤ fo≥ abovσ programms¼á iµ yo⌡ havσá XYA═ ì
them, how about letting me know what you think about them!!!!
RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM-RCPM
ANOTHER 20 LINE PROGRAM ENTRY
"RNDNUM.MWB"
00100 CLS:PRINT"MICRO-BEE RANDOM NUMBER PROGRAM BY TREVOR HUDSON"
:DIM A (100)
00110 PRINT\"TO SELECT TAB NO'S FOR CUP SWEEP, PRESS 1";SPC(18);
"TO SELECT 6 LUCKY TATTSLOTTO NUMBERS, PRESS 2";SPC(18);
"FOR A RANDOM NUMBER BETWEEN 1-100, PRESS 3"
00120 FOR G=1TO10:H=INT(RND*24+1):PLAY H:NEXT G:INPUT" ";M:
IF M<1ORM>3 THEN120
00130 FOR R=1 TO 100:A(R)=0:NEXT R
00140 ON M GOTO 170,200,150
00150 LET D0=100:X=1:T=0
00160 PRINT\" YOUR LUCKY NUMBER IS -";:GOTO220
00170 PRINT:INPUT "THE NUMBER OF HORSES ENTERED IN THE RACE IS? ";D0
:LETX=INT(D0):T=0
00180 INPUT"ENTER TAB NO OF SCRATCHED HORSE. (0 IF NONE) ";S:
IF S<>0 THEN LET A(S)=1:T=T+1:INPUT"ARE THERE ANY MORE
SCRATCHINGS (Y or N)?";A0$:IF A0$="Y" OR A0$="y" THEN 180
00190 PRINT\" THE HORSE RACE, TAB NUMBERS ARE -":GOTO220
00200 PRINT:D0=45:X=6:T=0:REM prior to July 85 D0=39 or 40.è00210 PRINT\ " YOUR SIX LUCKY TATTSLOTTO NUMBERS ARE -"
00220 INVERSE:FOR R=1 TO X-T
00230 B=INT(RND*D0)+1:IF A(B)=1 THEN 230
00240 A(B)=1:PRINT B,:FOR J=1 TO 2:K=INT(RND*24+1):PLAY K:NEXT J
:NEXT R:PRINT
00250 NORMAL:PRINT:INPUT"Do you wish to try again? (Y)es, (N)o
or look at (M)enu ";Z1$
00260 IF Z1$="Y" OR Z1$="y" THEN 130
00270 IF Z1$="M"ORZ1$="m" THEN PRINT:GOTO 110:ELSE PRINT\
"THANKS FOR PLAYING"
00280 END: REM end of program called "rndnum.mwb"
QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ
GROUND MAN STAND WEAR CYCLE
--------- ------- ------- ------ CYCLE
FEET BOARD I LONG CYCLE
FEET
FEET
FEET
FEET
FEET
QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ
Wheε ß clocδ show≤ ╡ o'clocδ a⌠ wha⌠ timσ durinτ thσ nex⌠ hou≥ will:-
a⌐ botΦ hand≤ coincidσ ?
b⌐ botΦ hand≤ firs⌠ stanΣ a⌠ righ⌠ angle≤ t∩ onσ anothe≥ ?
Caε yo⌡ arrangσ eigh⌠ 8'≤ s∩ tha⌠ wheε the∙ arσ summeΣ the∙ adΣ u≡á t∩ ì
ß tota∞ oµ 1000« Al∞ number≤ arσ decimal.
QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ-QUIZ
COPY MACHINE OR BASIC PROGRAMs USING EDASM
1. Press M then reset, release reset to get MONITOR.
2. F 0400 8000 - CLEAR MEMORY
3. R <RETURN> - PRESS PLAY TO LOAD FILE
4. E 321 <RETURN> - EXAMINE SPEED BYTE
5. M - 01 FOR 1200 bpi
6« ╟ DF7╡ (STAR╘ RECORDIN╟) <RETURN>
Somσá program≤ ma∙ appea≥ t∩ bσ Machinσ code¼á bu⌠ iµá star⌠ ì
addres≤ i≤ 08C░ theε i⌠ ma∙ bσ ß Basiπ program¼ ß forφ oµ protection.
To convert back to Basic:
1. Load under monitor (EDASM)
2. Change file type to read 42(Hex) at location 31A
3. Change auto LSD/NSD to read 00(Hex) at location 31F-320
4. Change auto flag to 00(Hex) at location 322
5. Save to cassette using g DF75 command.
6. Load under Basic.
7. List first few line to check if Basic program.
8. Check for any poke 140,1 or 141,1 etc.
9. Change to poke 140,0 or 141,0.
10. DO NOT attempt to run program
11« Savσ t∩ cassettσ usinτ SAV┼ ╞ "***ó wherσ *** i≤ filename
12. Clear memory then reload under Basic.
LAST-MEETING--LAST-MEETING---LAST-MEETING---LAST-MEETING--LAST-MEETING
╔á woulΣ likσ t∩ thanδ GRE╟ BLAC╦ fo≥ hi≤ offe≥ t∩ producσ thi≤ columε ì
a≤ oµ nex⌠ montΦ pleasσ givσ hiφ you≥ support«á GU┘ SCHU╘ (actinτ MEL┬ ì
A.T«á BE┼á SHO╨ manager⌐ addresseΣ thσ meetinτ anΣ mentioneΣ thσá A.T« ì
offe≥á tha⌠á allow≤á ßá BE┼ connectioεá t∩á VITAL«á Thσá ki⌠á include≤ ì
instruction≤á oε ho≈ t∩ conver⌠ thσ BE┼ MODE═ t∩ 1200/7╡ plu≤ thσá S/╫ ìèt∩ connec⌠ int∩ thσ VITA╠ NETWORK« COS╘ I╙ $49.95
PAPE╥á LIBRAR┘á haΣ al∞ thσ interstatσ newsletter≤á collateΣá b∙á cluΓ ì
name¼á s∩á it'≤ easie≥ t∩ finΣ information«á Recen⌠ newsletter≤ iε thσ ì
pape≥ librar∙ arσ BEELIN┼ VOL│ #3(20pgs)¼á SCU┴á APR(20pgs)¼á CANBERR┴ ì
APR(29pgs)¼áá TOWNSVILL┼á MAY(16pgs)¼áá S.A«áá APR(16pgs)¼áá TH┼á BUZ┌ ì
APR/MAY(10pgs)¼áá TH┼áá STIN╟á APR(14pgs)¼áá VME╟áá #2(20pgs)¼áá MICO═ ì
MAY(12pgs)¼ ONLIN┼ #9.
ELECTRONIC╙á TODAY'╙ CIRCUIT╙ COOKBOO╦ #╡ pagσ 2╕ ª 2╣ ha≤ aεá articlσ ì
oε ho≈ t∩ extenΣ thσ graphic≤ froφ 12╕ t∩ 102┤ PC╟ characters«
Thσá BAZAA╥ diΣ somσ hectiπ business¼á witΦ ove≥ si° differen⌠ trader≤ ì
competinτ fo≥ thσ member≤ wants« Iε futurσ al∞ commercia∞ member≤ mus⌠ ì
advisσ thσ committeσ iµ the∙ intenΣ t∩ se⌠ u≡ sho≡ oε thσ night«á Thi≤ ì
wa∙á wσá caε advisσ thσ fac⌠ iε thσ CATCHE╥ s∩ tha⌠ al∞á member≤á wil∞ ì
kno≈ wha⌠ t∩ expec⌠ beforσ thσ meeting« Thσ BANKCAR─ facilit∙ giveε b∙ ì
onσá oµ thσ trader≤ wa≤ s∩ successfu∞ tha⌠ thσ committeσá ha≤á applieΣ ì
fo≥ one¼ anΣ thi≤ servicσ wil∞ bσ availablσ a≤ sooε a≤ possible.
LAST-MEETING--LAST-MEETING---LAST-MEETING---LAST-MEETING--LAST-MEETING