Thread: TI-84 emulator. Need confirmation from real hardware

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446

    TI-84 emulator. Need confirmation from real hardware

    I've been working on a TI-84 emulator of my own for a few months now. Normally I can detect a bug on my end of the code (engine or UI). But this one is eluding me and I'm starting to suspect it's a TI bug, not mine.

    I'm running a TI-84SE rom. I need your help confirming if this is the (wrong) result you get in your calculator. Unfortunately I can't do this anymore. One of the reasons I've been putting this project on hold. The original from where I extracted this rom was stolen from me 6 months ago while staying in a hotel.

    TI-84 emulator. Need confirmation from real hardware-b-png
    Last edited by Mario F.; 03-05-2014 at 09:50 AM.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Code:
    /*
        TI-30XIIS     = 25.36040482
        TI-85         = 25.3604048207
        TI-89         = 25.36040
        TI Voyage 200 = 25.3604
    */

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Ugh! That can't be either. It should be a little larger than 11. What is going on? Are you adding them all?
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Oops, yes. Hold on a bit.

  5. #5
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Code:
    /*
        TI-30XIIS     = 11.94399696
        TI-85         = 11.9439969557
        TI-89         = 11.94400
        TI Voyage 200 = 11.944
    */

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Wow, LOL! Nevermind. Your mistake helped me find the problem. If you look carefully at the screen that's not a subtraction sign. That's a minus sign! So the emulator is doing what it is being asked, sqrt(101) + sqrt(74) * -3 * sqrt(5).

    Another bug affected my key mappings and I was inserting a minus sign when hitting the minus key on the numeric keypad.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Good find! I was wondering how the result became negative, but was too busy juggling the calculators to give it much thought.

  8. #8
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    The minus sign in your equation is the unary minus, not the subtraction minus, you're calculating:

    octave-3.6.2.exe:1> sqrt(101) + sqrt(74) * -3*sqrt(5)
    ans = -47.656
    octave-3.6.2.exe:2>

    Edit: too late, nevermind!

  9. #9
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Hehe. Thanks anyways Epy. You would have nailed it.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  10. #10
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    Thanks, cool project by the way. I've been a big fan of calculator programming since high school. I'm afraid I'm on the HP side of the HP vs. TI battle though, I love my HP 50g and RPN mode.

  11. #11
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I got so accustomed to the TIs, it's hard to see me going elsewhere. But my interest in emulating the TI 84 series has nothing to do with it though. It's just a continuation of my love for Z80 emulation and programming. I really need to stop doing this though and get some basic knowledge on electronics somehow. For a very long time I've been getting the itch for proper Z80 programming on my own custom made Z80 devices.

    I did check the HP 50g on the web. Seems a much superior model to the TI 84 SE. But that wouldn't surprise me. The key combos seem also much richer (the TI lacks, for instance, n roots) and useful (the TI hides too much stuff under on-screen menus). But I have been dating the new TI Nspire series for some time.... tough decision.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Another question :O need ideas and confirmation
    By Akkernight in forum C++ Programming
    Replies: 7
    Last Post: 02-23-2009, 03:29 PM
  2. Is this how you use extern? Confirmation
    By Shadow12345 in forum C++ Programming
    Replies: 4
    Last Post: 12-24-2002, 09:00 PM
  3. return type confirmation
    By Unregistered in forum C++ Programming
    Replies: 13
    Last Post: 07-12-2002, 08:33 PM