Emulators: Difference between revisions

From Hackspire
Jump to navigation Jump to search
(→‎Ncubate: Add link to GDB support)
m (Fix Ncubate link)
Line 6: Line 6:
===Setup===
===Setup===
*Download and install [http://www.7-zip.org/download.html 7-zip]
*Download and install [http://www.7-zip.org/download.html 7-zip]
*Get Goplat's [http://www.unitedti.org/forum/index.php?s=8e96955ba408aac3538119ffcf0e8cf8&showtopic=8191&st=820&p=142002&#entry142002 imgdump] (United-TI account required for download) and unzip it.
*Get Goplat's [http://www.unitedti.org/forum/index.php?showtopic=8191&st=820&p=142002&#entry142002 imgdump] (United-TI account required for download) and unzip it.
*Download an OS image from TI Web Site (''.tnc'' or ''.tno'' file)
*Download an OS image from TI Web Site (''.tnc'' or ''.tno'' file)
*Open the OS image with 7-Zip (from the ''7-Zip'' sub-menu of the right click menu), and extract the file ''boot2.img'' to  the directory ''imgdump''.
*Open the OS image with 7-Zip (from the ''7-Zip'' sub-menu of the right click menu), and extract the file ''boot2.img'' to  the directory ''imgdump''.
Line 23: Line 23:


==Ncubate==
==Ncubate==
'''[http://www.unitedti.org/forum/index.php?showtopic=8191 Ncubate]''' is a derived version of ''nspire_emu'' enhanced with features useful to developers, such as state saving/reloading, additional debugger commands and [[Debugging programs#Ncubate's GDB support|support for the GDB debugger]].
'''[http://www.omnimaga.org/index.php?topic=4280.0 Ncubate]''' is a derived version of ''nspire_emu'' enhanced with features useful to developers, such as state saving/reloading, additional debugger commands and [[Debugging programs#Ncubate's GDB support|support for the GDB debugger]].


==Xspire==
==Xspire==

Revision as of 14:42, 6 November 2010

nspire_emu

nspire_emu is currently the main TI-Nspire/CAS/Touchpad emulator. It only supports Windows, but is compatible with Wine on other OSes. You can download it from the United-TI thread where it was born, but the thread is quite long so finding the latest version is not easy, and you need a UTI account. You may prefer to download it from the TI-Bank archives (French): choose the latest version of Emulateur Nspire/NspireCAS.

Most TI-Nspire emulators derived from nspire_emu. Note that these custom versions are not always kept up-to-date with the latest version of nspire_emu.

Setup

  • Download and install 7-zip
  • Get Goplat's imgdump (United-TI account required for download) and unzip it.
  • Download an OS image from TI Web Site (.tnc or .tno file)
  • Open the OS image with 7-Zip (from the 7-Zip sub-menu of the right click menu), and extract the file boot2.img to the directory imgdump.
  • To create an uncompressed Boot2 image, open a DOS console (Start -> Run... -> type cmd), and type (replace <imgdump_path> with the actual path):
cd <imgdump_path>
imgdump.exe boot2.img
This produces a file called boot2.img.raw.
  • Create a flash image with a preloaded OS from nspire_emu. If you are emulating a CAS OS image, append the option /C to all the following commands.
cd <nspire_emu_path>
nspire_emu.exe /N /F=<your_flash_image_name>.bin /PO=<os_image_path>
  • Install the preloaded OS:
nspire_emu.exe /B=<path_to_boot2.img.raw> /F=<your_flash_image_name>.bin
  • Press 'I' in the emulator screen to start the installation. Once the OS has loaded, you can save the image with File > Save Flash. You will be able to run again the image with the same DOS command: save it to a .bat file for a quicker launch.

You can alternatively try Levak's set of batch scripts for an easier setup: get the latest Emulateur Nspire (...) +lanceur on TI-Bank (French). You can merge these scripts with the latest version of nspire_emu.

Ncubate

Ncubate is a derived version of nspire_emu enhanced with features useful to developers, such as state saving/reloading, additional debugger commands and support for the GDB debugger.

Xspire

Xspire is a port of nspire_emu for the GTK+ GUI library, compatible with Windows and Linux. This port also supports skins. You can download it from the United-TI thread (account required). Note that a more recent version may be available further in the thread. The GDK/GTK+ libraries are required for it to work (Windows users should use the Windows port).

Nspire Memory Editor

The Nspire Memory Editor plugs itself into nspire_emu to offer advanced memory-related features, such as hexadecimal memory edition, string and binary search, memory chunks read and write, and string or instruction-based breakpoints. Download it from the United-TI thread (account required). Note that a more recent version may be available further in the thread.