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

0 Members and 1 Guest are viewing this topic.

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 #45 on: May 09, 2011, 06:17:34 pm »
Er, B_JUMP JError, not Bcall... My mistake :)
∂²Ψ    -(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 #46 on: May 09, 2011, 06:34:00 pm »
Unfortunately, dunno much about exception handler (yet)...
Can a b_jump ret from an asm prgm/app ?
If yes, i'll still have to trick it so that, when goto is selected, it goes to the location (token) i want.

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #47 on: May 09, 2011, 07:03:22 pm »
Looks like i found how to do it.
Just need to replace the location of asmdream call stored in the stack with the desired offset.
Also, the routine will first have to check if the concerned source/include is archived or not.
Let's try this...

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #48 on: May 10, 2011, 02:36:45 am »
News are not that good...
I've decided not to neglect error handling.
That's why i'll have to modify lots of stuff (better do it now than never).
In other words, progress has dramatically decreased =[
I'll keep ya informed but don't expect to see some news as frequently as before...
« Last Edit: May 10, 2011, 02:40:49 am by the_mad_joob »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: asmdream is waking up...
« Reply #49 on: June 06, 2011, 06:02:45 pm »
Sorry to hear, I hope you don't kill this project. Also sorry for late post, I was sidetracked with other stuff, so I only check projects once a month and don't have time to check every topic XD
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #50 on: June 06, 2011, 08:43:42 pm »
Yo...

No problemo master =]
Not much time to dedicate to the project these days so i code a little when i can.
But i can tell i haven't give up yet...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: asmdream is waking up...
« Reply #51 on: June 06, 2011, 08:54:40 pm »
Ah ok, I assume it's due to school? When do you finish?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #52 on: June 07, 2011, 12:41:42 am »
School is far behind me now.
Let's say i have some larger philosophic problems to deal with these days...
I'll try to unlock some more time soon, i promise =]

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: asmdream is waking up...
« Reply #53 on: June 07, 2011, 03:35:24 am »
Oh ok, sorry to hear. I hope it's nothing too bad D:
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #54 on: June 07, 2011, 08:54:43 pm »
Yo...

Looks like i'm gonna be able to unlock some more time on the project.
I'm still on my way to include some essential error handling.
Basically, that means re-thinking/re-writing a fat part of my stuff.
When this part of the algo will be finished, there will be (i hope) no way for asmdream to crash while assembling, which is a good point.
Despite it's a real pain, it had to be done and fortunately, things work like i want these coding days =]

While i'm at it, i decided to remove several restrictions.
More precisely, most of the features will only be limited by the amount of available memory.

The road is long but i'll make it !
« Last Edit: June 07, 2011, 08:57:47 pm by the_mad_joob »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: asmdream is waking up...
« Reply #55 on: June 07, 2011, 08:57:02 pm »
Cool to hear. :D Keep up the good work and good luck :D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #56 on: June 07, 2011, 08:58:30 pm »
Thx there =]

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #57 on: June 18, 2011, 01:20:57 pm »
Hey there =]

A quick post to keep ya informed...

overall progress : let's say around 67%
current code size : almost 5K

I'm currently coding the part that deals with address labels (hot).

*****

While i'm at it, i need some advices on something :

When asmdream encounters an error in pass 1 (check part), i'd like the user to be able to use a goto feature to easily locate the error in source|includes.

More precisely, asmdream displays the appropriate error message and if the user selects "goto", i need to process the following steps :
- quit the program, and right after :
- automatically opens up the os prgm editor for the concerned prgm
- automatically sets the blinking cursor to a predefined token

I already thought of tricking the os by simulating a fake syntax error, but without displaying its err message, since i already have mine.
But, i still dunno how to do this =S

Also, i found a bcall named _GoToErr (4CD8) but it's fully undocumented =[

Anyway, for now, when an error is encountered, asmdream saves the following data :
- prgm obj & name
- error token offset
- error token page (if in rom)

Any idea ?

Thx in advance =]
« Last Edit: June 19, 2011, 01:10:06 pm by the_mad_joob »

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #58 on: June 19, 2011, 01:08:02 pm »
Written 500 bytes today...

Progress at about 70% now.

It's getting better and better =]

Anyone to answer my question (see previous post) ?
« Last Edit: June 19, 2011, 01:09:03 pm by the_mad_joob »

Offline the_mad_joob

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 346
  • Rating: +47/-0
    • View Profile
Re: asmdream is waking up...
« Reply #59 on: June 20, 2011, 10:33:46 am »
If everything goes well, i'll finish the address labels feature today.

It will then be time to finish the macro feature.
The way i made it, the possibilities will be really huge, like, for example, being able to create new instructions.
Wouldn't it be fun to be able to code something like, for example : EX BC,DE =]

Cu around...

P.S. : I still need some help (2 posts behind). Thx in advance u experienced coders =]
« Last Edit: June 20, 2011, 10:34:22 am by the_mad_joob »