Re: A83: TI-83+ Assembly Programs


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

Re: A83: TI-83+ Assembly Programs




It's not "Asm(prgmX)" but "Asm(prgmX", there is no second bracket. You can't put
FLASH-ROM updates directly onto the emulator, you have to send them to your
calculator first and then re-run the ROM dump.

--Robin Kay--

Jeremy wrote:

> I made that change, but I still get ERR:INVALID when I use
> the Asm(prgmX) format.  Here's the code again.  I'm trying this on the
> Virtual TI emulator, could this be the problem?  It's BOOT Code 1.00, BASE
> Code 1.03.  I found a ROM update on www.ti.com, but I can't get it onto
> the emulator.  Could someone check out my code and tell me if it works for
> them?
>
> Thanks
> Jeremy
>
> .NOLIST                 ; Defines area which isn't code.
> #define end .end
> #define END .end
> #define equ .equ
> #define EQU .equ
> #include "ti83plus.inc"
> .LIST                   ; Defines area which IS code.
> .org userMem-2
> .db     $BB,6D
>     bcall(_clrLCDFull)
>     ld hl,0000h
>     ld (PENCOL),hl
>     ld hl,str1
>     bcall(_vputs)
>     ld hl,0001h
>     ld (CURROW),hl
>     ld hl,0000h
>     ld (CURCOL),hl
>     ld hl,str2
>     bcall(_puts)
>     ret
> str1:
>     .db "This is small writing.",0
> str2:
>     .db "This is big.     ",0
> .end
> END
>
> On Sun, 20 Feb 2000, Robin Kay wrote:
>
> >
> > All the ION batch file does is rename the file to .8xp, I know that batch file
> > works becuse I am using it to compile TSE. Replace .org userMem with...
> >
> > .org userMem-2
> > .db $BB, $6D
> >
> > --Robin Kay--
> >
> >
> > Jkhum98@aol.com wrote:
> >
> > > There may be a problem with Devpac for the 83, and the output files that seem
> > > to be for the 83+... In the quotes below with directions about that batch
> > > file, I see that it is simply renaming from 83p to 8xp, and Im not sure if
> > > this will work for the 83+. The header may be different for each... I would
> > > try compiling your prog with the ION batch file from ion.zip, which will
> > > correctly produce the 8xp. You would just leave out the ION compatibility
> > > header, so that you can run it from the OS. Try that and see if it works...
> > >
> > > Jason_K
> > >
> > > In a message dated 2/19/00 10:59:51 PM Central Standard Time,
> > > jedrake@linknet.kitsap.lib.wa.us writes:
> > >
> > > > It still won't work.  I get ERR:INVALID when I try to run it.  I think I
> > > >  must be doing something wrong.  Could someone check out this program and
> > > >  see if it works for them, or just tell me if there is something I'm doing
> > > >  wrong?  I copied the BCALL macro from the ion.inc file instead of using
> > > >  the ti83plus.inc version's original form because the original form gave me
> > > >  errors in TASM.  The line is #define bcall(xxxx)     rst 28h \ .dw xxxx
> > > >
> > > >  Thanks
> > > >  Jeremy
> > > >
> > > >
> > > >  .NOLIST                 ; Defines area which isn't code.
> > > >  #define end .end
> > > >  #define END .end
> > > >  #define equ .equ
> > > >  #define EQU .equ
> > > >  #include "ti83plus.inc"
> > > >  .LIST                   ; Defines area which IS code.
> > > >  .org userMem
> > > >      bcall(_clrLCDFull)
> > > >      ld hl,0000h
> > > >      ld (PENCOL),hl
> > > >      ld hl,str1
> > > >      bcall(_vputs)
> > > >      ld hl,0001h
> > > >      ld (CURROW),hl
> > > >      ld hl,0000h
> > > >      ld (CURCOL),hl
> > > >      ld hl,str2
> > > >      bcall(_puts)
> > > >      ret
> > > >  str1:
> > > >      .db "This is small writing.",0
> > > >  str2:
> > > >      .db "This is big.     ",0
> > > >  .end
> > > >  END
> > > >
> > > >
> > > >  On Sun, 20 Feb 2000, Robin Kay wrote:
> > > >
> > > >  >
> > > >  > 1) Make sure you have tasm, ti83plus.inc and devpac83* all in the same
> > > > directory.
> > > >  > 2) Create the file asm83p.bat at put the following in it:-
> > > >  >
> > > >  > @echo off
> > > >  > tasm -80 -i -b %1.asm %1.bin
> > > >  > devpac83 %1
> > > >  > del %1.bin >nul
> > > >  > del %1.8xp >nul
> > > >  > rename %1.83p %1.8xp >nul
> > > >  >
> > > >  > 3) Then type 'asm83p ' followed by the name of the source file excluding
> > > > extension
> > > >  >
> > > >  > 4) Use the graphlink cable and software to send send the resulting .8xp
> > > > file to
> > > >  > your calculator
> > > >  > 5) Press**: 2ND - 0 - Scroll down to 'Asm(' - ENTER - PRGM - Select the
> > > > program -
> > > >  > ENTER - ENTER
> > > >  >
> > > >  > * You can get this from ticalc, I think...
> > > >  > ** This equates to: Asm(prgmNAMEOFPROGRAM
> > > >  >
> > > >  > Jeremy wrote:
> > > >  >
> > > >  > > Thanks.  Now how do i get it onto my calculator?
> > > >  > >
> > > >  > > Jeremy
> > > >  > >
> > > >  > > On Sat, 19 Feb 2000, Robin Kay wrote:
> > > >  > >
> > > >  > > >
> > > >  > > > You need to use bcall(xxxx) instead of call xxxx. For example:
> > > >  > > >
> > > >  > > >  bcall(_clrLCDFull)
> > > >  > > >
> > > >  > > > --Robin Kay--
> > > >  > > >
> > > >  > > > Jeremy wrote:
> > > >  > > >
> > > >  > > > > I converted a sample program from the ASMGURU file to 83 plus, but
> > > > it
> > > >  > > > > won't work.  I don't know how to get it from the ASM to something
> > > > the
> > > >  > > > > calculator can run and how to get the calculator to run it.  I
> > > have
> > > > TASM
> > > >  > > > > 3.01.  How do I get an ASM program to work on the 83 Plus?  I put
> > > > the code
> > > >  > > > > below, so if I missed something I need, let me know.
> > > >  > > > >
> > > >  > > > > Thanks
> > > >  > > > > Jeremy
> > > >  > > > >
> > > >  > > > > .NOLIST                 ; Defines area which isn't code.
> > > >  > > > > #define end .end
> > > >  > > > > #define END .end
> > > >  > > > > #define equ .equ
> > > >  > > > > #define EQU .equ
> > > >  > > > > #include "ti83plus.inc"
> > > >  > > > > .LIST                   ; Defines area which IS code.
> > > >  > > > > .org userMem
> > > >  > > > >
> > > >  > > > >     call _clrLCDFull
> > > >  > > > >     ld hl,0000h
> > > >  > > > >     ld (PENCOL),hl
> > > >  > > > >     ld hl,str1
> > > >  > > > >     call _vputs
> > > >  > > > >     ld hl,0001h
> > > >  > > > >     ld (CURROW),hl
> > > >  > > > >     ld hl,0000h
> > > >  > > > >     ld (CURCOL),hl
> > > >  > > > >     ld hl,str2
> > > >  > > > >     call _puts
> > > >  > > > >     ret
> > > >  > > > > str1:
> > > >  > > > >     .db "This is small writing.",0
> > > >  > > > > str2:
> > > >  > > > >     .db "This is big.     ",0
> > > >  > > > > .end
> > > >  > > > > END
> > > >  > > >
> >
> >



Follow-Ups: References: