Like Tree2Likes
  • 1 Post By Matticus
  • 1 Post By Mario F.

TI-84 emulator. Need confirmation from real hardware

This is a discussion on TI-84 emulator. Need confirmation from real hardware within the Tech Board forums, part of the Community Boards category; I've been working on a TI-84 emulator of my own for a few months now. Normally I can detect a ...

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,438

    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.

    Name:  b.png
Views: 182
Size:  1.7 KB
    Last edited by Mario F.; 03-05-2014 at 08:50 AM.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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
    2,282
    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
    Portugal
    Posts
    7,438
    Ugh! That can't be either. It should be a little larger than 11. What is going on? Are you adding them all?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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
    2,282
    Oops, yes. Hold on a bit.
    Mario F. likes this.

  5. #5
    Registered User
    Join Date
    Jun 2011
    Posts
    2,282
    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
    Portugal
    Posts
    7,438
    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.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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
    2,282
    Good find! I was wondering how the result became negative, but was too busy juggling the calculators to give it much thought.

  8. #8
    Epy
    Epy is offline
    Fortran lover Epy's Avatar
    Join Date
    Sep 2009
    Location
    California, USA
    Posts
    960
    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
    Portugal
    Posts
    7,438
    Hehe. Thanks anyways Epy. You would have nailed it.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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
    Epy
    Epy is offline
    Fortran lover Epy's Avatar
    Join Date
    Sep 2009
    Location
    California, USA
    Posts
    960
    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
    Portugal
    Posts
    7,438
    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.
    Epy likes this.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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, 02:29 PM
  2. Is this how you use extern? Confirmation
    By Shadow12345 in forum C++ Programming
    Replies: 4
    Last Post: 12-24-2002, 08:00 PM
  3. return type confirmation
    By Unregistered in forum C++ Programming
    Replies: 13
    Last Post: 07-12-2002, 08:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21