A83: Password thing.
[Prev][Next][Index][Thread]
A83: Password thing.
Ok...
Its really easy what you want to do Mike:
All you have to do it use the code you already typed in ASM (although isn't
there a colon by 'madeby'?)
Because the program exit after displaying your name...then use your basic
program to handle the looping. Like this:
(TURN OFF THE CALC)
repeat a=1
ClrHome
Input X
If X=8910
Then
ClrHome
Disp "You got the PW","correct you may ","now enter!"
1-->A
Else
ClrHome
Disp "You got the PW","WRONG!@!"
Pause
prgm(9prgmOFF
end
end
hope that helps.
____________________________________
James Matthews.
E-mail (family): matthews@tkb.att.ne.jp
E-mail (private): james_matthews@hotmail.com
Homepage: http://home.att.ne.jp/gold/tomcat21/index2.html
ICQ: 7413754
____________________________________
> ; CALCOFF.Z80 v1.0
> ; Turns your ti-83 calculator off
>
> .NOLIST
> #define equ .equ
> #define EQU .equ
> #define end .end
> #include "ti83asm.inc"
> #include "tokens.inc"
> .LIST
>
> .org 9327h
>
> OFF:
> DI ; disable interrupts
> LD A,001H
> OUT (003H),A ; turn off screen
> LD A,000H
> OUT (004H),A
> EX AF,AF'
> EXX
> EI ; enable interrupts
> ;
> ; Put code here that you want to execute when the calculator turns back
on
> ;
> set textInverse,(iy+textflags)
> CALL _CLRLCDFULL ;CLEAR SCREEN
> LD HL,0200h
> ld (currow),hl
> LD HL,Madeby
> CALL _PUTS
> res textInverse,(iy+textflags)
> CALL _getk
> ret
>
> Madeby .db "Made By Mike Walsh", 0
> .end
> END