CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 93 users online: 2 members, 62 guests and 29 bots.
Members: None.
Bots: VoilaBot (3), VoilaBot (3), Yahoo! Slurp (1), Googlebot (20), Ask Jeeves (1), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
    » Goto page Previous  1, 2, 3, 4, 5  Next
» View previous topic :: View next topic  
Author Message
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 404

Posted: 24 Nov 2011 12:14:23 am    Post subject:

_player1537 wrote:
Yes. The DCS SDK is meant to replace TASM and the other tools you would need. Use Souvik's GUI Smile

I honestly don't understand Souvik's GUI. and how do you use the SDK?
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55733
Location: Earth, Sol, Milky Way

Posted: 24 Nov 2011 12:15:25 am    Post subject:

krazylegodrummer56 wrote:
_player1537 wrote:
Yes. The DCS SDK is meant to replace TASM and the other tools you would need. Use Souvik's GUI Smile

I honestly don't understand Souvik's GUI. and how do you use the SDK?
I just explained it, I thought? Very Happy I recommend taking a look inside the PDF that comes with the SDK, I spent weeks writing that for a very good reason: it explains in painstaking detail how to use the SDK. Let me know if it doesn't help.
_________________


Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 404

Posted: 24 Nov 2011 12:19:57 am    Post subject:

Kerm I tried the shift right click and didn't get a "open command window here " choice
Back to top
_player1537


Guru-in-Training


Joined: 25 Nov 2009
Posts: 2957

Posted: 24 Nov 2011 12:21:20 am    Post subject:

Haha, you use the DCS SDK _with_ Souvik's program. I mean, you could just do it from the command line if you _really_ felt like it, but Souvik's program is supposed to keep you from that.

