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
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 17 Sep 2008 08:49:43 pm    Post subject:

It seems TASM doesn't like the following code:


Code:
.nolist
#include "ion.inc"
.list
#ifdef TI83P
  .org progstart - 2
  .db $BB,$6D
#else
  .org progstart
#endif
  ret
  jr nc, start
  .db "Galactic Trader",0
start:
  bcall(_clrlcdf)
  bcall(_grbufclr)
  ld   de,0*256+0
  ld   (currow),de
  ld   hl,text1
  bcall(_puts)
  ret




text1:
.db "Galactic Trader",0
#include "keys.inc"
.end
END


Says that progstart label not found, then crashes. Am I doing something wrong here?
Back to top
asdf


Advanced Newbie


Joined: 17 Aug 2008
Posts: 73

Posted: 17 Sep 2008 08:55:51 pm    Post subject:

Go into ion.inc and under the #ifdef TI83 section put:
progstart = 9327h

and under the #ifdef TI83P section put:
progstart = 9D95h
Back to top
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 17 Sep 2008 09:02:28 pm    Post subject:

Hmm... Still crashes.

Also, the code is generated by EzASM. I am trying it out for the first time, but it doesn't look good Razz


Last edited by Guest on 17 Sep 2008 09:03:43 pm; edited 1 time in total
Back to top
luby
I want to go back to Philmont!!


Calc Guru


Joined: 23 Apr 2006
Posts: 1477

Posted: 17 Sep 2008 09:36:04 pm    Post subject:

Does it(the compiler) crash or give you an error?
Back to top
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 17 Sep 2008 09:41:48 pm    Post subject:

Gives me the label not found error, then crashes.
Back to top
asdf


Advanced Newbie


Joined: 17 Aug 2008
Posts: 73

Posted: 17 Sep 2008 09:50:50 pm    Post subject:

Well try replacing the header with this:

Code:
.nolist
#include "ion.inc"
.list
#ifdef TI83P
 .org $9D95 - 2
 .db $BB,$6D
#else
 .org 9327h
#endif
 ret
 jr nc, start
Back to top
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 17 Sep 2008 09:53:19 pm    Post subject:

No crashes, but 42 errors now *sigh*

I guess I will stick to regular assembly. Too bad EzASM didn't work...

Thanks for your help Smile
Back to top
Liazon
title goes here


Bandwidth Hog


Joined: 01 Nov 2005
Posts: 2007

Posted: 18 Sep 2008 10:14:57 pm    Post subject:

EzASM has been around for awhile and like the other shortcuts it's just not the same as coding assembly straight out.

don't you already know ASM?
Back to top
pugboy


Active Member


Joined: 11 Apr 2007
Posts: 544

Posted: 21 Sep 2008 10:39:23 pm    Post subject:

Well... To a certain extent. Assembly is not my kind of language, but I have a solution for those anti-assembly programmers Very Happy
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