Author Topic: New nspire_emu 0.70 with CAS+ support !  (Read 11071 times)

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
New nspire_emu 0.70 with CAS+ support !
« on: December 22, 2012, 02:43:19 pm »
Announced in a previous news, the new 0.70 version of nspire_emu by Goplat has finally been released tonight - a great Christmas present for everybody! :D

As promised, you now get TI-Nspire CAS+ emulation! ;D

In addition, it is now possible to virtually send files over RS232! ;D
This is very useful for the TI-Nspire CAS+! :D
But it is also useful to implement a more realistic behavior in different boot menus, and to extend the possibilities of development and testing of boot tools on emulator! ;D
(no need to take a real calculator and your RS232 interface until the final tests anymore) :P

The improved support of unaligned memory access now lets gpSP directly work in the emulator! ;D



Download:
http://www.omnimaga.org/index.php?action=dlattach;topic=6763.0;attach=14364

Topic:
http://ourl.ca/9360/330734
« Last Edit: December 24, 2012, 08:24:13 am by critor »
TI-Planet co-admin.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #1 on: December 22, 2012, 03:03:08 pm »
Nice, I am downloading now! :)

Offline CompSystems

  • LV3 Member (Next: 100)
  • ***
  • Posts: 68
  • Rating: +7/-4
  • HP48GX,HP50G and TInspireCAS Calculator Programmer
    • View Profile
    • HP48GX,HP50G and TInspireCAS Calculator Programmer
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #2 on: December 23, 2012, 07:55:55 am »
Thanks. Proving the old GUI ...

Survey:

Which GUI-OS is better (TI-nspire CAS+ 2006) or the new (TI-nspire CAS 2007/.../2012)?
« Last Edit: December 23, 2012, 08:23:10 am by CompSystems »

Offline _Nicco_

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +6/-0
    • View Profile
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #3 on: December 24, 2012, 07:26:50 am »
Whats up with the keyboard?  I never understood why it was laid out like that.

And why are there blanks?  Is that just in case you want to switch layouts and the other layouts take up the blanks?
« Last Edit: December 24, 2012, 07:27:26 am by _Nicco_ »
They say that your signature is supposed to go here...

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #4 on: December 24, 2012, 08:39:21 am »
Quote
Whats up with the keyboard? I never understood why it was laid out like that.
The keyboard is laid out like that because the matrix is laid out like that :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

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: New nspire_emu 0.70 with CAS+ support !
« Reply #5 on: December 24, 2012, 07:18:17 pm »

Survey:

Which GUI-OS is better (TI-nspire CAS+ 2006) or the new (TI-nspire CAS 2007/.../2012)?
TI-73 through 86 (except MP OSes on 2nd boot). Turn the calc ON, end up straight on calculation screen, no need to search it.
« Last Edit: December 24, 2012, 07:19:17 pm by DJ_O »

Offline garbage

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +2/-0
    • View Profile
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #6 on: December 25, 2012, 05:14:17 am »
I downloaded the emulator but I'm to lame to run it. Could anyone please explaine step by step how to start emulating nspire CAS+

