Atari 800 Manuel de l'opérateur

Naviguer en ligne ou télécharger Manuel de l'opérateur pour PC/postes de travail Atari 800. Atari 800 Operator`s manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 3 - ATARI'

7)INTRODUCTIONABOUT THISMANUALTo use the ATARI@ Assembler Editor cariridge effectively, there are fturkinds ofinformation that you must have. Firsi, y

Page 4

The ATARI 410 Program Recorder i6 an acc€ssory that functions with iheATARI 400 and Lhe ATART 800 Per"onal Computer Systems. The pr oper op

Page 5

resulting obiecl program. The rhjrd progrdm is.a ed rhe Debugspri ;r helpsyou to monnor and dFbug yolll objen program. The relarionship berween rhesei

Page 7 - CONTENTS

),GETTINGSTARTEDALLOCATINGMEMORYThe very lirst.decision you must make when you sii down to write your sourceprogram involves the allocation ofmcDlory

Page 8 - APPENDICES

You can find olrr wherF rhis empty memory area is by ryping SrZr mffini.I hree hexade.rmaL number" will be displayed. likF so:SIZEffi0700 0880

Page 9 - ILLUSTRATIONS

IitIIos DosEmptyEdilTexlBufferEmplyDlsplay180Top olBAM YoUi RAMFigure 3. Memory tnap with ttse of LOMEM.This bumping is accomplished wfth a speciat

Page 10

PROGRAMFORMAT-HO\^/TO WRITE ASTATEMENT.A source program consists of statements. Each statement is ierminated withg:!8W. A statement may be 1-106 ch

Page 11 - INTRODUCTION

There are two ways to hawe the Assembler interpret €ntries as comm€nts. Oneway is ro mal.e lhe entries in lhe commeni field.;hich occupies rhe rema

Page 12 - EDITOR IS USED

ERROR CODESERRORCODE ERROR CODE MESSAGE2 Memory insufficient3 Value error4 Too many variabless Stdng length error6 out of data error? Number great

Page 13 - Object Program

The spacing on ihe pmgramming form is not the same as the spacing to be usedon the screenj controlled by keyboard eDtry. On the screen the classes of

Page 14

HOW TO \ /RITE This section showshow to write operands. The examples use statemenr numberOPERANDS xxxx (also caled line number xxxx). An insiructi; en

Page 15 - ALLOCATING

Examplesr10 AND110 F,OR1110 STA$3C26,x20955,YNon-Indexed Indireca operandsln Eeneral. an indjrecl operand is wrilten with pa-rentbeses The address

Page 16

Exhibit ISample, ReproducibleATARI Programming FormL I N E N O ,LABELOPCODEOPERANDCOMMENT

Page 17

NOTES:

Page 18 - STATEMENT

30USINGTHE EDITORtIIItICOMMANDSEDIT APROGRAMNow that we havc explanrcd how to gct started writire a proeram. rt is uD royou to actually $'ritc t

Page 19 - ""^^*

102nNUM75The eff€ct ofthe NUM commanal stops automatically when a statement numberthat already €xists is reach€d. For examplelRXNLDX *$EFCMP MEMORY

Page 20

In these examples, the string SoUGHT is delimited (marked ofD by thecharacter /. Actually, any character except space, tab and @ can be used

Page 21

Sample ProgralnLet us assume you have wdtten a program on an ATARI Programming Form asshown in Figure 6:'lu, IFEure 6. Satnple Prcgrarn a6

Page 22

COMMANDS TOsAvE (ORDISPLAY) ANDRETRIEVEPROGRAMSThe commands to save (or display) and reideve programs are:I-IST saves or displays a source programP

Page 23

ASSEMBLER EDITORMANUAL/t\ATARI'OAwame' communicar ons companylveD' etfort has b€en hade to eNure thal thid manu.l .m.ately documenls

Page 24

The forms ofthe commands to transfer only particdar lines (lines xx to yy) to aLISTTE:,xx,yJrLISTTP:,xx,yJrLISTTC:,xx,J,'yLIST*D:NAIm,xrK,yy whe

Page 25 - COMMANDS

PRINT ComnandThis command- is the same as LIST, excepi that it prints statements withoutstatement numbers.Erampl€:EDITPRINT E@* -$3000I,DY '

Page 26 - FrND/souGHT/,4

'where "NAME ' is the aibitrary name you gave to the program rvhen you listedit on the disketi€. This command cleaft the edit te

Page 27

LOAD/D:NAMELOADralTo retrieve.dn objen program that had preyiously been SAVED aod which hadpre!,rousry Oeen called NAMX, rhe command fu:wfrere NAME i6

Page 29

USINGTHE ASSEMBLERAsM*[#Dln]:PROGNAME[.SRCl]f,t#PN Il, E Ei IL,t{Dtnl:LrSTlNGI.LSTlllWhere a$embly lisringls to be srored ordisplay€d[,*Dln]:SEIVBL

Page 30

""f :H'f:is""i".?:,Ti,"1"?:tif; ti?::??":T'":1,j1""trffi :i:19:'f;il"7TAB d

Page 31 - PRrNT3O

DIRECTIVES(PSEUDOoPERATIoNS)with your Progran Recorder. Iirst transfer the program from programRecorder to the edit text buffer with the comman

Page 32

The second listed of€ach pair represents the standard or default condiiion.100 . OPT NOLIST The effec1 ofthese directives is to omit from the

Page 33

To .emove a title, use the following form1000 .TITLE ""The above directive removes titles afier line 1000.The PACt di-re(ljve.on irs owr ca

Page 35

I]]]lw4)Th€ appearance of this line on the screen will be different only because thescreen has 38 characters positions, while the printer h

Page 36 - Ii,8i!-t:?iTii"{:ffi

LABEL=DIRECTIVEWORD Dlr€ctiveThe WORD directive is the sam€ as the DBYTE directiv€ €xcept that ihe value ofth€ €xpression i6 stored with th€ low

Page 37 - DIRECTIVES

You write *= without the initial "." that the other directives have (exc€piLABEL = ). Also, note that you write * = wiihout any spaces

Page 38

ASSEMBLY LISTING (.to-coL forrnat)0100 ;CONDITIONAL ASSEMBLY EXAMPI,Eoooo 0120 z = o0000 0130 *= $50005000 A945 0140 LDA r$455002 0150 . rF z@zNoTE

Page 39 - _ ,, 1 I I

t"- {NOTES:q - {

Page 40

DEBUGGINGPURPOSE OFDEBUGGERCALLING THEDEBUGGERDEBUGCOMMANDSThe Debugger allow6.you to follow rhe operarion ofan objeci program in derailano ro maKe mt

Page 41 - DIRECTIVE

we now give several examples showing horir to use the commands. In theexamplesj the line8 ending with @ are edtered on the keyboard. Ttre otherlines

Page 42

This shows that address 5000 contains the nwnber A9.Ifthe second ad&ess (yt?T) is omitted, the contedts ofeight successive locatio4sare Bhorrn. T

Page 43

The second corrlmand puis 34 and 87 in locations 7008 and 700t resp€ctively.You can conveniently use th€ C command in conjunction with the Di

Page 44

F.ramplea:I-7000@@Ltut a screen page (20 lines of code) starting atmemory location 7000. Pressing the @ keyduring lisLing halrs rhe lisiing.This f

Page 45 - DEBUGGING

PREFACEThis manual assum€s the user has read an introductory book on assemblylanguag€. It is not intended to teach assembly language. Sugge

Page 46

i,i.Because the disassembler starts disassembling from the first address youspecify, you have to take care that the frst address contains the

Page 47 - I '

Exatnple:DEBUGr5ooo l@5000 A9A = 0 3 X = 0 25002 18A = 0 3 X - 0 25003 t5A : 0 3 X = 0 25005 4CA : 0 3 X = 0 27723 00A = 0 3 X = 0 2DXBUGr$03s

Page 48

NOTES:

Page 49

APPENDIX 1) * ,ERRORSwhen an elror occrlls, the console speaker giwes a short "beep" and ihe errornumber is displayed.Errors numbered less

