Author |
Message |
|
geogeo
Newbie
Joined: 19 Nov 2009 Posts: 7
|
Posted: 21 Nov 2009 08:28:28 pm Post subject: |
|
|
Your emulator is just THE tool that will help us to explore the TI-NSpire.
After many years, now it's time to open this calculator.
It seem that the boot1 is not a real barrier to developing an emulator ? |
|
Back to top |
|
|
bwang
Member
Joined: 15 Mar 2009 Posts: 128
|
Posted: 22 Nov 2009 12:47:25 am Post subject: |
|
|
Emulator version 0.02 gives the following under WINE on Linux when running OS 1.7 (non-CAS): Code: Write FCR = 06
Write MCR = 03
Write FCR = 00
Boot Loader Stage 2 (1.4.1571)
Build: 2008/2/19, 23:19:10
Copyright © 2006, 2007, 2008 Texas Instruments Incorporated
Using production keys
Clocks: CPU = 90MHz AHB = 45MHz APB = 22MHz
Checking for NAND: NAND Flash ID: ST Micro NAND256R3A
Initializing graphics subsystem.
Boot option: Normal
Initializing filesystem.
Datalight Reliance v2.10.1150
Copyright © 2003-2006 Datalight, Inc.
Datalight FlashFX Pro v3.00 Build 1358
Nucleus Edition for ARM9
Copyright © 1993-2006 Datalight, Inc.
Patents: US#5860082, US#6260156.
FFX: BBM Format found 0 bad blocks (IOError=0 Factory=0 Marked=0 Legacy=0)
FlashFX: Formatting... One moment please
100%
FlashFX: Format complete, Status=0x00000000
relFs_Format v2.10.1150
Copyright © 2003-2006 Datalight, Inc.
Writing file system...100
Block size: 512
Total blocks: 57088
Used blocks: 63
FreeWarning at PC=1184C4F8: Null pointer access (addr=00000008)
|
|
Back to top |
|
|
ExtendeD
Advanced Newbie
Joined: 30 Aug 2009 Posts: 91
|
Posted: 22 Nov 2009 03:30:56 am Post subject: |
|
|
With non CAS OS 1.1 and 1.7, I get the following error during installation:
Quote: File transfer complete. Saving pre-load file.
File saved. Installing new Operating System...
TI_OS_INSTALL_PRECHECK (5)
TI_OS_INSTALL_VERIFYING_IMAGE (10)
IMAGE: verifying file "/tmp/TI-Nspire.tno"
IMAGE: missing Program ID
TI_OS_INSTALL_VERIFYING_RESOURCE (95)
Deleting file [/tmp/TI-Nspire.tno]
TI_OS_INSTALL_FAILED
TI_OS_INSTALL_IMAGE_INVALID
Did I miss something? |
|
Back to top |
|
|
critor
Member
Joined: 04 Feb 2009 Posts: 132
|
Posted: 22 Nov 2009 04:01:57 am Post subject: |
|
|
ExtendeD wrote: With non CAS OS 1.1 and 1.7, I get the following error during installation:
Quote: File transfer complete. Saving pre-load file.
File saved. Installing new Operating System...
TI_OS_INSTALL_PRECHECK (5)
TI_OS_INSTALL_VERIFYING_IMAGE (10)
IMAGE: verifying file "/tmp/TI-Nspire.tno"
IMAGE: missing Program ID
TI_OS_INSTALL_VERIFYING_RESOURCE (95)
Deleting file [/tmp/TI-Nspire.tno]
TI_OS_INSTALL_FAILED
TI_OS_INSTALL_IMAGE_INVALID
Did I miss something?
Did you run the emulator in "non CAS"-mode ?
You have to remove the "/C" parameter from the command line. |
|
Back to top |
|
|
ExtendeD
Advanced Newbie
Joined: 30 Aug 2009 Posts: 91
|
Posted: 22 Nov 2009 04:37:46 am Post subject: |
|
|
You're right, sorry |
|
Back to top |
|
|
Goplat
Advanced Newbie
Joined: 26 Jun 2007 Posts: 95
|
Posted: 22 Nov 2009 04:54:24 am Post subject: |
|
|
bwang wrote: Emulator version 0.02 gives the following under WINE on Linux when running OS 1.7 (non-CAS):
...
Block size: 512
Total blocks: 57088
Used blocks: 63
FreeWarning at PC=1184C4F8: Null pointer access (addr=00000008) It appears that Wine does not flush console output in anything resembling a timely fashion. So you have to know to press Enter to download the OS; you will never see the "Press <Enter> to download through the serial port" message until long after you've already pressed Enter.
Also, you might have to use wineconsole instead of plain wine in order for keyboard input to the console to work. |
|
Back to top |
|
|
critor
Member
Joined: 04 Feb 2009 Posts: 132
|
Posted: 22 Nov 2009 05:41:00 am Post subject: |
|
|
Goplat wrote: It appears that Wine does not flush console output in anything resembling a timely fashion. So you have to know to press Enter to download the OS; you will never see the "Press <Enter> to download through the serial port" message until long after you've already pressed Enter.
Also, you might have to use wineconsole instead of plain wine in order for keyboard input to the console to work.
Any hint about what's wrong with OS 1.4 & 1.6 too? |
|
Back to top |
|
|
Goplat
Advanced Newbie
Joined: 26 Jun 2007 Posts: 95
|
Posted: 23 Nov 2009 12:47:11 am Post subject: |
|
|
geogeo wrote: It seem that the boot1 is not a real barrier to developing an emulator ? Yes; it doesn't appear that BOOT1 is used for anything once control is passed to BOOT2, except possibly by the 1.1 non-CAS OS.
Anyway, here's another new version. OS 1.4 and 1.6 now run, and so does the TI-84 Plus emulator in non-CAS OSes (use the /K switch to emulate the TI-84 Plus keypad). |
|
Back to top |
|
|
Techrocket9
Advanced Newbie
Joined: 07 Nov 2009 Posts: 62
|
Posted: 23 Nov 2009 12:58:32 am Post subject: |
|
|
Goplat=genius |
|
Back to top |
|
|
Lionel Debroux
Member
Joined: 01 Aug 2009 Posts: 170
|
Posted: 23 Nov 2009 01:03:47 am Post subject: |
|
|
Great work, once again |
|
Back to top |
|
|
Galandros
Active Member
Joined: 29 Aug 2008 Posts: 565
|
Posted: 23 Nov 2009 04:40:06 am Post subject: |
|
|
keep up the great work.
Does the debugger has a disassembler? |
|
Back to top |
|
|
Goplat
Advanced Newbie
Joined: 26 Jun 2007 Posts: 95
|
Posted: 23 Nov 2009 11:01:21 am Post subject: |
|
|
Galandros wrote: Does the debugger has a disassembler? Yes (the 'u' command). You can get a list of commands with '?'. |
|
Back to top |
|
|
Galandros
Active Member
Joined: 29 Aug 2008 Posts: 565
|
Posted: 23 Nov 2009 12:17:17 pm Post subject: |
|
|
Goplat wrote: Galandros wrote: Does the debugger has a disassembler? Yes (the 'u' command). You can get a list of commands with '?'.
Thanks. Sorry for not looking the '?', I forgot that... |
|
Back to top |
|
|
critor
Member
Joined: 04 Feb 2009 Posts: 132
|
Posted: 23 Nov 2009 01:03:29 pm Post subject: |
|
|
Thank you very very very much goplat!
Both 1.4 and 1.6 OS (CAS or non-CAS) are booting correctly now.
And it's wonderfull emulating the embedded TI-84+SE emulator
I still have an issue with booting the 1.1 non-CAS OS...
Does it work on your computer?
Thank you. |
|
Back to top |
|
|
Techrocket9
Advanced Newbie
Joined: 07 Nov 2009 Posts: 62
|
Posted: 23 Nov 2009 02:59:54 pm Post subject: |
|
|
The emulator is emulating the Nspire emulator emulating the TI-84+ SE.
I must be making some silly error, but I get "The syntax of the command is incorrect" error when I enter: "nspire_emu /B=<boot2.raw> /G /X /C /W=<flash.vsf> /O=<TI-Nspire.tnc>" on the CAS 1.7 OS. Can someone help me? Thanks!
Last edited by Guest on 23 Nov 2009 09:59:16 pm; edited 1 time in total |
|
Back to top |
|
|
calc84maniac
Elite
Joined: 22 Jan 2007 Posts: 770
|
Posted: 23 Nov 2009 10:46:14 pm Post subject: |
|
|
I wonder, how easy would it be to get unsigned code running on this emulator? It would be nice to be able to start coding for the TI-Nspire even if the code won't run on actual hardware yet. |
|
Back to top |
|
|
Goplat
Advanced Newbie
Joined: 26 Jun 2007 Posts: 95
|
Posted: 23 Nov 2009 11:16:38 pm Post subject: |
|
|
critor wrote: I still have an issue with booting the 1.1 non-CAS OS...
Does it work on your computer? No - I will probably have to add a little hack to make it work without BOOT1.
Techrocket9 wrote: I must be making some silly error, but I get "The syntax of the command is incorrect" error when I enter: "nspire_emu /B=<boot2.raw> /G /X /C /W=<flash.vsf> /O=<TI-Nspire.tnc>" on the CAS 1.7 OS. Can someone help me? Thanks! Don't use actual less-than and greater-than symbols; I just put those in my post to mark off the places where you put the filenames.
calc84maniac wrote: I wonder, how easy would it be to get unsigned code running on this emulator? It would be nice to be able to start coding for the TI-Nspire even if the code won't run on actual hardware yet. Very easy: you could just run your code in place of the BOOT2 image, since my emulator doesn't validate it at all |
|
Back to top |
|
|
Goplat
Advanced Newbie
Joined: 26 Jun 2007 Posts: 95
|
Posted: 24 Nov 2009 03:44:20 am Post subject: |
|
|
Another new version. This one can run the 1.1 non-CAS OS, which means no more versions are known not to work. Also, you can now send programs to the TI-84+ by entering the debugger and using the "send <filename>" command. No app sending yet, since the .8xk format is a pain in the butt to deal with.
(I've got school work to deal with now, alas, so don't be expecting daily releases any more.)
[Edit: attachment was broken by server move, re-uploading]
Last edited by Guest on 28 Nov 2009 10:08:07 am; edited 1 time in total |
|
Back to top |
|
|
critor
Member
Joined: 04 Feb 2009 Posts: 132
|
Posted: 28 Nov 2009 07:28:07 am Post subject: |
|
|
Goplat wrote: Another new version. This one can run the 1.1 non-CAS OS, which means no more versions are known not to work. Also, you can now send programs to the TI-84+ by entering the debugger and using the "send <filename>" command.
So, very good work! :biggrin:
When you have some time, would it be possible:
- to send files to the nSpire emulator (if it's not too complicated)
- to be able to save the state of the emulator while quitting, and then being able to resume (instead of booting) ?
Thank you very much for your great work.
Last edited by Guest on 28 Nov 2009 07:28:37 am; edited 1 time in total |
|
Back to top |
|
|
Techrocket9
Advanced Newbie
Joined: 07 Nov 2009 Posts: 62
|
Posted: 28 Nov 2009 07:37:10 pm Post subject: |
|
|
Goplat, I found a high resolution image of the Nspire here. I edited the image down to just the keypad. You can find that image here.. I also "bleached" the image to make a CAS-ish keypad. That version is here. I admit that the CAS version is especially bad, as I did it in a hurry. If anyone has a high-res image of the CAS keypad, I can isolate that so that we have a real image and not a bleached regular one. I am just posting them in case you want to implement a photo-keypad in the emulator, like the PC software. That would make it much easier to use. I know that these images aren't finished product grade, but they would be usable. And like always Goplat, good work! |
|
Back to top |
|
|
|