Radio Shack 12-256 User Manual

Browse online or download User Manual for Radios Radio Shack 12-256. Tandy TRSDOS v2.0 Preliminary Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 52
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
PRELIMINARY
INSTRUCTION
MANUAL
DISK BASIC
VERSION
1.1
TRSDOS
VERSION
2.0
JULY71978
TIt. MIl
.....
Il"'~
1M
flm'
I
01
TlI;!ooS.
Nftf
1.1
.-fit
oo
..
la.
-sdltiDN.nd
I'IlIW
~
nat
1l""".,M
in
ttl.
1I
...
UmW-V
.........
Page view 0
1 2 3 4 5 6 ... 51 52

Summary of Contents

Page 1 - PRELIMINARY

PRELIMINARYINSTRUCTIONMANUALDISK BASICVERSION1.1TRSDOSVERSION2.0JULY71978TIt. MIl...Il"'~1Mflm'I •01TlI;!ooS.Nftf1.1.-fitoo..la.-sdlt

Page 2 - 1-"

DISKIlASltRadioSha~kDiskaasicaddsseyeralnondiskrelatedstatementstotheinterpreter.TheadditionalLEYEL[Istate.cntsandfunctionsproYidedbyt1Iealnidiskarc:M

Page 3 - 1II1l1l0ry

NlDSNIDScanb.\I••doatheleftsfel..ofaaequationtoraplacea.ub'tTialinanladic:atedstriJ:l,.Th.la"eT.lfOnllltlsstailartothaforaatusael.forNIDSoat

Page 4 - 'OT

IltSn•Thi.tsastri.,functionvhic.hs.arch.sfortheOCCUrTencaofon••trilllwithinanoth.1'stri.D,.usnwUI"tUTflthesurt1n,positionoftbaOCCUfT.nca.(Th

Page 5 - T1tSDOS)

'bedph.betic.odonlyth.efirsttwoch.r.cterswillb.recolniudl...inv.ri.bles).The"v.Ti.hleUst"consistsofthevari.blesth.taTetobelUedinthefUO

Page 6

KEXADECDU..LandOCTALCOHSTAHTS-Inso_(unct.ionsit.is-.oreconveni.nt.touseHEX(}Iau16)orOCTAL(baseI)consunurather'thandeci..1nuabers.ThuGn\1llberbuua

Page 7 - FILES'

DEFUSR-I.providedtoustln,ntrypoinutoUSRroutin...Thi,state.entreplace'theu,er10cltl1ln• POUl •l'I.thoddUCTibedintheLevel.II••nual.Thec,neTalf

Page 8 - DIStETTE

PASSIMG ARGtJ)(!.'iTSTOANDFROMUSR ROUTINES -TheTeIr'2...ystoeo_unie.t.fro.BASICto.I,cllJ.n.bnlual'subroutine•.1.PQ[EtheaT,uaontsintofi

Page 9

oro"o"•Thisco_nd10ed.5theDOSdobuJler.SeetheDOSUTILITIESsection,OEJIUGcOlllllllJ1d.CUlADT-Thisverlfyroutineisnot..'nilableunderDIS'

Page 10 - OID"D"

llADiO SHACILEVEL[JolnCONNANOSTheco...ndsusedwiththedjlk'ylt..facilltatethecontrolofdh1l:op.!'at:lon..Th.yinitilt.udtItTlliJlat:.diskop.Tari

Page 11 - "'N

con]dindieae.1IeeWl"ndfilecouldindic.eeanobjeetfilesync.filedaufilebuiepTO,T...fUeFlLEHAMESThrou,houtthis.anu.lTlIfeTence!.relIl.detotilcnaaes.Th

Page 12 - DE'

RadkISl'l8Ct__&III1 r...pa:dodof904qJm-dIIodacefIf1111.., 10~ttwdacClmpUle1laNwu.d.cn"-lt.-...boIrr-(telmdeho:tI:litrNl*'blCld_t~.

Page 13 - 50 PRINT

craatadbyanOPENnat..antthenthatpas.word.u.tal..ay,baprovidedtOT'ub:lltlC{ulIntdiskoperation',Withoutth.prop.rp...ordafilII••ynotb.T••d,co

Page 14 - 'than

'pICIaadLtQO~WTl~.pro~lc~ld.ThA~drl••viiib.~••d.lO1l_ylui"etwofU.."hh~b...aaae...lOI:ll..._panof~.fill~(~...iOD.ordrlv.auaber)di.~IQ.

Page 15 - ,",0n

NIl'llDIUCQteWoIDSTh.OPENco...nd.unb.u.1I.db.lo!'eanydiskT".lU01'wTit".fo1'datafile.;tAl.datedOlllQotapplytoprOtT"l

Page 16 - DII'l

OPE1rI"0",1,"'OUTPUT"OPEN"I",l."IJfPlfr'OPEl."..",3."FILl!:1nOPEJrlDS,X,liSIntb.fourtbnUip

Page 17 - "BAll"

thisls.at't~tlld).MERCE- TheMliRCEco_andco.binesaresidentprolr..withonelocatedon di.!lk.TheincolllinaPToir..overlaystheresidentprOaTUIandrepillce

Page 18 - Corttf'Ol

Ex-.ple:SAV!"PRGRM20. AP1'olr~lived1.nASCIIwilltr.D.fer11I01'.,lowlyth.nfil...toTedint.henoraalbinaryfo-raat..~•ThiscO"'Ddloa

Page 19 - ''''

SEQU"EHTIALDtS[DATAFILESSequentialiaputandoutputisthesL.pl.stfoTaofdi.kdata.tor...Thast.t_auarl!"1!:"7.iailartooneusedfortapastore...

Page 20 - .XM.\SnEE

Exaap10:PRINTll,USLHG""S"I."";121.1211w111prut-1121.13tothed.hkf11e.INPUT'. Usedtoreadback.~ueatlaJdatawritte'"

Page 21 - _r'

Anotlardiffer.nceisthatPRINT',Ute_ntsneednotCOTTe,pogdexactlytotheINPUT''tatl!!JlllntJ.WithupeoperatlOllS,aPRlNT'-l,A,B,Crequiresa

Page 22 - &T1t

Thefollowin,pro,r..willnadhulfoffofdisk.ndlistiUdfonthe.onitorscreen.10CLEAR50020OPEH"I",l,"PROG"30FORI-nOS40LIPreINPUT'l,A$5

Page 23 - IMPUT!OUIPUI

THINGSYOUSHOULDD/OW1.TRSOOSandDISK !lASICrequire10KofRAMcollectively.2.AfteranINPUT'isporfoTJiledfrollcaslette,,ub,equentREAD,tatelllentswillautc

Page 24 - INPI1T)

FiluareautOlllaticallyanocatedIlrKIfIaCIre,pac_uused,anotherlitItisallocatedetc.TherefoTe.the.in1JaUJIspaceallocatedfOT afileis1280bytesandfile.always

Page 25 - "R"

RAHDONFIL£SRando.file.offertwodi.tlnetadvantalesover.equentialfil••.Sequential.eees.a.nquiraraeoTdbyT.eorddatasaaTch.wh.reRando.ace•••••proTideb••diat

Page 26 - "1!:"7

tb&computeTUtnfoDldofthlfOT:lllatofthodAta.OPEN"Jl,",2,"MAlL"FIELO'2,20ASHS,2SASADS,ISASCT$, 2ASS1$ThisJ'ItLDstltc:J

Page 27 - .t.l'i.n

Allvlrubl"inthebufferIrl.toredI'.trinls.ThlrllIreepllcillco~endeinDISlBASICtoconvertintellrs,eillileprecision,anddoublepreci.ionnu.ber5t.oIt

Page 28 - (INPUT')

CRfATIHGRAHDONFILESOMors~FU•••recreaud.hypllcil1'the.ppropri.tedauilltheblllferand.then..torin,theCOl1tiRUofthebufferonthedlskasarecord.Sillcedeb

Page 29

JeneralfOfSl;tfortbfieldUat.genth:FIELD'file~uaber.fieldsiteASbufferstrin,y.ri.bl••...•fhldsheASbuffer.td.ll,-nrhbleApoundIt'll[f}isOptiOlle

Page 30

poddoDofthe.triD,willbllost.Ifthlstdn,iss••llerthllltnlallottedfilld,itis"p.dded"withblanksonthed,ht.Ad,htjustifild.uin,isjusttheopposite.Th

Page 31 - .u·""

nuswouldCODveTttileconuntsofth.intereTvlTiableAIto•twObytestT1n!.ndfielditinHIS.TheintegeTvaluemustbeintileTlnleof-3216&to·32161.EitlleTLSET01&apo

Page 32 - '01

PUTfileftuaber,record-nuaberThefileftuaberID.cllc.te~thefil'"hic.h",e"openedtocontainthedataaMt.h.recordlumberistheuuaberullipedto

Page 33

RETRIEVINGPATAFROHAIWlDONFJLEGettiDadatabackfroaarandalld.aufilei.very5ill11artothelIethodlll..Ied fOT.torin,it.However.theproce'li,:rever,ed.FtE

Page 34 - IYTE'

b)So..t1.ae,aIpac.ilrequlraclinIIASICHU..tlllt.Alltb.foll_u.,linesaraillcorrectJFD<OD-OFJ!Ul'I,20ASC$TIt.charactor!"OD"repruantIdoub

Page 35 - FIltDed

andyouneededonlytheLD.mJMBER(1DS)youcoulddothisbyfieldinaMSandssSasone!tt'in"theDUddinaIDS,thenPHS.TDSwouldtheDbefieldeda.s aseparatenlUlber

Page 36 - V.JJ'.IIJ.'

PUT/CDTDIACRAMDiskFileRecord1Bufhrfo;fiht2Record 1,V,Record,PUT1,_Record-CET1,4Il.ecoTd 5Record,Record1•••

Page 37 - 01'

UTRtBVTWGOATAnOMnlEIlUFP'nRSTIUHGS •Stt>ln,scanb.readfro.thebufferli~lybyreferelleu,the.ariab1eoftheappropriatlfield.Foru-.;ple:fftheItrinl&qu

Page 38 - 1'11

v.illbeianoredre.ultin.inaunprllldic:~.bleyalue1ft 'OJIacu.,.ill·ThitfURedonwillCOIl.YIIlTta41byu,Uin.In~oitsaquJyalent,in..leprechionvalueandTlt

Page 39 - "• IW<li

SUB-R£CORDUSENo...h..tdoa'onedoabout...ll5teddi,k'pace?Refeninlbacktothe..111n,listprohla.theTIIwllre194byte,un\1.!led.Sinceonly62byte

Page 40 - "DATA"

AfullwQrld.Jl.prO'T"for.U1ipuhtb!.,the-...iBn,listUhIU.ILi.li.tedbelow.1"Q.:1..CLSCLOSEllG~JHT:IHPUT"T'l'l"E:1TOWRI

Page 41

NotothatthllFIELDstltllllonthuboonplacodiDa.ubroutll1.(.liDo'500-530).Glnllthe10Ciealreeordnu.bllT(LR).theproluaealeulatOJwhiebpt!1siealrecord(PR

Page 42 - ""$

DISIEUOlSDiskIASICupandsLEV'!LII'sZleuereTTOr_'''IulatafUll,",rob. .u N 0ElIDa"oee-..aIClSS1NCOPERAND£AJtOJt,e"

Page 43 - • "b)"t"e.

ElROIKESSAGES"".."57.."616l"..os.."EJUlDRNF.5SAGiOFJELDOYDfLOlfIHTlJUIAL OVDlFLOI'lADPlLJ!~ElPIL!NOTPOUNDlADPILEKID

Page 44 - AD'

TRSDOSOPERATINGSYSTEMUTrLITrESnooperatinlIyst_hIncontrol"hentheaessaleDOSREADYis.u.sphyedOQtheSCTeen.Thi,aodebhzltJatedauto_tieaUyonpowerupand&qu

Page 45 - "'"

LEVELtrDIStBASICandTRSDOSGENERALINTRODUCTIONWit.htheaddit.ionofyourTRS-IODiskOp..rUina:5yst...(c;all..dT1tSDOS) ,younowhavet.hrelldhtlnc;tye-trlliate

Page 46 -

BACllJPBackupcopiesoneduket.tet.o _blankdiskette.Thesourcedrivewillberequllst.ed.Replywitha nlJlllbcrfro.0to3(Drive0istheclosestdrivlItotllAexpansioni

Page 47 - GeTO"

5"\111.crund.bpl.yacid.(-.elMlryonly)Dhphyall.allUTY1nASCIIDhplay.11.'1I0ryHEXtncT•••nt..-orrdi.pl.y1blockLoad.n.!JurpdTwithnnMNo~)displ.y..

Page 48 - 1'..'

di,kclolnttothllex-plnsioninterface.Itrequeststhed.i,k,u.na.',replywithanyna.,upto8hUer,.ThilnUlewillbeprinted.-*,/DDrrt.Finallyinputthe."Ur

Page 49 - UtlQlte4

POWERUPAHQOPERATING»ODESTh'DhltOperatin,Sy.te.'DdDISI:IASICarestoredontheSyst••IUshtt..ThisdlsketteishtlelledTRSDOSandMlJSTdweysbeindriveo(t

Page 50

into..-oTT.A.tthilti••youlIU.t.pecifYthe.uiJruanuab.roffil..t.hatw111b.open(inus.)atthe...t.t.e.DISIBASICask.:HOWNA1ffFILES'a.spondwitbthe~nu-be

Page 51 - 1.1'"'

DISlETTECAREANDHANDLINGDiskettesaresimplysh.etsof.alneticrecordinilIaterial,peciallypTeparedfeTuseintheCOlIPuter'y,tell.Di,ketteaTeparticularlyvu

Page 52 - P'I'0fT"

MEMORYSIZETRSDOSDlSIIASICfil..•.nlAM5.1lIAIoIAZ56bytebufferaostbere5lTTe4for15cbfUI,ud5_IUtrloYert!llc15paciforatotalofaboutZIObTtl5plrfile.1

Comments to this Manuals

No comments