Page 50 - <nwl@

140142143145146162165Serial bus input framirg error.Serial bu6 data fiame ov€rrun.Serial data checksum error.Devic€ done effor.Dfukette erlor: Rea

Page 51

APPENDIX 2| \ulASSEMBLER MNEMONICS(Alphabetic List)BMIBNXADCANDASLBCCBCSBEQBITBPLBRKBVCBVScLcCLDCLICLVCMPcPxCPYDECDEXDEYEORINCINXINYJMPJSRLDALDXLDYLSR

Page 52

STAsTxSTYTAYTSXTXATXSTYAStor€ Accumul.atorStor€ R€gistex xStor€ R€gister YTransfer Accumulator to R€gister Xtansfer Accumulator to Register YTra[6fe

Page 53 - APPENDIX

APPENDIX 3)SPECIAL SYMBOLS)Below we give a lisi of special symbols that have a restricted meaninE io theAssembler. You should avoid using rhese symbol

Page 54

NOTES:

Page 55 - (Alphabetic

APPENDIX 4: E 6 q i 5 6 = H ? R !eg;ggFHlIFgnriEESEt5;fiEE+EEEfiEeEEIEFri ti;; !:8PEn;;Eg!cEigiEHf!FElFIgEiEEEEE-H o d g 1 g g * 9 *F ? o e i

Page 58

APPENDIX 5EXPRESSIONSWheD an insrrucrion or djrefljve calls fora number in the op€rand,lhe numbermay be given as an ,,expafession.', the n*1i**r

Page 60

)))APPENDIX 6DIRECTIVES. OPT Operandspecifies an option. Operand can be LIST or NOLTST,OBJ or NOOBJ, ERRORS or NOERRORS, EJXCT orNOUECT. (Default

Page 62

APPENDIX 7ATASCII CHARACTER SETAND HEXADECIMAL TODECIMAL CONVERSION) _.rtr"y01234567BI1 U1 11.2t'n .p"o'o'r+/c.'oGilgil

Page 63

.$ '"""{"""t"*1/,o! ..sv..\w^}*Y.-ilr' 4)^of o' -$t3 7 73 8 B3 9 93A ..3 8 ;3 C <3 E >3 F ?4

Page 64

'"$ *'$"do{""$10310410510670710B1091107777727731741 1 51 1 61.1.71 1 87 7 q' 7 2 r/ J Sd$'11 9720121122723724

Page 65 - -"8

r.:$735srv.+.c! ^w^v^t.+ O- -t'-a7BBB9BABBBCBDBE8F90919293949596r't..I} -e,o\'- ,{"'.arr' - .,+'A8A9ABADAEAFBOB

Page 66 - *Y.-ilr' 4)

A::19920020720220320420520620720820921.O21.721.2213274"-.;$".tt$r"d0'6' - ts.lY orrC7C8C9CBCCCDCECFDOD1D2D3D4D5D6C d*1r&apos

Page 67 - ,"d"/

CONTENTSPREFACE1 INTRODUCTIONAbout This BookATARI Peisonal Computer SystemsHow anAssembler Editor Is Used112 GETTING STARTEDAllocating MemoryProgram

Page 68 - 4::'

.$t .+"t$ .".."$"".*cf231232233234236238239EBE9E7F9FBFCFDFEFFEBECEDEEEFf,'?;::n",'1. ATASCII stands for AT

Page 69 - "-.;$".tt$r"d

APPENDIX BREFERENCESATARI PUBLICATIONSObtainabl€ from your ATARI dealer, or ATARI Consumer Division, CustomerSupportJ 1195 Bonegas Avenue, Sunnyva

Page 70

NOTES:

Page 71 - REFERENCES

)APPENDIX 9USING THE ASSEMBLER CARTRIDGETO BEST ADVANTAGE' -#ir$#t{i*lfu i;rt*i#:i':'i'.$"q!'ffi :l:{f *x.r.:"*$$il

Page 72

show horv to execute some of the most commonly used funclions. Theseprograms are meant only for demonstration purposesr rhey certain)y do nore

Page 73 - 5i,+,w+illlii:#,*ulrr'