(I've read the tutorial but still can't start emulating - http://tiplanet.org/forum/viewtopic.php?f=15&t=8698)

Offline Wayne

  • LV3 Member (Next: 100)
  • ***
  • Posts: 72
  • Rating: +3/-3
    • View Profile
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #7 on: December 25, 2012, 08:25:31 am »
In which point are you stucking, to create and flash file or to launch it?

Btw: Thank you very much critor. It's nice to be able play gba games on the emulator now.
« Last Edit: December 25, 2012, 08:28:00 am by Wayne »

Offline garbage

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +2/-0
    • View Profile
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #8 on: December 26, 2012, 05:21:44 am »
In which point are you stucking, to create and flash file or to launch it?

Let's say I have the following files -> http://tiplanet.org/forum/archives_voir.php?id=8155 , http://tiplanet.org/forum/archives_voir.php?id=8757 , http://tiplanet.org/forum/archives_voir.php?id=8748

How do I emulate Nspire CAS+ with OS version 1.0.1.0.334T.

Thanks for help!

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #9 on: December 26, 2012, 05:45:27 am »
Does the partial translation of the page, which I started yesterday, help you ?
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline garbage

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +2/-0
    • View Profile
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #10 on: December 26, 2012, 06:47:56 am »
Does the partial translation of the page, which I started yesterday, help you ?

I've tried to replace /MC with /MPC as mentioned in tutorial but nothnig happens.... The response using /MPC instead of /MC is that nspire_emu starts as no arguments were applied (shows all possible "command-line" arguments).

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #11 on: December 26, 2012, 07:26:50 am »
The right CAS+ option is /MP.
Code: [Select]
nspire_emu /1=your_casp_boot1 /PB=your_casp_boot2 /PO=your_casp_os /MP

For your first try, you should use Boot1/Boot2 1.0.526 and OS 1.0.529/1.0.554.
It works.

Older Boot2 are using a different format for OS images preloaded in memory or sent through RS232.
As it is not easy on the emulator side to guess which format is the right one, the /PO parameter uses the format suitable for the latest and more common CAS+ Boot2 (1.0.526).

For older Boot2 versions, you'll need to remove the /PO parameter, hexedit your OSes, add a specific header, and send the file using the Xmodem emulation.

For information:
Quote from: Goplat
boot2 EVT2 versions:
* preload format: 0x18 bytes, followed by contents of phoenix.img
+ 0x00: nul-terminated string "***PRELOAD_IMAGE***"
+ 0x14: phoenix.img size (big-endian)
* OS sent by XMODEM has no header (just phoenix.img)
* preload images in flash have no ECC

boot2 1.0.491:
* preload format: 0x1C bytes, followed by contents of manifest_img and
phoenix.img
+ 0x00: nul-terminated string "***PRELOAD_IMAGE***"
+ 0x14: manifest_img size (big-endian)
+ 0x18: phoenix.img size (big-endian)
* OS sent by XMODEM includes preload header
* preload images in flash have no ECC

boot2 1.0.526:
* preload format: 0x20 bytes, followed by contents of manifest_img and
phoenix.img
+ 0x00: nul-terminated string "***PRELOAD_IMAGE***"
+ 0x14: bytes 55 F0 01 55
+ 0x18: manifest_img size (big-endian)
+ 0x1C: phoenix.img size (big-endian)
* OS sent by XMODEM includes preload header
* preload images in flash have ECC in the "extra" part of each flash page
« Last Edit: December 26, 2012, 07:28:54 am by critor »
TI-Planet co-admin.

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: New nspire_emu 0.70 with CAS+ support !
« Reply #12 on: December 26, 2012, 12:04:08 pm »
The right CAS+ option is /MP.
MathPrint?? O.O

By the way, I wonder if this emulator can be resized so people can play games (almost) fullscreen like VirtualTI?

Offline garbage

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +2/-0
    • View Profile
Re: New nspire_emu 0.70 with CAS+ support !
« Reply #13 on: December 26, 2012, 12:58:49 pm »
The right CAS+ option is /MP.
Code: [Select]
nspire_emu /1=your_casp_boot1 /PB=your_casp_boot2 /PO=your_casp_os /MP

For your first try, you should use Boot1/Boot2 1.0.526 and OS 1.0.529/1.0.554.
It works.

Older Boot2 are using a different format for OS images preloaded in memory or sent through RS232.
As it is not easy on the emulator side to guess which format is the right one, the /PO parameter uses the format suitable for the latest and more common CAS+ Boot2 (1.0.526).

For older Boot2 versions, you'll need to remove the /PO parameter, hexedit your OSes, add a specific header, and send the file using the Xmodem emulation.

For information:
Quote from: Goplat
boot2 EVT2 versions:
* preload format: 0x18 bytes, followed by contents of phoenix.img
+ 0x00: nul-terminated string "***PRELOAD_IMAGE***"
+ 0x14: phoenix.img size (big-endian)
* OS sent by XMODEM has no header (just phoenix.img)
* preload images in flash have no ECC

boot2 1.0.491:
* preload format: 0x1C bytes, followed by contents of manifest_img and
phoenix.img
+ 0x00: nul-terminated string "***PRELOAD_IMAGE***"
+ 0x14: manifest_img size (big-endian)
+ 0x18: phoenix.img size (big-endian)
* OS sent by XMODEM includes preload header
* preload images in flash have no ECC

boot2 1.0.526:
* preload format: 0x20 bytes, followed by contents of manifest_img and
phoenix.img
+ 0x00: nul-terminated string "***PRELOAD_IMAGE***"
+ 0x14: bytes 55 F0 01 55
+ 0x18: manifest_img size (big-endian)
+ 0x1C: phoenix.img size (big-endian)
* OS sent by XMODEM includes preload header
* preload images in flash have ECC in the "extra" part of each flash page

I've followed your instructions and succeded.

Thanks Critor!