[A83] Re: Yup, More Problems With Ion


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

[A83] Re: Yup, More Problems With Ion




The only problem you have in this code is on line 7.
Replace with:
      .org progstart-2

Also assure that you saved your file as *.z80 or *.asm
Use TASM compiler, Devpac83 or Devpac8x as linker and batch file included 
with ION or Devpac8x.

I assembled the program (with change above) and it works perfectly both in 
ION and TI-OS.

Another thing: you should never use _getkey call in ION, but that's another 
story.


>From: "Steve Watson" <fif_freak00@hotmail.com>
>Reply-To: assembly-83@lists.ticalc.org
>To: assembly-83@lists.ticalc.org
>Subject: [A83] Re: Yup, More Problems With Ion
>Date: Tue, 13 Mar 2001 18:51:46 -0700
>
>
>OK, here's the new source, AND IT DIDN'T WORK!  There's still a problem
>SOMEHWERE, and I KNOW there's nothing wrong with my calculator!
>
>      .nolist
>      #include "ion.inc"
>      .list
>
>#ifdef TI83P
>      org progstart-2
>      .db $BB,$6D
>#else
>      .org progstart
>#endif
>      xor a
>      jr nc,start
>      .db "Test Detect",0
>start:
>      bcall(_clrlcdf)
>      bcall(_homeup)
>      ld hl,txt
>      bcall(_puts)
>      bcall(_getkey)
>      ret
>txt:
>      .db "Hey!",0
>.end
>.end
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.