SDK
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
SDK
Author Message
camaro68


Newbie


Joined: 09 Jun 2003
Posts: 13

Posted: 09 Jun 2003 12:52:43 pm    Post subject:

It is probably just me because I am a slow learner, but I have found some
problems with the SDK. Mainly the appguru tutorial.
If someone could verify that I am not going insane here, please reply to
the following:
1. In the tutorial, it says to use "z180" as the family when starting the
ZDS. Isn´t the CPU a z80?
2. It says that the ZDS is mainly used to create apps but indicates that
you can turn it into a regular asm program to run under the asm(
command but delete the colons and first 8 digits in each line of the
hex output and the last two. Now there´s the part I am confused with.
It says you "can" delete the last two lines. Well, are you supposed to
or not. This would be easy to figure out but there is the strange way
it also tells you to delete the "first 8 digits in each line and 'the last 2'!
Now, is that the last two in each line or the last two digits only in the
last line (before the totally deleted last two lines).
I have started with this tutorial and would like to finish it but I am thinking
of switching to a different tutorial!
I look forward to a reply to ease my frustration! Neutral
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 09 Jun 2003 01:17:57 pm    Post subject:

Jbirk, isnt the actual processor a z18080 or something? i dunno... and if i were u i wouldn't use the appguru... i have used it and hated it Neutral not enuf info!
Back to top
62 52 53 53
Formerly known as 62 52 53 53


Active Member


Joined: 30 May 2003
Posts: 607

Posted: 09 Jun 2003 03:42:36 pm    Post subject:

download the cirrus SDK from http://cirrus.tigalaxy.com
get 83pasm28d from the win section uf http://www.ticalc.org
Back to top
NETWizz
Byte by bit


Bandwidth Hog


Joined: 20 May 2003
Posts: 2369

Posted: 09 Jun 2003 03:48:39 pm    Post subject:

Yes, the processor is a Z80180, but it uses the same assembly language as the Z80. Think of it as a faster Z80.
Back to top
camaro68


Newbie


Joined: 09 Jun 2003
Posts: 13

Posted: 10 Jun 2003 01:37:26 am    Post subject:

Grammar Nazi Laughing
Anway, yes, I have tried it various ways but I think the appguru
is just leaving out other information.
I am going to listen to Adm even though I really hate to quit something.
However, if it is bad, then why continue?!
I am going to try 62's suggestion about the 83pasm28d.
How about that tutorial I read about in the previous forum
"learn z80 in 28 days"? Is that good?
Actually, what I am having trouble with is understanding the format
to input the hex into the 83+. What is the "asm(" command for? I gather
it compiles, but compiles what? OP Codes? I have put the following in
and it has run with the "asm(" command. BUT also, I used "asmComp("
on it and it generating output that doesn't show up in the Edit screen but
also runs exactly the same with the "asm(" command?? What's the
difference?
The code is:
:AsmPrgm
:21000322
:4B84EF404521
:A89DEF0A45EF
:7249C9746578
:742068657265
:00
Thanks all.
Back to top
NETWizz
Byte by bit


Bandwidth Hog


Joined: 20 May 2003
Posts: 2369

Posted: 10 Jun 2003 04:33:27 am    Post subject:

Works like this.

AsmComp(prgmNAME,prgmCOMPILED

Yes, it turns your values into opcodes!

As it stands, they are currently nothing more than ASCII characters 30h to 39h (0 to 9), and 41h to 46h (A-F)

When you have C and 9 in your program, ASCII for C is43h, and ASCII for 9 is 39h.

So, in ram, you have 43 39 (values are in hex)

After compilation, you have one byte C9 (values in hex) in ram.

This explains why when you compile, the resultign program is about 50% the size of the uncompiled version.

Asm(prgmCOMPILED or Asm(prgmNAME will both do the same thing. They will executie your program.
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 10 Jun 2003 12:10:50 pm    Post subject:

try tasm, and 83plus asm in 28 days is the same as 83pasm28d... or however it is abbreviated... go to ticalc, and search for 28 days or something... oh, wait! heres a link Wink : TI-83 Plus Assembly In 28 Days... does that help? for editing my programs, (not compiling!) i use Assembly Studio 8x... it works great, except, if u use the built in sprite editor, u must do square sprites, because it will put the size bytes backwards, unless u want to switch the size bytes, but to edit it again after switching the size bytes u must switch them back... hope i was helpful!
Back to top
NETWizz
Byte by bit


Bandwidth Hog


Joined: 20 May 2003
Posts: 2369

Posted: 10 Jun 2003 01:58:54 pm    Post subject:

ZDS can also be used to make regular asm programs.

You will simply use bin2var to change the .hex to .8xp. You can download bin2var from http://education.ti.com
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 10 Jun 2003 02:04:55 pm    Post subject:

if i were u, id stick to the sdk, just dont use the appguru... cause the sdk's asm.bat file is WAY great! (unless u use xp Neutral then u have to use the xp sdk and it aint the greatest... but at least it works! Very Happy )

Last edited by Guest on 10 Jun 2003 02:05:15 pm; edited 1 time in total
Back to top
NETWizz
Byte by bit


Bandwidth Hog


Joined: 20 May 2003
Posts: 2369

Posted: 10 Jun 2003 02:10:07 pm    Post subject:

You can always use ZDS, Bin2Var, and Wappsign
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 10 Jun 2003 02:11:38 pm    Post subject:

ya u could! that would work, if u like the zds syntax... TI-83 Plus Assembly in 28 days uses TASM syntax...
Back to top
camaro68


Newbie


Joined: 09 Jun 2003
Posts: 13

Posted: 10 Jun 2003 06:01:18 pm    Post subject:

Adm: Yes that is what is causing me headaches (the different syntax).
I got help from JBirk in the old forum and must change syntax to make
it compile with ZDS. However, I can´t get them to run after I compile!
JBirk: I just discovered the Bin2Var and have not tried it out yet. What
does Wappsign do?
Now, I suppose some of you got a chuckle that I did not know what
83pasm28d is. NOW it makes sense. the 28 day tutorial was suggested
to me before but I never checked it out because once I start something, I
like to finish it. In this case, though, I think I will put appguru on hold and
see what I can get out of 83pasm28d. Maybe even having to work with
translating syntax will make it all that more of a learning experience Surprised
Thanks all!
It´s great that y'all haven't given up on me!
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 10 Jun 2003 07:17:17 pm    Post subject:

of course we havent! y would we? would u give up on us? would we like it if u gave up on us? NO! thats y we didnt give up on u!
Back to top
NETWizz
Byte by bit


Bandwidth Hog


Joined: 20 May 2003
Posts: 2369

Posted: 11 Jun 2003 02:52:13 am    Post subject:

Wappsign signs applications.
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 11 Jun 2003 12:27:14 pm    Post subject:

it stands for :
Windows Application Sign

or something of the like Very Happy
Back to top
camaro68


Newbie


Joined: 09 Jun 2003
Posts: 13

Posted: 11 Jun 2003 05:42:12 pm    Post subject:

Hey, I did "day 1" of the 28 day tutorial. It is great! I like how he dissed appguru.
I like the syntax for TASM better than for ZDS because the structure for the directives
in ZDS confused me. Also, most of the code books I find list the commands as how
TASM wants and ZDS does not.
I forget the author's name but it seems like I recognize him from using this list. Am I
halucinating? Anyway, I noticed two errors in the "day 1" lesson. One was a spelling
error ("practise") and another was there are two ".end"s at the end of the example.
Hopefully I can learn at a faster rate now. It seemed like I was burying myself in a hole
in the cemetary when I was doing appguru with ZDS.
Back to top
62 52 53 53
Formerly known as 62 52 53 53


Active Member


Joined: 30 May 2003
Posts: 607

Posted: 11 Jun 2003 06:45:34 pm    Post subject:

There are supposed to be 2 .ends (although who knows why)
Back to top
camaro68


Newbie


Joined: 09 Jun 2003
Posts: 13

Posted: 11 Jun 2003 09:55:48 pm    Post subject:

I ran the same code with only one .end and it gave the exact same output...
Interesting.
Thanks for the reply containing "although who knows why". It made me feel better because I don't know why! Neutral
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 13 Jun 2003 07:39:45 pm    Post subject:

me neither! im learning asm along with u!
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 13 Jun 2003 08:38:14 pm    Post subject:

dont do 2 ends, it will just confuse u... if u r programming for the ti-83(no plus), then u need 2 end directives... dont let it confuse u any more! in other words, just do one, it works fine!

Last edited by Guest on 13 Jun 2003 08:38:37 pm; edited 1 time in total
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
SDK
    » Goto page 1, 2  Next
» View previous topic :: View next topic  
Page 1 of 2 » All times are UTC - 5 Hours

 

Advertisement