Author Topic: ASMDREAM - the TI-8X+ on-calc assembler  (Read 12650 times)

0 Members and 1 Guest are viewing this topic.

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #30 on: January 05, 2012, 05:56:03 pm »
You rock !
To tell the truth, i feel a bit ashamed to haven't found those by myself =S
Thx a lot =]

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #31 on: January 05, 2012, 05:57:31 pm »
Do you have, or are you planning to make any entry points from other programs?
ld a, 0
ld a, a

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #32 on: January 05, 2012, 06:15:46 pm »
What you mean ?
Adding some shell routines into the app ?

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #33 on: January 05, 2012, 10:11:58 pm »
is there a way to bring over includes from the computer (.inc)?

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #34 on: January 06, 2012, 01:17:39 am »
What you mean ?
Adding some shell routines into the app ?
I mean allowing a different program to pass a source to your assembler.  If someone made a code editor, they would be able to place the program name in ram and call a routine in your app to compile it.
ld a, 0
ld a, a

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #35 on: January 06, 2012, 04:26:50 am »
is there a way to bring over includes from the computer (.inc)?

No, and to tell the truth, i won't probably have the time to code that (That's why i included as much equates as possible.).

I mean allowing a different program to pass a source to your assembler.  If someone made a code editor, they would be able to place the program name in ram and call a routine in your app to compile it.

Not initially, but that's an interesting idea.
I'll take a look at that, and see if that could be compatible without altering too much code.

*****

I'm also thinking of adding those :

- symbolic arguments allowed in program counter definition
- a faster way to call all the includes :
Why not an automatic detection/inclusion of all unprotected programs starting with theta (then check header) ?
Some feedback would be quite appreciated about this idea =]

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #36 on: January 06, 2012, 06:51:29 am »
If you are going to add an entry, I would start the app with a JP to the actual app code followed by a jump table (even if it is just 1 entry, so far). As for the automatic detection, that sounds useful and all you would need to do is load the name for prgm Theta into OP1, check it, then use _FindAlphUp to check for other programs.

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #37 on: January 06, 2012, 05:45:35 pm »
Is there a way to include your own equate files made specifically for asmDream? If so, then I might be able to whip up a python script that converts .inc to a asmDream file (.txt to be converted to .8xp with a tokenizer), which the users could just send over to their calcs and then include like a normal include file.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #38 on: January 07, 2012, 10:12:51 am »
That sounds pretty nice. :)
« Last Edit: January 07, 2012, 10:14:31 am by Art_of_camelot »

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #39 on: January 13, 2012, 11:47:29 am »
NEWS (screeny updated)

The assembling is now processed in 2 passes, instead of 3.
Includes are now detected automatically (no calls anymore).
Sources & includes names must now start with theta (overwriting security).
The destination name can not start with theta anymore (overwriting security).
The destination name is now displayed at the overwriting confirmation screen.
AsmPrgm was replaced by prgm (new syntax).
Refering to equate labels is now possible in initial program counter definition.
Destination data size security implemented (changeable maximum value).
Ascii arguments are now parsed properly (bug fix).
When using the goto feature, the cursor position is now properly set if there are word tokens in the line (bug fix).
The ram available for the destination data is now calculated properly (bug fix).
Some extra instructions have been optimized (thx calc84maniac).
Various code parts have been optimized.

Also, i added a to do list in the first post.

#####

As for the automatic detection, that sounds useful and all you would need to do is load the name for prgm Theta into OP1, check it, then use _FindAlphUp to check for other programs.

Coded =]
I used a custom routine (I always do that when i can).

Is there a way to include your own equate files made specifically for asmDream? If so, then I might be able to whip up a python script that converts .inc to a asmDream file (.txt to be converted to .8xp with a tokenizer), which the users could just send over to their calcs and then include like a normal include file.

Of course.
The compatible include format is detailed in asmdream.txt.
Don't hesitate to ask if you find something ambiguous =]

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #40 on: January 13, 2012, 11:50:42 am »
Wow, very cool! Is the download in the first post?

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #41 on: January 13, 2012, 11:53:36 am »
Wow, very cool! Is the download in the first post?

Everything was updated =]

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #42 on: January 13, 2012, 11:55:33 am »
Wow, and on TICalc.org, too, it is ranked in the top 150 most downloaded for the past week, that is crazy! There must be thousands of programs on there for all types of TI calculators!

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #43 on: January 13, 2012, 11:57:18 am »
Wow, and on TICalc.org, too, it is ranked in the top 150 most downloaded for the past week, that is crazy! There must be thousands of programs on there for all types of TI calculators!

However, the ticalc.org download is outdated for now so i recommend downloading here.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ASMDREAM - the TI-8X+ on-calc assembler
« Reply #44 on: January 13, 2012, 11:58:53 am »
I can't wait to use this ! I have to wait until TI-Connect starts working for me again XD

Thanks much for this!