Author Topic: Mimas by Benjamin Moody  (Read 59196 times)

0 Members and 4 Guests 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: Mimas by Benjamin Moody
« Reply #180 on: November 12, 2010, 12:41:01 pm »
Wow, now that I'm learing ASM, this helps me a lot more.  I was concerened about not being able to access a comp enough to write ASM programs.  :D

Yep, that's why I love on-calc assemblers :D

But FloppusMaximus mentioned random crashes, so you should probably wait a bit until he finishes 0.3 (or whatever the next version is).




Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Mimas by Benjamin Moody
« Reply #181 on: November 12, 2010, 12:41:57 pm »
I'm fine, actually, since a have a dev calc, and a link cable plus my other calc whereever I go.  ;)

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

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: Mimas by Benjamin Moody
« Reply #182 on: November 12, 2010, 12:44:58 pm »
To get back on topic, I've found a rather serious bug in Mimas's symbol hashing, which can sometimes cause the assembler to crash.  This might also have caused occasional misassemblies and inappropriate "symbol redefined" errors.  So, there'll be another bugfix release shortly.

And back to the subject of on-calc app signing, since you guys have gotten me thinking about that again... after some experimentation and back-of-the-envelope calculations, I'll wager that you can do a lot better than 13 minutes.  Like, under a minute.  Also, I wasn't correct when I said that Rabin is necessarily much faster than RSA; I think you could apply similar tricks and speed up RSA by a similar amount, if you cared to do so.

^ Maybe it's that?

And did the emulated calc freeze or did Wabbit completely freeze up? If it's only the calc, then that happens a lot (I do infinite loops all the time :D) and you can just go to Debug > Reset.

If it's Wabbit, though... I've had that happen too. It was an early bug, but it should be fixed in the current version (at http://wabbit.codeplex.com/).

Wabbit completely froze and I had to shut it down through the task manager. I don't think it was an infinite loop, because all I was doing was passing stuff to the processor to see how certain values are returned. No looping whatsoever. It wasn't my code per se, but it *should* work, being as the code was written for the processor.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

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: Mimas by Benjamin Moody
« Reply #183 on: November 12, 2010, 12:49:09 pm »
To get back on topic, I've found a rather serious bug in Mimas's symbol hashing, which can sometimes cause the assembler to crash.  This might also have caused occasional misassemblies and inappropriate "symbol redefined" errors.  So, there'll be another bugfix release shortly.

And back to the subject of on-calc app signing, since you guys have gotten me thinking about that again... after some experimentation and back-of-the-envelope calculations, I'll wager that you can do a lot better than 13 minutes.  Like, under a minute.  Also, I wasn't correct when I said that Rabin is necessarily much faster than RSA; I think you could apply similar tricks and speed up RSA by a similar amount, if you cared to do so.

^ Maybe it's that?

And did the emulated calc freeze or did Wabbit completely freeze up? If it's only the calc, then that happens a lot (I do infinite loops all the time :D) and you can just go to Debug > Reset.

If it's Wabbit, though... I've had that happen too. It was an early bug, but it should be fixed in the current version (at http://wabbit.codeplex.com/).

Wabbit completely froze and I had to shut it down through the task manager. I don't think it was an infinite loop, because all I was doing was passing stuff to the processor to see how certain values are returned. No looping whatsoever. It wasn't my code per se, but it *should* work, being as the code was written for the processor.

You should give BuckeyeDude a bug report (here in this topic, at RevSoft in this thread, or on IRC (he's either Buckeye or BuckeyeD)).




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: Mimas by Benjamin Moody
« Reply #184 on: November 12, 2010, 01:54:20 pm »
I think I figured out the problem: Programmer idiocy. I was referencing a command that doesn't exist in the z80 chip for TI calcs.

Bloody good way to **** up your calculator.  :P
« Last Edit: November 12, 2010, 01:55:06 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

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: Mimas by Benjamin Moody
« Reply #185 on: November 12, 2010, 01:57:38 pm »
Bloody good way to **** up your calculator.  :P

True :D

How would you have referenced it, though? Did you put in the hex? Because if the mnemonic's built into Mimas, you might want to tell him about it.




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: Mimas by Benjamin Moody
« Reply #186 on: November 12, 2010, 02:10:59 pm »
I typed it in by hand. I was trying out some code from an old z80 computer. Apparently the assemblers were slightly different....
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

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: Mimas by Benjamin Moody
« Reply #187 on: November 12, 2010, 02:12:29 pm »
TI's Z80 is weird, so don't try that unless you know what it means...




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: Mimas by Benjamin Moody
« Reply #188 on: November 12, 2010, 02:15:13 pm »
Good advice. Luckily, TI actually did something right and wrote a BCALL for it into the OS. I only found out about it afterwards. The downside is that the bad routine appears to be several dozen times more efficient.
« Last Edit: November 12, 2010, 02:15:33 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

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: Mimas by Benjamin Moody
« Reply #189 on: November 12, 2010, 02:16:22 pm »
Good advice. Luckily, TI actually did something right and wrote a BCALL for it into the OS. I only found out about it afterwards. The downside is that the bad routine appears to be several dozen times more efficient.

Any routine that TI didn't write is probably several dozen times more efficient ;)




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: Mimas by Benjamin Moody
« Reply #190 on: November 12, 2010, 02:18:34 pm »
That's all too true  :(
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Mimas by Benjamin Moody
« Reply #191 on: November 12, 2010, 03:03:56 pm »
The Z80 in the TI-83+ works like any other Z80. Executing an opcode that doesn't exist shouldn't have any effect (well, which opcode are you speaking of anyway?)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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: Mimas by Benjamin Moody
« Reply #192 on: November 12, 2010, 03:10:04 pm »
Here's the part of the source that's giving me problems:

Code: [Select]
EXX
BIT  7,B
EXX
JP   NZ,SUB1

The SUB1 isn't a normal z80 command. I think it's an assembler difference.
« Last Edit: November 12, 2010, 03:10:31 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Mimas by Benjamin Moody
« Reply #193 on: November 12, 2010, 03:17:23 pm »
SUB1 is a label name, not a command.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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: Mimas by Benjamin Moody
« Reply #194 on: November 12, 2010, 03:18:34 pm »
Heh, then you might have been jumping to a nonexistent label. That would explain a lot :D
« Last Edit: November 12, 2010, 03:19:12 pm by Deep Thought »