Tutorial #10
2-18-99
Turn off that CALC!!!
Ok, this is my last tutorial for today....I've made wayyy to many for one day....This program will turn off the calc and when its turned on it will display "mem cleared"...Even though it dosn't reset the mem, a good fake virus!!!
I do now know how it turns the calc off and it dosn't matter....
.NOLIST
#DEFINE equ .equ
#DEFINE EQU .equ
#DEFINE end .end
#INCLUDE "ti83asm.inc"
#INCLUDE "tokens.inc"
.LIST
.org 9327h
DI
LD A,001H
OUT (003H),A
LD A,000H
OUT (004H),A
EX AF,AF'
EXX
EI
JP message
RET
message:
call _clrLCDFull ;Clears the screen
ld hl,0003 ;Row 0 Colum 3
ld (CURROW),hl ;Loads coords into CURROW
ld hl,fake ;Load string
call _puts ;Puts it on screen
call _homeup ;Puts the cursor at the top
ret ;Returns to what it was doing
fake:
.db " Mem Cleared",0
.end ;Ends program
END :Needed for TASM
That should should scare people...Now create a basic program and put this in it
Send(9prgmPRGM-NAME
Disp ""
Output(5,13," "
That will erase the done message...Well thats about it... More tutorials in few days...Any Questions? E-mail me!
(KSA)Tekken (uncool3@juno.com)