Author Topic: Mosaic  (Read 17878 times)

0 Members and 1 Guest are viewing this topic.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Mosaic
« Reply #45 on: May 30, 2010, 12:37:03 am »
I'm pretty sure it will have it's own editor, because if I understand this correctly, it is a direct assembly editor, not a compiler like Axe Parser is. I could be wrong though.

For the space issue. You can always store those things on the computer.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Mosaic
« Reply #46 on: May 30, 2010, 01:45:39 am »
it will have its own editor I am sure. I swear I read somewhere that it will.
« Last Edit: May 30, 2010, 01:47:16 am by DJ Omnimaga »

SirCmpwn

  • Guest
Re: Mosaic
« Reply #47 on: May 31, 2010, 01:29:37 pm »
Just to clarify: Does the app assemble a program built in the TI-OS editor, or does it have its own editor?

Well, considering the screenshots that are in the wild, yes ;)

Also, how many flash pages are you planning for this to take up? The only reason I'm wondering is that with MirageOS, CalcSys, and a larger app on my calculator, as well as the dozen or so groups of programs I keep indefinitely in development, my calculator's flash ROM's going to be pretty crammed. :(

The current build is one page, and I intend to keep it that way.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Mosaic
« Reply #48 on: May 31, 2010, 01:39:40 pm »
Mosaic sounds really cool!  I'm sure I'll use it when I get better at Asm.  This is an awesome project.  Good luck on it! :D

SirCmpwn

  • Guest
Re: Mosaic
« Reply #49 on: June 19, 2010, 12:23:52 pm »
Good morning!
Last night, Mosaic outputted the following hex:
01CDEF

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Mosaic
« Reply #50 on: June 19, 2010, 12:25:01 pm »
Mhmm what would that code do?

Do you also mean Mosaic can now compile stuff successfully?

SirCmpwn

  • Guest
Re: Mosaic
« Reply #51 on: June 19, 2010, 12:34:55 pm »
01CDEF = ld bc, $CDEF
This means that I got wildcards working, which is something I've been struggling with for the past few months.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Mosaic
« Reply #52 on: June 19, 2010, 12:36:16 pm »
well I have no clue what the code above and what are wildcards in terms of mosaic and ASM, but I'm glad to see some progress regardless

SirCmpwn

  • Guest
Re: Mosaic
« Reply #53 on: June 19, 2010, 12:36:47 pm »
Thanks.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Mosaic
« Reply #54 on: June 19, 2010, 12:44:23 pm »
Ya, congrats on the progress. Would you mind sharing what wildcards are? That in turn would maybe tell us none assembly people what the code does, or a better idea.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Mosaic
« Reply #55 on: June 19, 2010, 12:50:15 pm »
well I have no clue what the code above and what are wildcards in terms of mosaic and ASM, but I'm glad to see some progress regardless
Yes, it is assembly and assembler thing. I was confused with the therm wildcard at first.

In ld bc,xxxx any number your put into xxxx will have to be put on the resulting code.
Ya, congrats on the progress. Would you mind sharing what wildcards are? That in turn would maybe tell us none assembly people what the code does, or a better idea.
ld bc,number only loads the number you specified into the 8-bit pair register bc (there is b and c registers, used together you get 16-bits instead of 8-bit). Registers are variables and you do many sorts of operations with registers (variables).



That is progress. The assembler until know only assembled some mnemonics and data. Maybe a tabled of mnemonics and opcodes will help?
« Last Edit: June 19, 2010, 12:53:27 pm by Galandros »
Hobbing in calculator projects.

SirCmpwn

  • Guest
Re: Mosaic
« Reply #56 on: June 19, 2010, 12:52:05 pm »
It already uses a command table.  The problem was the disconnect between code, command table, and output.  It was hard to move data straight from code to output.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Mosaic
« Reply #57 on: June 19, 2010, 12:55:19 pm »
01CDEF = ld bc, $CDEF
This means that I got wildcards working, which is something I've been struggling with for the past few months.

Wouldn't that be ld bc,$EFCD because of little endian?
___Axe_Parser___
Today the calculator, tomorrow the world!

SirCmpwn

  • Guest
Re: Mosaic
« Reply #58 on: June 19, 2010, 12:58:46 pm »
Crap.  I should fix that.

Offline quasi_Phthalo

  • LV3 Member (Next: 100)
  • ***
  • Posts: 90
  • Rating: +1/-1
    • View Profile
Re: Mosaic
« Reply #59 on: June 19, 2010, 03:35:56 pm »
I assume it will support giving names to labels for jumping? And maybe stuff like this?:
Code: [Select]
$$:
  ;...code...
 jr $B
  ;...code...
 jr $F
  ;...code...
$$: