Re: A85: Re: Variable types


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

Re: A85: Re: Variable types




I'm not quite sure how to do that, here is the bit of code that would
execute the program, perhaps a few modifications to it would work, if you
could help me at all that would be great. This code is called as shown
from a key loop. Please help me more I don't know much about the VAT.

keyloop:
        cp      K_ENTER
        jr      z, Exec

GetProgram:
        ld      H, 9
        ld      L, C
        call    MUL_HL
        ld      DE, TEXT_MEM2
        add     HL, DE
        ret

Exec:
        push    BC
        call    &GetProgram
        call    VAR_EXEC
        im      2
        pop     BC
        call    GET_KEY
        ld      HL, USG_BITS
        bit     1, (HL)
        call    nz, OTH_EXIT
        ld      A, 4
        out     (5), A

-Jon Johnson

On Mon, 20 Mar 2000 17:37:51 +0100 "Dines Justesen" <dines@aub.dk>
writes:
> 
> Why not just loacte the VAT entry (a ROM_CALL) and modify the byte?
> 
> Dines
> ----------------------------------------------------------------------
>  Dines Justesen
>  "ua mau ke ea o ka ai·na i ka po·no"
>  dines@aub.dk
>  www.student.dtu.dk/~c958362
> ----------------------------------------------------------------------
> 
> ----- Original Message -----
> From: "Jon R Johnson" <jrjinfinity@juno.com>
> To: <assembly-85@lists.ticalc.org>
> Sent: Monday, March 20, 2000 10:13 AM
> Subject: A85: Variable types
> 
> 
> >
> > Does anyone know how to change the variables type from $0c to $2c? 
> I know
> > both of those are strings.
> >
> > I know mem30 does this but I need my some code that does this with 
> the
> > touch of a button for the Shell I'm writing to be used with Usgard.
> >
> > Any help will be good I've been trying this one for 11 months now. 
> I'm
> > stuck.
> >
> > -Jon Johnson
> > ________________________________________________________________
> > YOU'RE PAYING TOO MUCH FOR THE INTERNET!
> > Juno now offers FREE Internet Access!
> > Try it today - there's no risk!  For your FREE software, visit:
> > http://dl.www.juno.com/get/tagj.
> >
> 
> 

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.


Follow-Ups: