Author Topic: FOR ASM/AXE CODERS: BaseCalc  (Read 15880 times)

0 Members and 2 Guests are viewing this topic.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #30 on: October 15, 2010, 10:51:28 am »
why is the symbol for hex a little x? why not h?
/e

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: FOR ASM/AXE CODERS: BaseCalc
« Reply #31 on: October 15, 2010, 11:32:31 am »
Strange I haven't paid attention. Could this be a typo?

EDIT: JosJuice, yeah but then I wonder why they put effort in even allowing to enable/disable it at all x.x
« Last Edit: October 15, 2010, 11:33:17 am by DJ Omnimaga »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #32 on: October 15, 2010, 04:50:13 pm »
I chose x instead of h because it's used in a lot of comp languages (as in 0x2858EF29).

I can change it easily if you want, though.




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: FOR ASM/AXE CODERS: BaseCalc
« Reply #33 on: October 15, 2010, 05:50:47 pm »
I think we should go with h, because that's what is used more on-calc. Everytime I stumble on an ASM coder post he says stuff like 9000h or the like

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #34 on: October 15, 2010, 06:02:27 pm »
I was actually thinking of also adding hexal (if anyone still uses that :P), which would be "h." Would anyone even use that, though?

Or I could add a [BASE]NUMBER syntax for any base.




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: FOR ASM/AXE CODERS: BaseCalc
« Reply #35 on: October 15, 2010, 07:49:43 pm »
Idk what does hexal means x.x
I think it should remain as numbers followed by h or h followed by numbers. Idk. Try to stick to the formats used in z80 assembly for the 83+

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #36 on: October 15, 2010, 07:51:32 pm »
hexal is base 6. i'd suggest just having binary, octal, decimal and hexadecimal though.


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: FOR ASM/AXE CODERS: BaseCalc
« Reply #37 on: October 15, 2010, 07:56:42 pm »
Ah ok. yeah it might be best to just stick to these 4.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #38 on: October 16, 2010, 01:52:13 pm »
Yeah probably, and i second hex being prefaced by a h, although would it be very difficult to have x and h?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #39 on: October 16, 2010, 03:07:23 pm »
Yeah probably, and i second hex being prefaced by a h, although would it be very difficult to have x and h?

Not hard at all, but it'd make the prgm just a little bit slower. I'll change it to h, then.

And uppercase, right?

EDIT: Actually, here's the reason I chose lowercase: most people who code on their calcs will probably already have lowercase enabled, and it's not used in calc syntax anyway. In other words, there'd be no mixing up H*2*E and h2E. Maybe a poll?
« Last Edit: October 16, 2010, 03:11:35 pm by Deep Thought »




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #40 on: October 16, 2010, 03:09:51 pm »
yeah uppercase would be great :)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #41 on: October 16, 2010, 05:18:47 pm »
Posted a poll just for the fun of it. I'll probably change it to upper, though.




Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #42 on: October 25, 2010, 05:06:27 pm »
*bump* New version up in the first post (changed everything to uppercase and changed x to H). Enjoy!

I just edited it with SourceCoder, and I haven't tested it yet, so tell me if there are any syntax errors.




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: FOR ASM/AXE CODERS: BaseCalc
« Reply #43 on: October 25, 2010, 05:08:48 pm »
Cool, it should be easier to use :D

I really like how you can calculate multiple bases together.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: FOR ASM/AXE CODERS: BaseCalc
« Reply #44 on: October 25, 2010, 05:10:02 pm »
I really like how you can calculate multiple bases together.

It basically just replaces the numbers in the string with the decimal equivalents :)

EDIT: By the way, how do I get rid of the poll?
« Last Edit: October 25, 2010, 05:11:16 pm by Deep Thought »