Author Topic: TI-Nspire emulator  (Read 329809 times)

0 Members and 1 Guest are viewing this topic.

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: TI-Nspire emulator
« Reply #15 on: February 26, 2011, 01:38:46 pm »
Okay sorry, I didn't know that :banghead:

Offline ParkerR

  • LV3 Member (Next: 100)
  • ***
  • Posts: 51
  • Rating: +2/-1
    • View Profile
Re: TI-Nspire emulator
« Reply #16 on: March 07, 2011, 04:08:18 pm »
Thank you very much Goplat. Now I can run 2.1 CAS :)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: TI-Nspire emulator
« Reply #17 on: March 07, 2011, 04:09:47 pm »
By the way Goplat, if you find the time, would you mind adding those access permission bits to the MMU before you get too busy adding support for OS 3.0 and Nspire CX?
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #18 on: March 09, 2011, 01:18:46 am »
By the way Goplat, if you find the time, would you mind adding those access permission bits to the MMU before you get too busy adding support for OS 3.0 and Nspire CX?

Here you go. Version 0.51:
  • Implement MMU access permission bits
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

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: TI-Nspire emulator
« Reply #19 on: March 10, 2011, 12:29:22 am »
By the way is it me or is that emulator very small? Is it just due to the lack of GUI like in WabbitEmu? Not complaining, though, I just kinda expected the file size to be at least close to 1 MB. :P

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: TI-Nspire emulator
« Reply #20 on: March 12, 2011, 08:46:07 am »
It's just you. A program such as firefox, with all it's features takes up about 15mb of disk space.

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: TI-Nspire emulator
« Reply #21 on: March 13, 2011, 01:56:48 am »
Ah ok, because WabbitEmu is like 2.27 MB O.O

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: TI-Nspire emulator
« Reply #22 on: March 22, 2011, 02:58:14 pm »
Could you attach imgdump here too?
I am logged in at United-TI, but I still can't download it :(

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #23 on: March 22, 2011, 03:30:20 pm »
Here you go
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: TI-Nspire emulator
« Reply #24 on: March 23, 2011, 02:51:37 am »
Thanks :)

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: TI-Nspire emulator
« Reply #25 on: March 23, 2011, 02:55:43 am »
Just wondering, but how many Hz does the nspire emulator get. My current version of the Prizm emulator achieves about 8MHz now on the average computer (I released the first test version yesterday), but I still have many more optimizations to do including multi threading.

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #26 on: March 23, 2011, 03:45:39 am »
Just wondering, but how many Hz does the nspire emulator get. My current version of the Prizm emulator achieves about 8MHz now on the average computer (I released the first test version yesterday), but I still have many more optimizations to do including multi threading.

On my computer, it typically runs around 100-200 million instructions per second. It depends heavily on the code being executed - plain arithmetic is fast, branches and memory accesses are slower, accesses to memory-mapped I/O ports are very slow. The main reason it's so fast otherwise is that I translate sequences of ARM instructions into the x86 code needed to emulate them, and execute that directly, so the overhead of figuring out what an instruction does is only incurred the first time it's executed. Without this feature, it's about 10x slower.

I have to ask: what hardware does the Prizm have whose emulation can be sped up with multi-threading?

Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: TI-Nspire emulator
« Reply #27 on: March 23, 2011, 04:51:40 am »
I use multi-threading to control the hardware other than the cpu itself. So primary execution is handled by the first thread, hardware and peripherals on the second thread, gui on the third thread, and the plug-in app scripting language on the fourth thread.

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: TI-Nspire emulator
« Reply #28 on: April 08, 2011, 03:29:35 am »
Here is a version compatible with OS 3.0.1, made possible by returning the correct values from addresses 900A0000, 90110xxx, and CC000008. (Boot2 3.01 still doesn't work)
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TI-Nspire emulator
« Reply #29 on: April 08, 2011, 03:42:19 am »
Thanks :)

Is there a short-term plan for merging the modifications in Ncubate, which allow reverse-engineering from the comfort of IDA through the GDBstub ?
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.