Author Topic: asmdream is waking up...  (Read 22973 times)

0 Members and 2 Guests are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: asmdream is waking up...
« Reply #30 on: May 09, 2011, 07:45:17 am »
Wow... What a post rush =]

No disassembler.
Not even a typer.
Just a compiler which reads sources written directly using the os prgm editor.

Ah OS PRGM Editor, looking good too :D This will shorten the code.

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #31 on: May 09, 2011, 07:49:15 am »
Yeah, quite.
Wanted to make it old-school =]

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: asmdream is waking up...
« Reply #32 on: May 09, 2011, 02:08:54 pm »
So, like you said for the size, 16+5+a bit ~= 24 =2 app pages, like Mimas.
I'm not a nerd but I pretend:

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #33 on: May 09, 2011, 04:04:39 pm »
Flash is a seducing option for the 1st release, yeah.
But, i'm still asking myself some questions about it :

When you execute an app, i suppose a part of it is loaded into ram when executed.
Taking into acount the size an app can have, there may be multiple copies during its execution.
That means there is a chance other prgms located in ram (sources/includes in this case) may be reallocated by the os during those copy process (the same way it is when a simple prgm is executed).
This could be quite annoying because i would have to modify many things (in other words, check if sources/includes have been moved or not before each reading attempt).
Also, this could slow down the whole thing...

Could someone clarify this for me ?

P.S. : Tonight, i go for the core label features (and maybe mac params if this goes fast).
« Last Edit: May 09, 2011, 04:16:11 pm by the_mad_joob »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: asmdream is waking up...
« Reply #34 on: May 09, 2011, 05:17:38 pm »
Actually, APPs are executed directly from Flash ROM, after being mapped into memory at $4000-$7FFF. A side-effect of this is that APPs must be a multiple of 16KB large (and for apps larger than 16KB you'll have to deal with reading data from or jumping between the multiple pages). Also, you cannot modify any data inside the APP, of course.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #35 on: May 09, 2011, 05:31:05 pm »
Thx =]

Ok, so that looks to me like a great deal.
Another question :

Does the 8811 limitation concerns all prgms, or only the ones made to be executed ?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: asmdream is waking up...
« Reply #36 on: May 09, 2011, 05:48:02 pm »
Thx =]

Ok, so that looks to me like a great deal.
Another question :

Does the 8811 limitation concerns all prgms, or only the ones made to be executed ?
That is the maximum number of executable bytes in an Assembly program, because it is loaded at $9D95, and executing on the RAM past $C000 causes a RAM clear. $C000 minus $9D95 is 8811, which is where this magic number comes from.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: asmdream is waking up...
« Reply #37 on: May 09, 2011, 05:51:32 pm »
Thx =]

Ok, so that looks to me like a great deal.
Another question :

Does the 8811 limitation concerns all prgms, or only the ones made to be executed ?
That is the maximum number of executable bytes in an Assembly program, because it is loaded at $9D95, and executing on the RAM past $C000 causes a RAM clear. $C000 minus $9D95 is 8811, which is where this magic number comes from.
Unless you decide to use Crabcake.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #38 on: May 09, 2011, 06:06:54 pm »
Thx again guys =]

I'm actually thinking about error handling.
Does anyone knows if there's an easy way to call a "ERR:XXX Quit/Goto" menu from an asm prgm/app (like in DCS) ?
Thought it would be a great idea to easily locate errors in sources/includes...
« Last Edit: May 09, 2011, 06:07:57 pm by the_mad_joob »

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: asmdream is waking up...
« Reply #39 on: May 09, 2011, 06:07:49 pm »
Yes, there's a Bcall for custom errors.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #40 on: May 09, 2011, 06:08:17 pm »
Sounds great =]

Does it automatically stops execution of asm code or what ?
« Last Edit: May 09, 2011, 06:09:16 pm by the_mad_joob »

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: asmdream is waking up...
« Reply #41 on: May 09, 2011, 06:09:15 pm »
Bcall 4D41 if you're curious.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #42 on: May 09, 2011, 06:13:33 pm »
Looks like there is no built-in goto option (same with 4D44).
That would mean i would have to code a custom one...
« Last Edit: May 09, 2011, 06:15:26 pm by the_mad_joob »

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: asmdream is waking up...
« Reply #43 on: May 09, 2011, 06:15:22 pm »
There is. Use bcall(_JError) instead and set bit 7 of A.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #44 on: May 09, 2011, 06:16:29 pm »
Really ?
Let me check that one =]
Thx...