Tutorial #1
2-17-99

You want to learn ASM? Well, I hope you stick with it, because their is always more room for TI-83 ASM programers. Lets go over the basics, first you have to have the right tools... You need TASM you can get it from www.ti-files.org and you should get 83lnk. Also it would be a good idea to get 83asmedit.zip also. And you also need the ti83asm.inc and the tokens.inc files. You can get them from www.ti.com Now unzip all those files into one directory... And TYPE into the ASM Editor or an Text Editor. NOTICE I SAID TYPE!!! Don't copy and paste, you won't learn anything!!! If you take the easy way out your only hurting yourself, I'm not doing this because I feel like it, well actually I am but anyway, just type it! Don't use Word Perfect or Word because they don't like some of the commands, sometimes... Use Notepad or a word processor, or something. (I'll go over what each command means after the code)

.NOLIST
#DEFINE equ .equ
#DEFINE EQU .equ
#DEFINE end .end
#INCLUDE "ti83asm.inc"
#INCLUDE "tokens.inc"
.LIST
.org 9327h

Now your probably saying, "WHAT IS THAT!!?!??" Let me explain, you really don't need to know exactly what these commands mean, because their just necessary commands that begin in almost every ASM program... But the .NOLIST command tells TASM not to list the following code as commands, the .LIST tells TASM to list the following as a commands. #DEFINE just does what you think it does, it defines those variables. #INCLUDE means you want to include those files in the prog and the .org 9327, means something, I don't know what but you have to have it....

.NOLIST
#DEFINE equ .equ
#DEFINE EQU .equ
#DEFINE end .end
#INCLUDE "ti83asm.inc"
#INCLUDE "tokens.inc"
.LIST
	.org 9327h
	call _clrLCDFull ;Clears the Screen
	ret ;Returns to what it was doing
	.end ;Ends the program
END

Now you know what the .NOLIST and .LIST and #DEFINE commands mean, now the _clrLCDFull command clears the screen, call just calls that command you wanted. ret tells the program to return to what it was doing and .end just ends the program the other END is necessary for TASM to work, sometimes. Now you have to tab those commands in, the call _clrLCDFull and the ret, why? Because TASM isn't very smart, I'll get to some of the more complex things later. But for now thats about all you need to know... I recommend that you read over this tutorial again if you don't understand something...

Now you have to compile and send to your calculator...First, you have to have that TI-83 ASM program, tell it where your TASM directory is, then Click Assemble, it shouldn't have any errors unless you typed something in wrong...Now you have to have to use 83lnk, type in the MS-DOS Prompt "83lnk your-program-name.obj your-program-name.83p yourprogramname" Then go into your 83lnk directory and your program in 83p format should be there, now send it to your calculator, and create a basic program lets just label it "H" and type in your calc this: "Send(9prgmTHE-PROGRAMS-NAME" Then run "H" It should have cleared the screen... Don't type in the quotes though...

If something is messed up or you have a question e-mail me at: uncool3@juno.com

-(KSA)Tekken