Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
Sorry for being soo noob, but i have no clue what to do after i get the code and i put it into teh .asm file. I have Devpac8x and TASM but i don't know what to do with the TASM files or how to use the devpac files. Can someone tell me where to put the files for both TASM and Devpac8x and what cpmmand to use to compile it into a .8xp file?
http://dragonfire.unitedti.org/asmin28/lesson/day01.html
That was for .z80 files
Stephen wrote:
That was for .z80 files

.z80 is TI-ASM, I think, it might just be ION, but I think it's ION and TI-ASM.
.z80 is just the customary extension that Sigma used. It's functionally identical to .asm- it's just a stylistic choice of whoever created the file.
Wut? But the bat file specifies %1.z80 file, how is it going to find %1.asm?

Also, can you give an example of the usage of devpax8x? The bat file doesn't seem to work, it makes the bin file, then it fails to convert it for some reason, then when cleaning up it deletes the bin file. I created the bin file using the command in the bat file but now i cant figure out how to get it into a .8xp file using devpac8x, the command in teh bat file doesn't work.
%1 refers to the 1st argument to the batch script (such as myfile.bat input.asm, in which case %1="input" and %1.z80="input.z80"). You can of course have %2 for the 2nd argument, %3 for the 3rd, etc. It replaces %1 with the string before calling another program.
Exactly, so it would call for ex. porcelain.z80 when there is only a porcelain.asm file. I don't get it, but it works, or at least teh irst part does.

The conversion from bin to .8xp is broken. It just doesn't work. Says file not found. I even copied the syntax from the bat file and made a new bat file to finish teh conversion but it doesn't work:

I have porcelain.bin in C:\Asm\Tasm
i have all the needed files in C:\Asm\Tasm
the finish.bat has this:

Code:
cd c:\asm\exec
c:\asm\tasm\devpac8x %1
cd c:\asm\tasm
echo ==== Job finished. Program saved as %1.8xp ====
goto DONE
:ERRORS
echo ==== Errors!!! ====
:DONE


What am i doing wrong?
Xeno_Cre8or wrote:
.z80 is TI-ASM, I think, it might just be ION, but I think it's ION and TI-ASM.


A Kllrnohj Top Tip: When you have no idea what the fuck you are talking about, shut up and listen to others - you just might learn something.

@Stephen: Just change the batch script to use $1.asm instead of $1.z80. Or rename your .asm file to .z80. The extension is 100% irrelevant. You could use .ilikeme if you wanted.
Well, i already got it to work and spit out a .bin file, but the 2nd step is broken, if you read my previus response, and i have no clue how to get the bin file to a 8xp file, in a way that works.
w8 wasn't there something about brass or something or another way i could do it?
Stephen wrote:
Well, i already got it to work and spit out a .bin file, but the 2<sup>nd</sup> step is broken, if you read my previus response, and i have no clue how to get the bin file to a 8xp file, in a way that works.
Brass still needs a linker to make the .8xp from the .bin file. "devpac8x porcelain" in the directory with porcelain.bin doesn't work? It still says file not found?
Hey! similar problem, Wappsign turns an unfilled .hex file into a filled .hex file, when I need a .8xk file.

Edit: This is a BasicBuilder App I'm making, compressing CA-Pack into a 16k app instead of 2 progs at 17k and 11k respectively.
Look, i went to cmd and cd'ed the dir that devpax8x was in + tasm + the bin file and i ran it just like it says its supposed to be used:

Code:
C:\Asm\Tasm>devpac8x porcelain.bin

Decpac8x v1.0 - Converts bin to TI-83 8xp
Syntax: devpac8x <binfile> (no extension)
   Coded by Hannes Edfelt aka movax (1998) movax@algonet.se
   Updated by Scott Dial aka wrath (2000) wrath@calc.org
   Once again, greetings to everyone on the TI-83(+) asm scene

File not found!

C:\Asm\Tasm>

Also saw <no extension> so i removed it and tried again:

Code:
C:\Asm\Tasm>devpac8x porcelain

Decpac8x v1.0 - Converts bin to TI-83 8xp
Syntax: devpac8x <binfile> (no extension)
   Coded by Hannes Edfelt aka movax (1998) movax@algonet.se
   Updated by Scott Dial aka wrath (2000) wrath@calc.org
   Once again, greetings to everyone on the TI-83(+) asm scene

File not found!

C:\Asm\Tasm>


Also heres a dir of tasm:

Code:
C:\Asm\Tasm>dir
 Volume in drive C has no label.
 Volume Serial Number is 9CAD-438F

 Directory of C:\Asm\Tasm

29.10.2009  16:08    <DIR>          .
29.10.2009  16:08    <DIR>          ..
23.10.2001  21:26             5.607 8051.H
28.10.2009  17:34               447 asm.bat
23.10.2001  21:35             2.539 COPYRIGH.TXT
05.04.2000  22:30               935 DEVPAC8X.COM
29.10.2009  16:09               184 finish.bat
23.10.2001  21:26               405 MOTO.H
26.04.2007  16:00             2.584 mt3notes.inc
23.10.2001  21:39             2.603 ORDERFRM.HTM
23.10.2001  21:37             2.086 ORDERFRM.TXT
28.10.2009  17:35               308 porcelain.bin
29.10.2009  16:06               308 porcelain2.bin
24.10.2001  22:33               578 README.1ST
23.10.2001  21:36             2.008 README.TXT
23.10.2001  21:26            11.026 RELNOTES.TXT
23.10.2001  22:09            90.112 TASM.EXE
23.10.2001  22:12             5.839 TASM05.TAB
23.10.2001  22:12             5.615 TASM3210.TAB
23.10.2001  22:12            12.408 TASM3225.TAB
23.10.2001  22:12             6.616 TASM48.TAB
23.10.2001  22:12             6.879 TASM51.TAB
23.10.2001  22:12             4.919 TASM65.TAB
23.10.2001  22:12            14.071 TASM68.TAB
23.10.2001  22:12             7.301 TASM70.TAB
23.10.2001  22:12            15.389 TASM80.TAB
23.10.2001  22:12             5.940 TASM85.TAB
23.10.2001  22:12            18.600 TASM96.TAB
23.10.2001  21:26            96.363 TASMMAN.HTM
23.10.2001  21:26           112.881 TASMTABS.HTM
23.10.2001  22:12             9.890 TEST05.ASM
23.10.2001  22:12            13.170 TEST3210.ASM
23.10.2001  22:12            33.013 TEST3225.ASM
23.10.2001  22:12             6.419 TEST48.ASM
23.10.2001  22:12            10.933 TEST51.ASM
23.10.2001  22:12             5.913 TEST65.ASM
23.10.2001  22:12            10.726 TEST68.ASM
23.10.2001  22:12             6.687 TEST70.ASM
23.10.2001  22:12             5.883 TEST85.ASM
23.10.2001  22:12            23.751 TEST96.ASM
23.10.2001  22:12               588 TESTTABS.BAT
23.10.2001  22:12            13.117 TESTZ80.ASM
27.09.2002  15:29           268.870 ti83plus.inc
21.04.2000  16:18               192 ZASM8x.BAT
Interesting, I have a question and a suggestion. The question: what OS version (Windows XP? Vista? 7?) and what bitness (32 or 64?) are you running? The suggestion: name is in 8+3 form, in other words, try renaming your bin file to porcel.bin, then devpac8x porcel, and see what happens. I think it requires filenames to be <=8 characters, because I believe it uses the filename as the name of the resultant program.
I use xp XD Very Happy
32 bit,


Code:
  _____ _    _  _____ _____ ______  _____ _____ _ _
 / ____| |  | |/ ____/ ____|  ____|/ ____/ ____| | |
| (___ | |  | | |   | |    | |__  | (___| (___ | | |
 \___ \| |  | | |   | |    |  __|  \___ \\___ \| | |
 ____) | |__| | |___| |____| |____ ____) |___) |_|_|
|_____/ \____/ \_____\_____|______|_____/_____/(_|_)


Hmmmm, somethings wrong, i don't hear anything when i play it, i tried reassembling it from the asm file, maybe its the online convertor.

I will try again with another song.

Mmmkay, did another song, and it had its tempo all crapped up, worst thing is, it can't do drums, and drums play a large role in most songs.

P.S. The online convertor said "All merge attempts failed, discarding track." 3 times, does that mean i lost 3 tracks?

P.S.S. The weakest spot in all this stuff is the convertor.

Also, you know anywhere i can find more songs already made for this program? No matter what song i throw at it, it leaves out notes and butchers rythm and tune.
I usually make mine by hand, although with a bit of tweaking I've gotten some very decent songs out of the converter. Sorry to disappoint you about it; I was actually considering adding built-in drums to mobileTunes and perhaps making a few other tweaks. Any thoughts?
Yeah, drums would be a definate plus, not sure how you could implement that or have the convertor detect that though. Have you heard Porcelain by Moby? You think its a doable song? I COULD get my entire school hooked on this program if there were good songs for it. I already got it so that roughly 7/22 people in my class are playing calculator games at the same time, people would be all over the music player.
There's a vague possibility that mobileTunes 4 might exist at some point. I've been listening to a lot of chiptunes using the Linux program mikmod, and I've been getting a good idea of some of the musical features possible (crescendo and decrescendo, percussion via timed triggering of a predefined sample, pitch bending, etc) and think some of them might be feasible for addition into mobileTunes. I'll see where I can find the time from; currently Doors CS 7, mobileTunes, and MGame are pending on my calculator program queue.
  
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
Page 1 of 1
» All times are GMT - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement