[A83] Re: asm numerical input


[Prev][Next][Index][Thread]

[A83] Re: asm numerical input




you could always create a new BASIC program from within your asm program,
run it with _parseInp (i think thats what it's called) and have it input a
number for variable X or whatever.  The only problem would be the error
handlers, but I suppose you could install and error handler before you ran
the BASIC program.  Then just recall X to op1 and you have your floating
point number.
*shrug* BASIC does have _some_ use every now and then
----------------------------------------------
Original Message
From: "Xavier LaRue"<paxl@ca.inter.net>
Subject: [A83] Re: asm numerical input
Date: Thu, 31 May 2001 21:16:04 -0400

>
>On Thursday 31 May 2001 09:09 pm, you wrote:
>> On Fri, 1 Jun 2001 01:36:56 +0200 (CEST),
>>
>> assembly-83@lists.ticalc.org wrote:
>> >In accordance with the prophecy, Tom uttered:
>> >> I tried compiling this using ZiLOG Developer Studio 3.5 and it
>>
>> made
>>
>> >> my calc crash...any idea why? I did format it correctly I think.
>> >>This
>> >> is Tutorial 34 from ASMGuru. PGMIO_EXEC wasn't defined in
>> >> TI83plus.inc, neither was _formDisp. Are they different for an
>> >>83+??
>> >> The author claims that this code will ask for numerical input, and
>> >>it
>> >> can handle integers, equations, real numbers, tokens, etc.
>> >>
>> >> LIST
>> >>
>> >> PGMIO_EXEC         equ           50B2h
>> >> _formDisp          equ           4D0Eh
>> >> org 9327h
>> >>        ld      de,821ch
>> >>        ld      hl,prompt
>> >>        ld      bc,16
>> >>        ldir
>> >>        ld      a,1
>> >>        ld      (ASM_IND_CALL),a
>> >>        call    PGMIO_EXEC
>> >>        call    _formDisp
>> >>        ret
>> >> prompt:         .db "Num: ",0
>> >> end
>> >> end
>> >
>> >Doesn't work for the 83+. And no, you can't just pick a rom address
>> >from the 83
>> >include file and try to use it on the 83+. Sorry.
>>
>> Is there a way to make it work?
>
>Nope..... you have to make you one floting point input routine becaus that 
>call has been removed by ti.... 
>Hope that help
>Paxl
>>
>> caffeine43@netzero.net on 05/31/2001
>
>
>

_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com




Follow-Ups: