Author Topic: z80 emulator for Nspire  (Read 108025 times)

0 Members and 2 Guests are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: z80 emulator for Nspire
« Reply #90 on: March 24, 2013, 06:19:13 pm »
Added automatic save state on exit.
Sounds like it acts like a full second calculator now :)




Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: z80 emulator for Nspire
« Reply #91 on: March 24, 2013, 06:20:01 pm »
Here's a mirror :
http://www.mirari.fr/0kPP
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

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: z80 emulator for Nspire
« Reply #92 on: March 24, 2013, 06:25:52 pm »
Tried with:

 84+SE ROM 2.41 (Boot code 1.00): Only a black screen shows up. Pressing Menu does nothing, even after waiting 1 minute. Can still quit fine, though.

 84+SE ROM 2.53MP (Boot code 1.02): Only a black screen shows up. Pressing Menu does nothing, even after waiting 1 minute. Can still quit fine, though.

 84+SE ROM 2.55MP (Bootfree 11.246): Only a black screen shows up. Pressing Menu does nothing, even after waiting 1 minute. Can still quit fine, though.

 84+SE ROM 2.43 (Bootfree 11.246): Only a black screen shows up. Pressing Menu does nothing, even after waiting 1 minute. Can still quit fine, though.

 I checked if they were really 84+SE ROMs and they're really 2048 KB. Do I need a ROM version in particular combined with a boot code in particular?

Btw do I need a TI-Nspire CX hardware in particular? My hardware revision is P-0411B.
« Last Edit: March 24, 2013, 06:26:58 pm by DJ Omnimaga (Not Admin) »

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • That one dude
    • View Profile
Re: z80 emulator for Nspire
« Reply #93 on: March 24, 2013, 06:59:07 pm »
The ROM discussions.. Of course they are illegal, so illegal that it's not easy to find them.

Oh yeah and SO EXCITED

Is there a speed toggle? I don't mind slowing down/speeding up the emu :) I would like to suggest a greyscale display thingy similar to Wabbit's.
Or work on the display.. It looks like Axe's perfect greyscale isn't working out on the vid of the dude playing Portal.
You should use the bottom and side of the unused screen portions as live info displays! :D
« Last Edit: March 24, 2013, 07:58:13 pm by Dapianokid »
Keep trying.

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: z80 emulator for Nspire
« Reply #94 on: March 24, 2013, 08:39:57 pm »
Bug report: In Doors CS, the cursor can't move. Actually it can, but incredibly slowly, unresponsive before it finally starts moving normally.

Also there are problems with For() loops: I get an ERR:INCREMENT on the following code:

For(Z,1,8:6->L2(Z:End


You should use the bottom and side of the unused screen portions as live info displays! :D
Actually I like that idea. Another one was to use a picture of the real calc around those parts, but I like having the top bar like on the Nspire and 84+CSE. You could have the bottom say which ROM is loaded, what calc is emulating and in the case where it's not used, the sides display the boot code version or other things.

Another idea could be to just shift the display a bit lower, make the sides white then add a plain gray bar at the top displaying the calc modes like on the 84+CSE, but I'm unsure if TI would like :P
« Last Edit: March 24, 2013, 09:20:35 pm by DJ Omnimaga (Not Admin) »

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • That one dude
    • View Profile
Re: z80 emulator for Nspire
« Reply #95 on: March 24, 2013, 09:04:09 pm »
Don't do the modes like on the CSE. You're obsessing over the CSE, DJ_O! :PThink about us who wont get one until a year has passed and they have a nice library of programs and bug and hardware fixes/revisions.

Real calc picture is wasting that space, which could be used to show FPS, speed, memory, and help tabs. It could be used for option tabs like file transfer or setup wizards.

I say you make a directory that can be explored so somebody could have a huge directory of files to transfer to their emulated calc. Thats like expanding storage memory indefinately :)

An options bar would fit perfectly there!
« Last Edit: March 24, 2013, 09:07:27 pm by Dapianokid »
Keep trying.

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: z80 emulator for Nspire
« Reply #96 on: March 24, 2013, 10:54:29 pm »
I'm not obsessing over the 84+CSE. It's actually for people who don't want to buy one but like the interface. :P

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: z80 emulator for Nspire
« Reply #97 on: March 25, 2013, 12:19:38 am »
This looks quite nice! I'll have to give it a try on my cx soon. :)

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: z80 emulator for Nspire
« Reply #98 on: March 25, 2013, 04:06:27 am »
On a side note, once this is completed, is there a PRIZM C version planned?

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: z80 emulator for Nspire
« Reply #99 on: March 25, 2013, 04:44:28 am »
Would be nice to see a Prizm version indeed, especially seeing that the keypad/ports are similar. (except it's not a mini-AB for the usb but oh well).

It's working for me anyways. :)
I take it linking isn't implemented yet :P Could be possible to have 2nd>Link point to a folder or something?
« Last Edit: March 25, 2013, 04:51:07 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: z80 emulator for Nspire
« Reply #100 on: March 25, 2013, 09:48:37 am »
I testet the emulator for some time and i discovered some things that won't work.

1. random numbers:

I tested the random numbers and i found out that they where not in the range that is specified.
after a little bit of testing you can see a pattern on calc emu the where in this case the amount of different numbers that can be given (11) + one of the negative numbers gives the number wabbit emu gives me (this is probably the same on TI-84SE).
24->rand
randInt(0,10)
calcemu    9  -6  4  -9  5  0  -1  -1  0  -8  0  -3  -2  2  0  -1  -1  -7  -8  3 
wabbit      9   5  4   2  5  0  10  10  0   3  0   8   9  2  0  10  10   4   3  3
the output on calcemu is the same when you take randInt(10,20) and probably also with randInt(5,15) randInt(100,110) ect.

2. the Solver gives me an ERR: ITERATIONS after a long time of calculating :(



Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Re: z80 emulator for Nspire
« Reply #101 on: March 25, 2013, 12:37:38 pm »
Hello I am back, I looked into the ROM thing and apparently you can get one from wabbitemu.

And there any differences between the original ones and the wabbitemu ones?

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: z80 emulator for Nspire
« Reply #102 on: March 25, 2013, 12:41:53 pm »
Also I noticed that the clock doesn't work properly.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: z80 emulator for Nspire
« Reply #103 on: March 25, 2013, 12:48:19 pm »
Hello I am back, I looked into the ROM thing and apparently you can get one from wabbitemu.

And there any differences between the original ones and the wabbitemu ones?
The WabbitEmu ROM builder creates a ROM image using the open-source BootFree boot code, along with the latest 8XU file from TI's website, instead of the actual (copyrighted) boot code used by the real calculator. That way, anything that's in the ROM is already freely distributable.

There are some minor quirks, but it works.
« Last Edit: March 25, 2013, 12:49:45 pm by Deep Thought »




Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: z80 emulator for Nspire
« Reply #104 on: March 25, 2013, 12:49:14 pm »
And there any differences between the original ones and the wabbitemu ones?
The difference is what boot code the ROM uses. The open-source one is good for general use on emulated calcs, but the TI boot code is needed if you want to emulate the calc in a very accurate manner, and I think the open-source one has some kind of issue that prevents it from being used on physical calcs. WabbitEmu is also able to create a ROM with the TI boot code if you provide a dump of the code.

EDIT: Ah, seems like I was ninja'd.
« Last Edit: March 25, 2013, 12:49:31 pm by JosJuice »