This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Z80 & 68k Assembly => z80 & ez80 Assembly
Author Message
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 13 Dec 2003 03:39:41 pm    Post subject:

When programming assembly through the calculator's program editor, all a bcall is is EF address. Where can I find the hexadecimal addresses of at least some common bcalls?
Back to top
tr1p1ea


Elite


Joined: 03 Aug 2003
Posts: 870

Posted: 13 Dec 2003 04:22:23 pm    Post subject:

Have a look in the 'ti83plus.inc' file.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 13 Dec 2003 04:28:11 pm    Post subject:

Thanks Very Happy . what does ;*** mean?

Edit: I had no idea there were so many bcalls!!

Edit Edit: That raises a problem however. The reason I needed this was to program without a computer. There are just too many bcalls to print all of them - could someone find or get me a printable list of the most useful bcalls?


Last edited by Guest on 13 Dec 2003 04:44:15 pm; edited 1 time in total
Back to top
Justin W.
Shattered Silence


Advanced Member


Joined: 24 May 2003
Posts: 429

Posted: 13 Dec 2003 08:01:05 pm    Post subject:

Solution, copy and paste the ones you use most frequently. Laughing

Also if you didn't know, when typing out a program in hex on the calc you must reverse the bytes of the address. LSB first.

Example.

bcall(_GetKey)

_GetKey is equated as 4972h

So in hex, you would type this.

EF7249

_____________________________________________________

This is the same for load instructions, and the call instructions.

ld hl,PlotSScreen

PlotSScreen is equated as 9340h

Once again in hex.

214093

_____________________________________________________

It is also not recommended to make elaborate programs in hex. Unless of course you want to sit there with a list of all the z80 op codes/ ram equates/ ROM calls /Key Equates.....etc, etc. To try and decipher your code. I suggest you use Chasm for on calc programming, but I must warn it is not the most stable, and not exactly user friendly for beginners.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 14 Dec 2003 12:47:04 pm    Post subject:

Justin W. wrote:
Solution, copy and paste the ones you use most frequently. Laughing

Yes, but could you (or anyone else) suggest a list of several to start with?

Quote:
It is also not recommended to make elaborate programs in hex. Unless of course you want to sit there with a list of all the z80 op codes/ ram equates/ ROM calls /Key Equates.....etc, etc. To try and decipher your code. I suggest you use Chasm for on calc programming, but I must warn it is not the most stable, and not exactly user friendly for beginners.


I use Omnicalc's disassembler + a list of most functions translated <-> hex I wrote out using said disassembler. Plus it far faster to use the slow way at school (7 hours a day) than the fast way at home (no more than 1 hour a day). Maybe when TitanAsm comes out (if ever Sad ) I'll do things differently.


Last edited by Guest on 14 Dec 2003 06:04:33 pm; edited 1 time in total
Back to top
sgm


Calc Guru


Joined: 04 Sep 2003
Posts: 1265

Posted: 15 Dec 2003 12:59:17 pm    Post subject:

Sir Robin wrote:
Thanks Very Happy . what does ;*** mean?


It means that that ROM call didn't always exist, or wasn't always "official".

Sir Robin wrote:
Edit: I had no idea there were so many bcalls!!


There is (potentially) one every three bytes from $4000 to past at least $8000. There are quite a few that aren't defined in TI83PLUS.INC.

Sir Robin wrote:
could someone find or get me a printable list of the most useful bcalls?


That depends on what you think is "useful".
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement