Author Topic: Disable "Done" message  (Read 6891 times)

0 Members and 1 Guest are viewing this topic.

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: Disable "Done" message
« Reply #15 on: March 23, 2011, 11:02:29 am »
lol
Can you also do something like NoDone EQU FDCB00AEC9?
That would be useful to add to the ti83plus.inc.
Not really at all, because in ASM, it's just easier to say res 5,(IY+0).  *shrugs*  I mean it's easier for me at least.

Yeah, it makes more sense because that's actually what the CPU does, and that way you know how it affects everything, since it's the same as all other RES's.

And if people used #define for every single operation you could do on a calculator, ti83plus.inc be gigabytes large and a hell of a lot more confusing.
« Last Edit: March 23, 2011, 11:20:03 am by Deep Thought »




Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Disable "Done" message
« Reply #16 on: March 23, 2011, 11:11:58 am »
yeah, I cee.
I'm not a nerd but I pretend:

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Disable "Done" message
« Reply #17 on: March 23, 2011, 12:01:13 pm »
OOh this is the ASM Language section, sorry.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Disable "Done" message
« Reply #18 on: March 23, 2011, 12:18:53 pm »
Just as a small spot of randomness, I have been working on a .TAB thing for TASM in case I ever get around to manually converting my programs to mnemonics... is it bad practice if I do things like making ld hl,bc or if I change FE00 to B7 and whatnot? I've always thought it would make source codes much easier to read with things like:

ld hl,a   (loads a into l and h=0)
ld hl,bc
cp hl,bc
ld bc,(hl)

And other random things like that :D I just define them in the actual .TAB file...

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: Disable "Done" message
« Reply #19 on: March 23, 2011, 12:27:39 pm »
It's easier to read and code, but LD H,B \ LD L,C is clearer if you want to know how it affects flags, how long it takes, how many bytes it is, etc.

Personal preference, I guess. In a way that's what all the IX and IY operations are -- two operations in one :)
« Last Edit: March 23, 2011, 12:31:11 pm by Deep Thought »




Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1591
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Disable "Done" message
« Reply #20 on: March 23, 2011, 05:38:48 pm »
Just as a small spot of randomness, I have been working on a .TAB thing for TASM in case I ever get around to manually converting my programs to mnemonics... is it bad practice if I do things like making ld hl,bc or if I change FE00 to B7 and whatnot? I've always thought it would make source codes much easier to read with things like:

ld hl,a   (loads a into l and h=0)
ld hl,bc
cp hl,bc
ld bc,(hl)

And other random things like that :D I just define them in the actual .TAB file...

Xeda, I wouldn't do that. It makes things slightly easier, but it causes way more problems than it fixes. For one, while those look like 1 or 2 byte instructions, ld bc, (hl) is 4 bytes long. Sometimes you will have optimized ways to do those routines, for instance if h is already 0. And the main problem with this is that it will make your code incompatible with other people.

Plus, it's not much harder to just write ld h, 0 \ ld l, a and that way you know what is really going on.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Disable "Done" message
« Reply #21 on: March 23, 2011, 06:12:50 pm »
Plus, it's not much harder to just write ld h, 0 \ ld l, a and that way you know what is really going on.
Yeah, I kinda figured :/
:D
That's usually why I stick with 444D or 26006F or whatnot :D It's shorter than mnemonics... Actually, I wish that an assembler could do something like:
Code: [Select]
ld hl,0
444D
2909292929
Or something and have it convert hex and mnemonics!

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: Disable "Done" message
« Reply #22 on: March 23, 2011, 06:27:33 pm »
You could always do .db ;)




Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Disable "Done" message
« Reply #23 on: March 23, 2011, 06:29:16 pm »
Yeah, but that takes so much more typing :P Actually, to make BatLib, I made a spreadsheet that converts all of my hex to .dw statements :D I feel like such a cheater, but it is much faster than using mnemonics (and I never get an error :D)

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: Disable "Done" message
« Reply #24 on: March 23, 2011, 06:33:36 pm »
Xeda, I'm shocked that you don't enter the characters in ASCII form in a .txt editor (or manually in a hex editor)  :P

The lack of errors is kind of nice though.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