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
United-TI Archives -> Z80 & 68k Assembly
 
    » Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
» View previous topic :: View next topic  
Author Message
shadowing
Powered by 64


Calc Guru


Joined: 06 Jan 2004
Posts: 1002

Posted: 01 Feb 2004 10:45:04 pm    Post subject:

O.K. maybe I said it wrong.

Type this:
cd C:\Asm\Tasm
Press enter
Then type in asm hello.
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 02 Feb 2004 03:48:00 pm    Post subject:

post your asm.bat file, or specify which it is (David made one for example)
Back to top
Babyboy


Advanced Member


Joined: 11 Jun 2003
Posts: 499

Posted: 03 Feb 2004 08:09:20 pm    Post subject:


Code:
echo Syntax: asm [NAME (w/o extension)] [PATH]

@echo off
echo ----- Assembling %1 for the TI-83 Plus...
echo #define TI83P >temp.z80
if exist %2%1.z80 type %2%1.z80 >>temp.z80
if exist %2%1.asm type %2%1.asm >>temp.z80
tasm -80 -i -b -l temp.z80 %1.bin %2%1.xlt
if errorlevel 1 goto ERRORS
devpac8x %1
copy %1.8xp %2%1.8xp >nul
echo ----- Assembling %1 for the TI-83...
echo #define TI83 >temp.z80
if exist %2%1.z80 type %2%1.z80 >>temp.z80
if exist %2%1.asm type %2%1.asm >>temp.z80
tasm -80 -i -b -l temp.z80 %1.bin %2%1.8lt
if errorlevel 1 goto ERRORS
devpac83 %1
copy %1.83p %2%1.83p >nul
echo ----- Success!
echo TI-83 version is %1.83p
echo TI-83 Plus version is %1.8xp
goto DONE
:ERRORS
echo ----- There were errors.
:DONE
del temp.z80 >nul
del %1.bin >nul



and putting the other one in gives me an .OBJ file and an .LST file
Back to top
shadowing
Powered by 64


Calc Guru


Joined: 06 Jan 2004
Posts: 1002

Posted: 04 Feb 2004 09:11:08 pm    Post subject:

Did you copy exactly what it said in the 28 days guide? You should put it in your TASM directory.
Back to top
Babyboy


Advanced Member


Joined: 11 Jun 2003
Posts: 499

Posted: 04 Feb 2004 09:55:39 pm    Post subject:

ok... im getting closer! the .z80 file is now oficially a .z80 file instead of a .xlt but the running thru TASM is giving me trouble still, i did what shadow said, and i get a file that says FILE TYPE: FILE in its properties.


i deleted everything and went thru the first chapter of the 28 day tutorial with a fine toothed comb...

Could it be windows XP and its pseudo-DOS? Confused


Last edited by Guest on 04 Feb 2004 09:59:10 pm; edited 1 time in total
Back to top
shadowing
Powered by 64


Calc Guru


Joined: 06 Jan 2004
Posts: 1002

Posted: 04 Feb 2004 10:38:23 pm    Post subject:

Possibly. Anyways, maybe I should specify on this in my asm tutorial. If you did exactly as it says in the first two days in 28 days, then you'll be fine. So did you make a source, tasm, execute files? If you did, put the source in the source folder. Then go to run and type in command. Press enter. Type cd C:\ASM(Or whatever it's in)\TASM(no exe extensions). Then press enter. As soon as you do, type in asm progname. It should immediately compile. (Put asm batch in tasm folder) There should be a .8x file in execute folder. If not, type another reply.
Back to top
Babyboy


Advanced Member


Joined: 11 Jun 2003
Posts: 499

Posted: 05 Feb 2004 08:12:25 am    Post subject:

i have narrowed all problems down to one, tasm gives me a file but it is a no extention file

Last edited by Guest on 05 Feb 2004 08:14:28 am; edited 1 time in total
Back to top
Jedd
1980 Pong World Champion


Elite


Joined: 18 Nov 2003
Posts: 823

Posted: 05 Feb 2004 10:06:49 am    Post subject:

I almost got my computer to work once.....but it made a file with an Excel extention... I opened up the file and it had some weird code in an Excel table.
Back to top
jtchange


Newbie


Joined: 20 Dec 2003
Posts: 27

Posted: 05 Feb 2004 11:50:55 am    Post subject:

I think someone should make another better ti83 assembly tutorial. Asmguru is just an example database pretty much. Look at it and figure it out on ur own kinda thing. I would write one, but i'm a n00b to asm and it wouldn't be any better than asmguru. just a thought since i can't buy a ti83+
Back to top
X1011
10100111001


Active Member


Joined: 14 Nov 2003
Posts: 657

Posted: 05 Feb 2004 08:25:30 pm    Post subject:

Try this:

Quote:
cd (path of tasm)
asm (name of program without extension) (path of program)


make sure to put the paths in quotes if there are any spaces


Last edited by Guest on 05 Feb 2004 08:27:12 pm; edited 1 time in total
Back to top
shadowing
Powered by 64


Calc Guru


Joined: 06 Jan 2004
Posts: 1002

Posted: 05 Feb 2004 10:50:52 pm    Post subject:

Is it working? And Jedd, I tried maxcoderz, and nothing's happening.
Back to top
Jedd
1980 Pong World Champion


Elite


Joined: 18 Nov 2003
Posts: 823

Posted: 06 Feb 2004 09:04:02 am    Post subject:

And for all you Mac users out there!

http://www.rit.edu/~alj8314/caz.shtml
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 06 Feb 2004 05:08:15 pm    Post subject:

Thank you Jedd... I think i may edit the orig post I made and add that in, in case they dont want to scroll through the crap...er...messages!
Back to top
shadowing
Powered by 64


Calc Guru


Joined: 06 Jan 2004
Posts: 1002

Posted: 07 Feb 2004 01:21:20 am    Post subject:

Are you insulting us? No, I don't care. I'm too lazy. Hey Jedd, want to help me write an asm tutorial?
Back to top
Babyboy


Advanced Member


Joined: 11 Jun 2003
Posts: 499

Posted: 07 Feb 2004 10:17:31 am    Post subject:

ok, plan B, could someone email me their whole file set C:\asm?

Althie@pinenet.com
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 07 Feb 2004 01:07:14 pm    Post subject:

NONONONONONO!!!!

use the cirrus SDK!

save yourself and someone else some trouble! :)

(hint: look at the orginal post Laughing)
Back to top
shadowing
Powered by 64


Calc Guru


Joined: 06 Jan 2004
Posts: 1002

Posted: 07 Feb 2004 03:35:24 pm    Post subject:

Here's how you do it. Create a folder in your c drive called asm. In that folder, create the three folders. It's that simple.
Back to top
Babyboy


Advanced Member


Joined: 11 Jun 2003
Posts: 499

Posted: 07 Feb 2004 09:23:42 pm    Post subject:

more progress!! it now puts the file into tasm, passes over it once, but then finds this error

Quote:
line 0000: No END directive before EOF


and i get nothing in any folders
Back to top
X1011
10100111001


Active Member


Joined: 14 Nov 2003
Posts: 657

Posted: 08 Feb 2004 01:06:24 am    Post subject:

I think you need to put 2 ".end"s at the end of your asm file
Back to top
Babyboy


Advanced Member


Joined: 11 Jun 2003
Posts: 499

Posted: 08 Feb 2004 02:08:09 pm    Post subject:

i checked, its there
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
    » Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
» View previous topic :: View next topic  
Page 4 of 8 » All times are UTC - 5 Hours

 

Advertisement