It looks like (I've never used it before), you click the "Open File" button, and find your source (.z80 or .asm) code and use it. And, it would seem that it compiles the program for you. Also, the best way to figure stuff out is to read the first few posts and click random buttons Razz I'm just doing that right now, without the clicking part. Razz
_________________
http://tanner.myserverathome.com
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55733
Location: Earth, Sol, Milky Way

Posted: 24 Nov 2011 01:51:29 am    Post subject:

Krazy: You shift-right clicked on the "asm" folder? Alternatively, you can just open the command prompt, use cd <foldername> to get to the asm folder, and run the same compile command.
_________________


Back to top
souvik1997


Guru-in-Training


Joined: 19 Apr 2010
Posts: 2870

Posted: 24 Nov 2011 02:56:40 pm    Post subject:

I don't understand what is so confusing about my GUI, but you're welcome to post in its topic if you have a problem with it. After the wizard downloads the SDK and installs it, you just click on "Open File", browse to your .asm source file, and it will assemble it for you. From there, you can either open the compiled program in WabbitEmu or open the "exec" directory in Windows Explorer, which is where the compiled .8xp is.
_________________
CALCnet Tournament-38%


deviantArt
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55733
Location: Earth, Sol, Milky Way

Posted: 24 Nov 2011 03:01:54 pm    Post subject:

I'm with you, Souvik; I thought it was quite foolproof to use. Smile I suspect that Krazy's difficulties might be something with unpacking the DCS SDK itself, though, rather than something specific to your program. I look forward to his feedback about what's confusing him.
_________________


Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 404

Posted: 24 Nov 2011 03:58:30 pm    Post subject:

Souvik- now that is a bit better explained I now get it thanks for that tip(AKA the window opens and asks for the file to be selected, didn't get that on the page.)

Kerm- I am still new to figuring out the different ways the instructions that are said and explained. Are you talking about the command prompt built onto the computer, and using that to program ASM?

Also how do you start programming ASM for the first time?
And can you program ASM on your calculator instead of on the computer?
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55733
Location: Earth, Sol, Milky Way

Posted: 25 Nov 2011 11:54:28 am    Post subject:

Krazy, I'm talking about the command prompt built into the computer. You use that to compile your ASM programs, but not to write them. In TI-BASIC, you write your source code, and then run that directly. With ASM, you write your source code, and then you need to run that through an assembler, which turns what you wrote into a .8xp program. That's what the Doors CS SDK does for you, but you need to tell it when you want to assemble something and wheat you want to assemble. You can specify that from the command prompt, or you can use Souvik's program. Yes, you can write ASM on your calculator, but it's much harder to do so than write it on your computer. Besides speed and simplicity, one major advantage of writing ASM programs on the computer is that you can test your programs in an emulator, and if you have an error in your program, the emulator will crash instead of your real calculator.
_________________


Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 404

Posted: 25 Nov 2011 05:21:31 pm    Post subject:

Thanks for that info Kerm. Can I write ASM in notepad or microsoft word?
Back to top
ben_g


New Member


Joined: 22 Nov 2011
Posts: 77

Posted: 25 Nov 2011 05:34:41 pm    Post subject:

you should write it in notepad (or an other editor that saves your code as plian text). Word isn't meant for programming, and it saves in binary format, which assemblers can't read.
Back to top
Ashbad


... I think redheaded girls are kind of cool


Joined: 01 Dec 2010
Posts: 2417
Location: Stomp Stomp Stomp, The Idiot Convention

Posted: 25 Nov 2011 06:14:31 pm    Post subject:

Never write any code in Word. Not even meant for programming, and never will be. Notepad is good *if you can't use anything else*. I suggest using Notepad++ with DeepThought's z80 Assembly language file (adds syntax coloration to z80 assembly code).
_________________
-Ashbad
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55733
Location: Earth, Sol, Milky Way

Posted: 25 Nov 2011 08:56:17 pm    Post subject:

As ben_g and Ashbad say, you should use a plaintext editor. Ben_g and Krazy (and other ASM coders): if you're using Notepad instead of Notepad++, stop now and fix it. Benryves also likes Programmer's Notepad, but I haven't personally tried it.
_________________


Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 404

Posted: 26 Nov 2011 02:11:50 pm    Post subject:

Thing is I can't download squat. Thats why I'm wondering what you can use to write ASM code that would already be on the computer.
Back to top
_player1537


Guru-in-Training


Joined: 25 Nov 2009
Posts: 2957

Posted: 26 Nov 2011 08:05:22 pm    Post subject:

I can only assume that you mean "install" instead of "download", seeing as you are able to get online and download the DCS SDK Wink Here is a portable version of Notepad++.
_________________
http://tanner.myserverathome.com
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55733
Location: Earth, Sol, Milky Way

Posted: 26 Nov 2011 09:30:48 pm    Post subject:

krazylegodrummer56 wrote:
Thing is I can't download squat. Thats why I'm wondering what you can use to write ASM code that would already be on the computer.
Well, you could use Notepad, but it's quite subpar, and you'd still need to download an assembler package in the form of the Doors CS SDK. Try Notepad++, as per Catherine's suggestion.
_________________


Back to top
benryves


Cemetech Expert


Joined: 12 Aug 2008
Posts: 1357
Location: London, United Kingdom

Posted: 26 Nov 2011 11:21:39 pm    Post subject:

And, for the sake of balance, here's Programmer's Notepad which I much prefer. Smile
Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 404

Posted: 27 Nov 2011 12:23:00 am    Post subject:

I have tried to get programmers notepad and notepad++ but can't get them installed

thanks player I was able to get notepad++ portable.

(now how to start an asm program???)
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55733
Location: Earth, Sol, Milky Way

Posted: 27 Nov 2011 02:57:49 am    Post subject:

The Doors CS SDK presents the skeleton of a simple program for you, if I recall correctly. Page 2 of the DCS SDK PDF has what you need for a simple Doors CS program:


Code:
; Program Name: 
; Author: 
; Version: 
; Date: 
; Written for Doors CS 7.0 and higher (http://dcs.cemetech.net)
 
.nolist
#include "ti83plus.inc"
#include "dcs7.inc"
.list
  .org progstart    ;.equ $9d93, by the way
  .db $BB,$6D
Init:
  xor d
  ret
  jr Start
   
  .dw $0000    ;No Description
  .db $07,$00    ;always this string
  .dw $0000    ;No Icon
  .dw $0000    ;No ALEs
Start:        ;main routines

  ;etc etc etc <-- code goes here
 
  ;ret


If you want to simplify further, you can temporarily remove the Doors CS header:



Code:
; Program Name: 
; Author: 
; Version: 
; Date: 
; Written with the DCS SDK (http://dcs.cemetech.net)
 
.nolist
#include "ti83plus.inc"
#include "dcs7.inc"
.list
  .org progstart    ;.equ $9d93, by the way
  .db $BB,$6D

Start:        ;main routines

  ;etc etc etc <-- code goes here
 
  ;ret

_________________


Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 404

Posted: 27 Nov 2011 04:43:35 pm    Post subject:

Thanks Kerm now i can go and and start learning ASM.

Using the notepad++ portable, what do you have to save the document as?
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  Next
» View previous topic :: View next topic  
Page 2 of 5 » All times are GMT - 5 Hours

 
Jump to:  
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

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.036158 seconds.