1g*tilixflrfr x+*x#l*irffi$il#rf *ff?PEEK(1536J mfig#r*.',f..r;r*:ti11f#*"lfu;g;$tr.#:#.;l lA-USR(1S36, 1, 3): ?A Ggm,ut;***g*$*ffirimg*u*r,

Page 74 - ExcLoR.oBJ

The lasi sample program demonstrai€s a very useful capabiliiy ofthe ATARrPersonal computer System-the display list inierrupt. perhaps you have been i

Page 75 - ***$ffi*t**lm*fisl*ffi

Now start writing a BASIC program, begin with:2 DIM ES(2179iTher add this subroutine (which you can delete later):25OOO A =90*J+ 1:B =A+89: II B

Page 76

A = USR(ADR(E$))But there is still another possibl€ hitch. Th€ 6502 machine language code is notfully relocatable; any absolute memory references

Page 77

70 i WHERE80 ; F Is THE FREQUINCY90 ; A Is THE ATTACK TIMI0100 ; p IS THE PEAK TrME. 0110 ;D rs THE DECAY TIME0720 ;o13O ; ALL TIMES GIVEN IN UMTS

Page 78

4 USING THE ASSEMBLERThe ASM CommandDirectivesOPT DirectiveTITLE and PAGE DirectivesTAB DirectiveBYTE, DBYTE, and WORD DirectivesBYTEDBYTEw'ORDL

Page 79

0639 38063"1 E901063C C99F063E D0F10640 600641 A0130643 8a0644 D0rD0646 CA0647 DOFA0649 60064AExample 3.060006100620063006400650 ;0660

Page 80

iiSi 35"' 3:33 srA xr'oc sroRn rHx RE'u,r3313 ?8Sj :f: :* 1j0u crr x_DrsrANcE rRoM CENTERB:t; i;" 3j* # #, i:'J;:?:i

Page 81

064E 85CC 09100650 0A 09200651 0A 09300652 65CC 094009500960497009800654 65CD 0990100010100656 A.8 70200657 A5D1 10300659 9158 10400658

Page 82

000000cc0OcE00cr0230DlOED{OFD4OF0200DOlAD016DO17D018D4OA0600 680616 C80617 C80618 C80619 C80601 AD30020604 85CC0606 AD31020609 85CD0608 A007060D A98A0

Page 83

062A 4D702 0640 STA VDS]-ST+ 10650 ;0628 A900 0660 LDA /$00O62D 85CE 0670 STA COI,CNT INITIALIZE COLOR COUNTERO62F 85CF 0680 STA DECK IN

Page 84

APPENDIX 10QUICK REFERENCE:COMMANDS RECOGNIZED BYTHE ASSEMBLER EDITORlll*lilri{t:ffi1#"trfffTi#'t":l$::"Hr*rf Y."1i:r"&q

Page 85 - ""0

Cxxxx < yyMxxxx<yryy, zzzzVxxxx< yyr.y, zzzzGxxxxxputs yy into address xxxx.copi€s memory block yyyy t}rroltg}tr zzzz \r]to block starti

Page 86

APPENDIX 11MODIFYING DOS I TO MAKEBINARY HEADERS COMPATIBLE WITHASSEMBLER EDITOR CARTRIDGEThe following assembly language proqrarfq+'i*$'r:r

Page 87 - '1",*:#

To mn this prograrn, you must be in DEBUG mode so, t}T'e the following.. Type BUG and prcss @.. Type c600 and press @.The screen will disp

Page 88

NOTES:

Page 89

11 Modifying DOS I to Make Binary HeadersComparible with Assembly Carr;idgeILLUSTRATIONSFigure 2Figure 3Figure 4Figure 5-r-xntolr IFigure 6-rlqure /F

Page 91 - ' j '

INSTRUCTION SET(oPERAT|ON CODES)A " " ' s . r l . I " i , , " d -l 1l1l Lr!r!' l ! " I ' [ r ] i l &ap

Page 92

/\ATARTa warner commuf,calions companyO

Commentaires sur ces manuels

Pas de commentaire