Re: A83: TI8X rom calls and memory equ's


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

Re: A83: TI8X rom calls and memory equ's




You can find my Cross platform (ti82,ti83,ti83+ only) include file at
http://sgc.emu2k.com/dwedit/files/dwedit.inc

It looks for the description at "tTitle:", and looks for libs (SOS) at 
"Libs:".

Using #IFDEFs, one for calc and one for shell, it can complie for TI83 
(ZES,SOS,ION), TI82, and TI83+ (ION).

Use "#DEFINE TI82" for the ti82, "#DEFINE TI83" for the ti83, "#DEFINE 
TI83P" for the ti83+.

also use "#DEFINE SOS", "#DEFINE ZES", or "#DEFINE ION" to select shell.

It auto-replaces bcall() with rom_call() for compiling on 82.

there are a few "don't bcall this!" romcalls on the 82, they are:
_getcsc
_cphlde
_divhlbya
_divhlby10
_lcdbusy

>From: "Frank Schoep" <dsfs98@concepts.nl>
>Reply-To: assembly-83@lists.ticalc.org
>To: <assembly-83@lists.ticalc.org>
>Subject: A83: TI8X rom calls and memory equ's
>Date: Tue, 26 Sep 2000 17:06:18 +0200
>
>
>This might not be a total TI83 question, but I want to know the following:
>
>+ What are the usermem offsets of all other Z80 TI calcs? (TI83=$9327)

this is called progstart in the include file

>
>+ What are the romcall locations on all other Z80 TI calcs, for these
>romcalls:
>_grbufcpy_v (TI83=$5164)
>_grbufclr (TI83=$515B)

just bcall it and it should work, the 82 romcalls have been replaced with 83 
equivlent names

>
>+ On other Z80 TI calcs, are there similiar memory locations to these on 
>the
>TI83:
>plotsscreen (TI83=$8E29)
>saferam1 (TI83=$8265, and is the size of te memory area equal to the size 
>of
>the screen?)

Yes, saferam1 is the apd_buf, 768 bytes of Free ram.
saferam2 is statvars, 512 bytes on 83, 768 bytes on 83+ (app_mem) and 128 
bytes on 82 (cmdshadow)
>
>+ What are the screen sizes of other Z80 calcs (WxH)? (TI83=96x64=768 
>bytes)

85/86 is 128x64x1024, 82/83/83+ are same (96x64x768)

>
>As you may already see, I'm planning to create a cross-platform program. I
>hope that you can answer this (tediously) irritating question...
>
>Greetz,
>Frank
>
>

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

Share information about yourself, create your own public profile at 
http://profiles.msn.com.