<IMG SRC="pierotating.gif" WIDTH=80 HEIGHT=80 BORDER=0>

Introduction

Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6

TI-85 Page
Ash

Site update

The site has not been updated in a long time, but after it was moved to this location the layout has been updated (it is not completely done anf the HTML is still messy). As soon as I get the time I will finish the update of the site, but do not expect any new lessons to be added any time soon.

Introduction


For some time know Jimmy Mårdels Online Zshell School have thought beginners how to program the TI85. Now that it is possible to program the TI82 in assembler, lots of people need this kind of information for the TI82. The lessons found here are the lessons Jimmy Mårdel wrote for the TI85, the only changed is that they have been changed so they work with the TI82 and Ash 3.0. If you have any questions or ideas for this school please mail Dines Justesen

New lessons will be added to this page as soon as they are done. All information intro the school will be placed on this page, so the lesson pages will only contain the lessons. If you want to link to the school please to this page and not the lesson pages, so every one will see any information posted here.

This is the first public version of this page so it might contain a few errors, if you find one please send me some information on it. I thought that it was important to get this released so it would become easier for people to learn how to program for Ash, therefore i did this whole thing rather fast. This also means that i did not have time to make any fancy layout, but all the text should be there.

Compiling


Since many people have problems compiling their first programs, this section tells you how to do it and where you can find the programs you need.

All programs should be written as plain text, so any simple text editor will do. If you decide to use a more advanced wordprocessors be sure you know how to save the file as plain text. If you are using DOS you can use EDIT.COM, or Notepad if you are using Windows.

To compile a program for Ash 3.0 you will need the following files: TASM.EXE, TASM80.TAB, TI82.H, PRGM82.EXE and FIX.COM. Besides that the batch file ASM.BAT which came with Ash is very useful. All these files where included in the Ash zip files except for TASM.EXE and TASM80.TAB. You can download TASM which includes these two files here.

When you have all these files in the current directory all you need to do to compile a program is to call ASM.BAT follow by the name of the program. You can get a small test program here to check that every thing is working. If you use the batch file ASM.BAT you should get an output like the one shown below.

C:\ash>asm hello
TASM Z80 Assembler.       Version 3.0.1  June, 1994.
 Copyright (C) 1985-1994 by Speech Technology Incorporated
tasm: pass 1 complete.
tasm: pass 2 complete.
tasm: Number of errors = 0
Data written to HELLO.82P
Checksum has been updated.
C:\ash>
            
Unless you get an error when you run ASM.BAT you program have now been compiled, and all you need to do is to send it to your calc using your favorite link program.

When compiling, you must have the following files in the same directory as the source file: TI82.H and TASM80.TAB. The files you execute (TASM.EXE, PRGM82.EXE and ASM.BAT) only have to be in a path set by the PATH environment variable.

Lessons

Below is a list of the lessons currently available and a list of plan lessons. Currently the lessons are only avaible as HTML documents, but some (or all) of them might be available as plain text later.

Available lessons:

LessonContents
#1 Introduction to assembly language. Binary and hexadecimal. The memory. A "Hello World" program. How to compile a program.
#2 How to store information in registers and in the memory. Some simple instructions, ld, add, inc, dec and sub. A closer look at the "Hello World!" program.
#3 What are flags? How to compare and make loops. What are ROM_CALLs?
#4 All bit manipulating instructions and some other small useful instructions.
#5 What is/how to use the stack, including the instruction Push/Pop. PutImage and a very fast PutSprite routine.
#6 What are opcodes? How do I use alias and macros in my assembler? Some more registers are presented plus a couple of new instructions. Last, introduction to grayscale graphics.

Planed lessons:

LessonContents
#7 Input rutines, a few new graphic rutines and other useful instructions

Plans

If any lessons are added to the Online ZShell School in the future, you should be able to find a TI82 version of it later on this page. Besides that i have been thinking intro making a lesson on how you can use the display controller to make you own fast display rutines. If you have any suggestions/ideas for new lessons fell free to send them to me





This page is maintained by Dines Justesen. All lessons are based on Jimmy Mårdels Online ZShell School.
(c)1999 Content: Dines Justesen and Jimmy Mårdel; Design, Graphics, Animation: mousewasher's WebDesign
These sites are optimised for IE4+ 800x600