?_½ÿÿÿÿÐ>­¤l!JŽ8Asm TI-83\+ Ion TeacherZÿmainAsm TI-83\+ Ion teacher˜˜lÿÿßÀÀÀ  /&;)z4ÿÿ ‹ ÿÿÿÿ|CONTEXT¡6|CTXOMAPÖ)|FONTá(|KWBTREEC*|KWDATA*|KWMAP2*|SYSTEM|TOPICì|TTLBTREEr.õ#ì#ÿÿÿÿ = ÿÿÿÿI1ßÿÿÿÿÿÿÿÿÿÿÿÿIëstart screenA Š& €6€€€‚ÿAsm TI-83\+ Ion teacherÌIV/ ,€;€€‚€€‚‚‚‚‚ÿWelcome to the Asm TI-83\+ Ion Teacher!This is a first release so it isn't perfect. I do know that the title bar says weird stuff, so please ignore that. Please report any bugs to the addresses below. I should release other versions of this help file. I am not an expert, but I am learning, so we can learn together. I made this because there were no other TI-83\+ Ion teachers. And I was bored one day.SŠ©5 :€<€–€‚çàÛêA€‰‚çßÛêA‰‚ÿTutorial 1Tutorial 2B¦Vëœ M€€çáÛêA‰‚çâÛêA‰‚çãÛêA‰‚‚€Ì"EF(`http://bapg.ticalc.org',`',1)€‰‚€Ì%EF(`mailto:warfreak2@juno.com',`',1)€‰‚€€ÿ Tutorial 3 Tutorial 4 Tutorial 5My Website is: http://bapg.ticalc.orgMy E-Mail is: warfreak2@juno.comMy AOL Instant Messanger is: cd141985; ©&1Vÿÿÿÿÿÿÿÿÿÿÿÿ&A Tutorial 26ë\' €€€‚€‚ÿTutorial 2%ì&9 @€Ù€‚H€€€‚‚€‚ƒƒ‚ƒƒƒƒ‚ÿWe are going to make our first program :) the lines of code that have a ; before them, this area is notes for the reader which will not be put in the program. I will use these to explain what certain lines of text mean. PLEASE NOTE THAT THE STANDARD ION HEADER IS IN ITALLICS AND WILL BE THE STANDARD HEADER FOR PROGRAMS. Here is the program. .nolist #include "ion.inc" ;the area in itallics is the standard .list ;ion header. you can change the name 2à\³R r€Á€‚H€ƒƒƒƒ‚‚‚‚‚‚‚ƒƒ‚ƒ‚ƒƒƒƒƒ‚ƒƒƒƒ‚ƒƒƒƒ‚ƒƒƒƒƒƒ‚ƒƒƒƒƒ‚ÿ#ifdef TI83P ;displayed by ion and the 2 labels .org progstart-2 .db $BB,6D#else .org progstart#endif ret jr nc,lblStart ;jumps to the label lblstart .db "Hello World",0;The title displayed by IONlblStart: ;defines where lblstart isbcall(_clrlcdf);Clear the screenbcall(_homeup) ;puts the cursor in the homerowlda,0ld(CURCOL),a;Loads a (which is zero) into the x coord.!ÊÔ W |€•€‚H€ƒƒ‚ƒƒƒƒƒ‚ƒƒƒƒ‚ƒƒƒƒ‚ƒƒƒƒ‚ƒƒƒƒƒ‚ƒƒƒƒƒƒ‚ƒƒƒƒ‚ƒƒƒ‚ƒƒƒ‚ÿlda,0ld(CURROW),a;Loads a (which is zero) into the y coord.ldhl,txtHelloWorld;Loads the text from txtHelloWorld into hlbcall(_puts);Puts the text on the screenbcall(_getkey);Waits for keypress before continuingbcall(_clrlcdf)ret;returns to basic modetxtHelloWorld:;a label used for jumping and other things.db"This is where " ;if you want multiple lines, don't have.db"the text will be" ;a ,0 after the "ͳâ A P€›€‚H€ƒƒ‚ƒƒ‚ƒƒ‚ƒƒ‚ƒƒƒ‚ƒƒƒƒƒƒ‚‚€‚ÿ.db"displayed, ".db"each line has to".db"16 charachters ".db"long, there can ".db"only be 7 lines ",0;this defines the end of the text.end;defines the end of a program.end)Ô & €€–‚H€‚ÿ6â A ( €€çáÛêA€‰ÿTutorial 3; | 1¤ ÿÿÿÿÿÿÿÿÿÿÿÿ| ñETutorial 12A ® $ €€€‚‚ÿTutorial 1`| B R€=€€€€€€€€€€€€‚ÿIn this help file, we will be using 2 programs to compile the files we make, tasm 3.01 and devpac83. Both of these programs are avalible at ticalc.org (a highly recommended Texas Instruments Graphing Calculator website). To compile the programs, we will make a batch file called asm.bat. To do this, we can use a text editor such as notepad. Copy and paste these lines of code into the file. you can copy by highlighting the text and pressing crtl+c. then to pase, we put the cursor in notepad and press ctrl+v. here is the code: Ö® &A6 :€­€€‚€‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚ÿ@echo offecho ----- Assembling %1 for the TI-83 Plus...echo #define TI83P >temp.z80if exist %1.z80 type %1.z80 >>temp.z80if exist %1.asm type %1.asm >>temp.z80tasm -80 -i -b temp.z&AA 80 %1.binif errorlevel 1 goto ERRORSdevpac83 %1copy %1.83p %1.8xp >nulecho ----- Assembling %1 for the TI-83...echo #define TI83 >temp.z80if exist %1.z80 type %1.z80 >>temp.z80if exist %1.asm type %1.asm >>temp.z80tasm -80 -i -b temp.z80 %1.binif errorlevel 1 goto ERRORS5[C5 8€€€‚‚‚‚‚‚‚‚‚€‚€‚‚ÿdevpac83 %1echo ----- Success!echo TI-83 version is %1.83pecho TI-83 Plus version is %1.8xpgoto DONE:ERRORSecho ----- There were errors.:DONEdel temp.z80 >nuldel %1.bin >nulThis code is also included with asm.bat in ion.zip which you can get at joewing.calc.org or ticalc.org. When we compile the files, it will make a version for the TI-83 and TI-83+. To compile the programs, you will enter dos, and go into the directory where you keep devpac83 and tasm3.01 and asm.bat. Then you just type in:8&A“E6 :€€€‚€€‚‚€€€‚ÿasm prgmnameDO NOT INCLUDE THE FILE EXTENSION. The files also have to be a .z80 file. To save z80 files in note pad, type the codes, then click on file, save or save as, then click the down arrow next to Text Documents, and click on All Files (*.*), then place the cursor where you put in the name of the document and type in the name of the program you want to save as, just save it as prgmname.z80. You do not have to name the files prgmname, you will replace this with what you want to call the file.([C»E$ €€€‚‚ÿ6“EñE( €€çßÛêA€‰ÿTutorial 2; »E,F1 ÿÿÿÿÿÿÿÿÿÿÿÿ,FúITutorial 36ñEbF' €€€‚€‚ÿTutorial 3 Á,FoHL f€ƒ€‚H€‚‚€‚‚‚‚‚‚‚‚‚‚‚ƒ‚‚ƒƒ‚ƒ‚ƒƒƒ‚ƒƒƒƒƒƒ‚ƒƒƒ‚ÿWe are going to make a program that will display inverted text :) Here is the code .nolist #include "ion.inc" .list#ifdef TI83P .org progstart-2 .db $BB,6D#else .org progstart#endif ret jr nc,lblStart .db "Inverted Text",0 lblStart:bcall(_clrlcdf)bcall(_homeup)settextInverse,(iy+textflags);Sets the textinverselda,0ld(CURCOL),a,ÛbF›IQ p€·€‚H€ƒƒ‚ƒƒƒ‚ƒƒƒƒ‚ƒƒƒ‚ƒƒƒ‚ƒƒ‚ƒƒƒƒƒ‚ƒ‚‚ƒƒ‚‚€ ‚€ ‚ÿlda,0ld(CURROW),aldhl,txtHelloWorldbcall(_puts)restextInverse,(iy+textflags);Resets the text inversebcall(_getkey)bcall(_clrlcdf)rettxtHelloWorld:.db" Hello World ",0.end.end)oHÄI& €€–‚H€‚ÿ6›IúI( €€çâÛêA€‰ÿTutorial 4; ÄI5J1Šÿÿÿÿÿÿÿÿÿÿÿÿ5J„OTutorial 46úIkJ' €€€‚€‚ÿTutorial 4+ç5J–LD V€Ï€‚H€‚‚€€‚‚‚‚‚‚‚‚‚‚‚ƒ‚‚ƒ‚ƒ‚ƒƒƒƒ‚ÿWe are going to make a program to display sprites. Sprites are pictures that are used in programs to move. here is the code .nolist #include "ion.inc" .list#ifdef TI83P .org progstart-2 .db $BB,6D#else .org progstart#endif ret jr nc,lblStart .db "IonPutSprite Example",0;The title displayed by IONlblStart:bcall(_clrlcdf)bcall(_homeup)bcall(_cleargbuf);Clears the graph buffer¢kJ¥Nm ¨€E€‚H€ƒƒƒƒƒƒ‚ƒƒƒƒƒƒ‚ƒƒƒƒƒƒ‚ƒƒƒƒƒ‚ƒƒƒƒƒ‚ƒƒƒƒƒ‚ƒ‚ƒƒ‚ƒ‚ƒƒƒƒƒƒ‚ƒƒƒƒƒƒ‚ƒƒ‚ƒƒ‚ƒƒ‚ƒƒ‚ÿldb,8;Height of spritelda,5;X coordinateldl,5;Y coordinateldix,sprBox;Loads the sprite into ixcallIonPutSprite;Puts the sprite on the screencallIonFastCopy;Copies the graph buffer onto the screenbcall(_getkey)bcall(_clrlcdf)bcall(_cleargbuf)ret;Returns to IONsprBox;This is the sprite, 1=on;2=off.db%11111111.db%10000001.db%10000001.db%10000001€J–L%O6 <€”€‚H€ƒƒ‚ƒƒ‚ƒƒ‚ƒƒ‚‚‚€‚ÿ.db%10000001.db%10000001.db%10000001.db%11111111.end.end)¥NNO& €€–‚H€‚ÿ6%O„O( €€çãÛêA€‰ÿTutorial 5; NO¿O1Ëÿÿÿÿÿÿÿÿÿÿÿÿ¿OfƒTutorial 56„O €' €€€‚€‚ÿTutorial 5¿O €„OwB¿Oƒ5 8€…€€‚‚€‚‚‚‚‚‚‚‚‚‚‚‚‚ÿHere is code to make a program turn off mid-program! here is the code .nolist #include "ion.inc" .list#ifdef TI83P .org progstart-2 .db $BB,6D#else .org progstart#endif ret jr nc,lblStart .db "Power Off Program",0lblStart:Ž. €ƒ` Ž€]€‚H€ƒ‚ƒ‚ƒƒƒƒƒƒ‚ƒƒ‚ƒƒ‚ƒƒ‚ƒƒ‚ƒ‚ƒ‚ƒƒƒƒƒ‚ƒƒƒƒ‚ƒƒƒƒ‚ƒƒƒƒ‚ƒƒƒƒ‚ƒ‚‚ƒƒ‚ÿbcall(_clrlcdf)bcall(_homeup)lda,0ld(CURCOL),alda,0ld(CURROW),aldhl,txtHelloWorldbcall(_puts)bcall(_getkey)bcall(_clrlcdf)lda,1;I really don't understand what this means, but it works!out(3),a;ei;halt;rettxtHelloWorld:.db" Hello World ",0-ƒ>ƒ& €€–‚H€‚ÿ.end(ƒfƒ" € €€ÿ.end1>ƒ—ƒ1Uÿÿÿÿÿÿÿÿÿÿÿÿ—ƒ»ƒ$fƒ»ƒ" €€€ ÿ1—ƒÿÿÿÿ1ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿõì hMS Sans SerifSymbolCourier New$ÿÿÿÿ;2|ÿ„ІÊ!ÿ|„ІÊ/&;)F24ÿÿÿÿÿÿstart screenTutorial 1Tutorial 2Tutorial 3 Tutorial 4Tutorial 5/&;)Lzÿÿ’ÿÿÿÿstart screen|Tutorial 2ÿTutorial 1„Tutorial 3ІTutorial 4ÊTutorial 5}/&;)L4ÿÿÈÿÿÿÿÞÛêAßÛêA|àÛêAÿáÛêA„âÛêAІãÛêAÊ