Author Topic: tiDE  (Read 70128 times)

0 Members and 1 Guest are viewing this topic.

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: tiDE
« Reply #120 on: February 01, 2011, 12:22:23 am »
Awesome! Question, does tiDE run the file in an emulator if told to or is it planned in the future when you write your own emu?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: tiDE
« Reply #121 on: February 01, 2011, 06:36:19 am »
Does this work on XP as well?

SirCmpwn

  • Guest
Re: tiDE
« Reply #122 on: February 01, 2011, 01:52:05 pm »
This works on XP, and it does not yet use the emulator.  I will have it use WabbitEmu until the emulator is complete.
When I believe the assembler to be finished, I will release a tiDE "z80 Beta" with most of the planned z80 support, and I hope you will all help me in trying to assemble your various projects, and reporting any problems.

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: tiDE
« Reply #123 on: February 01, 2011, 03:39:06 pm »
Ok :D

For the emulator, make sure grayscale settings can be adjusted like in Wabbitemu. A lot of people use WabbitEmu just for that, since in TilEm 3 level grayscale looks terrible and in PTI the quality looks questionable.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

SirCmpwn

  • Guest
Re: tiDE
« Reply #124 on: February 01, 2011, 08:09:40 pm »
I'll make sure that's included, DJ.
I also added support for (no)list, equates, and include files, and it successfully parsed ti83plus.inc and assembled a hello world program in about a second, which is faster than Tasm or Brass (but not ZDS, and Spasm is untested).  I'll also have some sort of setup where parsed equates are saved between assembles, so that it's even faster.  Next on my list is macro support, which I'll get to right now.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: tiDE
« Reply #125 on: February 02, 2011, 02:28:59 pm »
SirCmpwn, I'll try and include the Hex Editor (edit the hexadecimal code) as soon as I can (don't do it, I will do it ;D) It will assemble the code and then you can edit it, not sure of how to make it change the Assembly code after editing it, though (disassembling to do).

SirCmpwn

  • Guest
Re: tiDE
« Reply #126 on: February 02, 2011, 08:01:00 pm »
Sounds good.
I also added ZDS/Tasm macro support, although the ZDS macros are buggy for some reason.  I also happened upon some other bugs, which I will resolve soon.

SirCmpwn

  • Guest
Re: tiDE
« Reply #127 on: February 05, 2011, 08:00:23 pm »
Update
I just had tiDE assemble "ld (6 + 8 * 14h / %11011 - 'b'), a" correctly.  The math engine in tiDE is now working, folks, with a couple of easily fixed exceptions (for instance, the linker overwrites referenced values, when it should add to them instead, meaning things like "LabelNameHere + 2" end up as just "LabelNameHere").
Now, I pose to the community a question: when do you use parenthesis in your immediate values?  Do I have to add those?  I ask because it will be tricky with stuff like:
Code: [Select]
ld a, (2 + (5 - 2) * 3)

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: tiDE
« Reply #128 on: February 05, 2011, 09:00:06 pm »
Could you maybe use a Stack, then when parenthesis are encountered, push the current val on the stack, then go into the parenthesis, then when the result is calculated, pop the old result off the stack, and do whatever math is necessary, then continue. This would allow for pretty much any number of nested parentheses, and I don't think would be too hard (but I don't know the code so maybe I'm wrong). I'll add an example soon.
« Last Edit: February 05, 2011, 09:04:37 pm by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





SirCmpwn

  • Guest
Re: tiDE
« Reply #129 on: February 05, 2011, 10:20:03 pm »
Yeah, I was thinking about that.  Don't worry, though, I shall have no trouble with doing this.

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: tiDE
« Reply #130 on: February 05, 2011, 10:47:53 pm »
Glad to see new progress :D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

SirCmpwn

  • Guest
Re: tiDE
« Reply #131 on: February 05, 2011, 11:37:19 pm »
Oh, I forgot to mention it successfully compiled KnightOS :D it needs some touching up before I can actually use it for KOS, though (for example, it shouldn't be an 8xp ;))

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: tiDE
« Reply #132 on: February 06, 2011, 03:01:02 am »
Cool to hear. I can't wait until it compiles in the right format and that you can run the files on your calc. :D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: tiDE
« Reply #133 on: February 13, 2011, 10:16:29 am »
Cool to hear. I can't wait until it compiles in the right format and that you can run the files on your calc. :D

I think it does it already... It compiles to .8xp and I managed to run them ;)

SirCmpwn

  • Guest
Re: tiDE
« Reply #134 on: February 13, 2011, 01:41:54 pm »
It currently compiles to 8xp and rom.