Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: njaddison on December 07, 2011, 02:48:14 pm

Title: ndless ideas
Post by: njaddison on December 07, 2011, 02:48:14 pm
hi everyone.
with the release of ndless near, i want to start brainstorming some ideas. maybe we can create some new projects in c, while extended is creating ndless 3.0. then when ndless is released, we can have more awesome stuff to do on our calc.
I have an idea for an ndless program called lua nHancer. it lets you run lua scripts in full screen and also speeds up the framerate of the lua script (you will probably have to create a double file extension, like nfighter.lua.tns) . so you can get rid of that annoying ghost that makes you fire five seconds after you press the button. and, i thought of a program that compresses files on your ti-nspire when you are not using them. it's a little idea i call nZipper.
I will probably start on these projects after a take c tutorials.
so now that i have started the topic, let's brainstorm!
-nelson
Title: Re: ndless ideas
Post by: Scipi on December 07, 2011, 02:53:52 pm
I'll probably port my tile map editor to it and have it actually save files on calc.

Also, I might have a few other ideas for platformers, RTS's, etc :P
Title: Re: ndless ideas
Post by: annoyingcalc on December 07, 2011, 08:26:42 pm
have a nice title screen
Title: Re: ndless ideas
Post by: Chockosta on December 08, 2011, 01:30:25 pm
I'm not sure I will succeed, but I will try to port my 3D engine to C, and then I'll try to make a mini-minecraft. Just because I like the idea.

And a nice TI-z80 emulator would be great.
Also, maybe a java interpreter ? (like Khavi for the prizm)
But since I don't know anything about ASM, I won't try to do these 2 projects.
Title: Re: ndless ideas
Post by: Scipi on December 08, 2011, 01:39:41 pm
Just found this thread.

http://ourl.ca/8791 (http://ourl.ca/8791)

Seems pretty promising for Java on an Nspire :D
Title: Re: ndless ideas
Post by: alberthrocks on December 08, 2011, 10:05:15 pm
One of the things that we should really, really focus on is making a very versatile API for ndless, in form of a library.
You will be in a big shock if you are transitioning from Lua - the C API for ndless (Nspire) development is VERY different - you must manage the screen manually, no gc:paint() or anything of the sort. Pixel by pixel. Not very fun, right? Key management is very different too, but that's another story...

Therefore, we need some libraries to make all of this easier for the poor little developer! (Notice that the few programs that are out there are written by some very, very good devs, not ordinary ones that have been seen with the burst of activity from the introduction of Nspire Lua.)

Word after word gets boring, and so I made this pretty little diagram to show you what I'd like to get done. (I was terribly bored when I did this :P)
(http://dl.dropbox.com/u/1016340/PublicPictures/ndless3FutureAPI.png)

(I did this when I was bored = very tired, so there are some minor mistakes in this image. :P)
Title: Re: ndless ideas
Post by: willrandship on December 08, 2011, 11:15:39 pm
I would think that nSDL covers nDraw's more advanced drawing, and ndless already gave buffer access.

Also, I was thinking: How hard would it really be to interface to the 84+ emu inside the nspires? I bet we could (without providing warez ofc) take the 84+ img and code off of an OS upgrade, and have an ndless prog load theirs! It's not much, but it is a start. At least theirs exists at the moment. That method would also allow for loading diff. OS versions as well as diff models of calc.
Title: Re: ndless ideas
Post by: alberthrocks on December 09, 2011, 12:07:17 pm
I would think that nSDL covers nDraw's more advanced drawing, and ndless already gave buffer access.
Yup - nDraw is very low-level stuff, so only the "simple stuff" will be handled. A driver (or port) for [n]SDL will be using the nDraw interface, since I'd like to be able to mix GUIs and amazing GFX (aka SDL). (This corresponds to the window/layer mgmt system in nDraw.) nDraw is simply the foundation for Tk and SDL drawing. :)

I should clarify that by nDraw's "screen buffer access" I mean easier to use APIs to manipulate the screen buffer. You can access the screen buffer directly as offered by the ndless API - I will also have a function to return the buffer's location as well.

Also, I was thinking: How hard would it really be to interface to the 84+ emu inside the nspires? I bet we could (without providing warez ofc) take the 84+ img and code off of an OS upgrade, and have an ndless prog load theirs! It's not much, but it is a start. At least theirs exists at the moment. That method would also allow for loading diff. OS versions as well as diff models of calc.
Ehh... I think I'll pass and take a not-so-buggy TI-8x ndless based emulator instead. ;) Besides, the old emulator would not work with the new CX anyway...
Title: Re: ndless ideas
Post by: njaddison on December 09, 2011, 10:21:51 pm
Hey guys. I was thinking about something as I was riding home in the car. 3d gaming on the nspire is limited to raycasting, but if someone were to make a 3d sprite, and rotate it while snapping pictures, you could program it into a 360 degree viewer, at least. Now, how you would program it into a game, I don't know, it would probably be impossible.
Title: Re: ndless ideas
Post by: willrandship on December 10, 2011, 05:18:06 pm
Who says it's limited to raycasting? We could do real 3D modeling, it would just be slow.
Title: Re: ndless ideas
Post by: Jim Bauwens on December 11, 2011, 05:16:56 am
Levak has a 3D modeler (make3D) in Lua, and is has quite some features (and its that slow) ;)
Title: Re: ndless ideas
Post by: willrandship on December 12, 2011, 09:07:04 pm
Wasn't it in nspire Basic before? I'm sure it was an improvement.

Also, njaddison that's basically how a raycaster works: Rotate a wall sprite to the appropriate angle and render it.
Title: Re: ndless ideas
Post by: Yeong on December 12, 2011, 09:11:02 pm
How about GBA emulator so I can play me some harvest moon? :D
Title: Re: ndless ideas
Post by: annoyingcalc on December 12, 2011, 09:11:28 pm
nah doom and fire emblem and f-zero
Title: Re: ndless ideas
Post by: Yeong on December 12, 2011, 09:13:01 pm
well, then. SNES emulator.
Title: Re: ndless ideas
Post by: annoyingcalc on December 12, 2011, 10:41:09 pm
'bout an xbox 360 emulator?
Title: Re: ndless ideas
Post by: Builderboy on December 12, 2011, 10:43:52 pm
'bout an xbox 360 emulator?

Probably serious ideas would be preferred ;)

(unless you really are serious? O.O the 360 is such a recent console that it would be near impossible, if not completely impossible to emulate it within any reasonable speed)
Title: Re: ndless ideas
Post by: epic7 on December 12, 2011, 10:57:29 pm
Would 360 even be possible? O.O

But I'd be happy with NES :)
Or SNES

Or N64 >:D
Title: Re: ndless ideas
Post by: annoyingcalc on December 12, 2011, 11:00:52 pm
'bout an xbox 360 emulator?

Probably serious ideas would be preferred ;)

(unless you really are serious? O.O the 360 is such a recent console that it would be near impossible, if not completely impossible to emulate it within any reasonable speed)
I was joking and n64 would be beyond awesome so would snes!
Title: Re: ndless ideas
Post by: Darl181 on December 12, 2011, 11:03:33 pm
How about one of the Ataris, those seem pretty simple at a glance.
(tho the 2600 is supposedly hard to emulate b/c of hardware glitches etc...)

EDIT: wasn't an NES emu already done, albeit for an older version of ndless?
EDIT2: http://www.ticalc.org/archives/files/fileinfo/432/43217.html
Title: Re: ndless ideas
Post by: willrandship on December 12, 2011, 11:49:05 pm
SNES has a decent chance, but no way for the n64: it's not only too powerful, it's 64 bit, which means multi-cycle routines for virtually every opcode, and far more complicated memory management. C64 is old enough to manage that fact probably.

And also, NESpire was for ndless 2.0, which is as new as it gets right now :P
Title: Re: ndless ideas
Post by: calc84maniac on December 12, 2011, 11:53:16 pm
And also, NESpire was for ndless 2.0, which is as new as it gets right now :P
*cough* http://ourl.ca/14339 (http://ourl.ca/14339)
Title: Re: ndless ideas
Post by: ralphdspam on December 13, 2011, 01:21:37 am
C64 is old enough to manage that fact probably.
How about one of the Ataris, those seem pretty simple at a glance.
(tho the 2600 is supposedly hard to emulate b/c of hardware glitches etc...)

The NES, the C64, and the 2600 use similar processors, so it wouldn't be all too processor-intensive to emulate those.  As far as the Atari 2600 TIA chip, most games should work fine without the undocumented functions.  There are just a few graphically advanced games and homebrew rickrollers that use those functions.
Title: Re: ndless ideas
Post by: willrandship on December 13, 2011, 05:39:13 pm
Yeah, yeah, calc84, don't rub it in. (GIVES ME THAR NDLESS!!!) I won't count it until it's released.

Also, same goes for the SNES FX/SuperFX chips, basically. No starfox or Doom :P
Title: Re: ndless ideas
Post by: DJ Omnimaga on December 25, 2011, 11:30:49 pm
TI-84 Plus emulator for the TI-Nspire CX.

Calc84maniac was making one for Ndless 1.0, but lost the entire source code.
Title: Re: ndless ideas
Post by: njaddison on January 14, 2012, 01:38:02 pm
Guys, what i would like to call n64spire is possible. Recently, I have become obsessed with the legend of zelda twilight princess for wii. Then, I started playing ocarina of time using the project64k emulator. It was scripted in c, I think, and even if it weren't scripted in c, we could make one in c just like it. Here is a link for it: http://www.emulator-zone.com/doc.php/n64/project64.html (http://www.emulator-zone.com/doc.php/n64/project64.html) by the way, it is improper grammar to say "if it wasn't", "if it was", "I wish I was", "I wish it wasn't". I learned this by watching fiddler on the roof.
Title: Re: ndless ideas
Post by: willrandship on January 14, 2012, 02:43:09 pm
not possible. being in C isn't everything.

1. Power. The nspire doesn't have any 3D hardware. It runs at 150 mhz on a single core Arm9 processor. The N64 emus require quite a bit of brawn on both counts. The N64 is a 64 bit system, meaning emulation becomes significantly harder. N64 has several specialized chips that ALL need to be emulated simultaneously, at high speeds. Keep in mind that the DS cannot do n64 emulation either, and it has more power in all of these areas besides clock speed. Even then, it has 2 CPUs which act concurrently.

2. Libraries: The many libraries project 64 uses (Mupen64 does too) do not exist for the nspire.

Mupen64Plus is the only n64 emulator that even has an arm port. Project 64 doesn't have anything but a windows version. This isn't a reason it's impossible, so it's not numbered.

Oh, and ancient movies aren't the ideal location to learn grammar.
Title: Re: ndless ideas
Post by: Spyro543 on January 14, 2012, 02:50:43 pm
Personally, I would absolutely love to see a C64 emulator for the Nspire (but just make it compatible with the grayscale calcs :P)
Title: Re: ndless ideas
Post by: willrandship on January 14, 2012, 02:53:56 pm
Making it greyscale is easy enough.

Also, there's frodo already :D PalmOS version: link (http://frodopalm.sourceforge.net/)
Title: Re: ndless ideas
Post by: ExtendeD on January 14, 2012, 06:08:20 pm
2. Libraries: The many libraries project 64 uses (Mupen64 does too) do not exist for the nspire.

I want this not to be a problem anymore in the medium term. Don't hesitate to ask for any function dependencies missing in Ndless when building programs or libraries.
Title: Re: ndless ideas
Post by: DJ Omnimaga on January 14, 2012, 06:30:34 pm
Guys, what i would like to call n64spire is possible. Recently, I have become obsessed with the legend of zelda twilight princess for wii. Then, I started playing ocarina of time using the project64k emulator. It was scripted in c, I think, and even if it weren't scripted in c, we could make one in c just like it. Here is a link for it: http://www.emulator-zone.com/doc.php/n64/project64.html (http://www.emulator-zone.com/doc.php/n64/project64.html) by the way, it is improper grammar to say "if it wasn't", "if it was", "I wish I was", "I wish it wasn't". I learned this by watching fiddler on the roof.
I think to emulate something at its full speed, you need a processor at least 10 times more powerful than the original device or console, and even then, the N64 and cartridges got special chips in them to emulate as well, since the Nspire lacks them. Remember how on 233 MHz computers you could emulate most SNES games fine, but when you tried to run Star Fox, Pilotwings or Doom, it lagged like mad due to the extra chip (Super FX) to emulate.

Before insisting something is possible when a lot of people who have been on this forum for a long while (and won ticalc.org POTY awards) are proving you wrong, maybe you should try porting a N64 emulator to the Nspire CX yourself if you are so convinced it's feasible. There is a reason why your post got rated down (twice). Personally to run at a playable speed, a Nintendo 64 would need to be completely recoded from scratch or ported to Ndless instead of being interpreted by an emulator. Also if your grammar comment was directed at someone on the forums, then it is against the forum rules, because most people here don't speak english as their native language, meaning grammar nazism is not welcome.
Making it greyscale is easy enough.

Also, there's frodo already :D PalmOS version: link (http://frodopalm.sourceforge.net/)
The problem I think is that on the C64, there's no outline for sprites and tiles. Kinda like in early NES games. So it might be very hard to distinguish some stuff in games on grayscale calcs. Basically a C64 emulator would need hotkeys to enable/disable certain colors, like red, green or blue.
Title: Re: ndless ideas
Post by: TIfanx1999 on January 14, 2012, 09:18:28 pm
Guys, what i would like to call n64spire is possible. Recently, I have become obsessed with the legend of zelda twilight princess for wii. Then, I started playing ocarina of time using the project64k emulator. It was scripted in c, I think, and even if it weren't scripted in c, we could make one in c just like it. Here is a link for it: http://www.emulator-zone.com/doc.php/n64/project64.html (http://www.emulator-zone.com/doc.php/n64/project64.html) by the way, it is improper grammar to say "if it wasn't", "if it was", "I wish I was", "I wish it wasn't". I learned this by watching fiddler on the roof.

not possible. being in C isn't everything.

1. Power. The nspire doesn't have any 3D hardware. It runs at 150 mhz on a single core Arm9 processor. The N64 emus require quite a bit of brawn on both counts. The N64 is a 64 bit system, meaning emulation becomes significantly harder. N64 has several specialized chips that ALL need to be emulated simultaneously, at high speeds. Keep in mind that the DS cannot do n64 emulation either, and it has more power in all of these areas besides clock speed. Even then, it has 2 CPUs which act concurrently.

2. Libraries: The many libraries project 64 uses (Mupen64 does too) do not exist for the nspire.

Mupen64Plus is the only n64 emulator that even has an arm port. Project 64 doesn't have anything but a windows version. This isn't a reason it's impossible, so it's not numbered.

Oh, and ancient movies aren't the ideal location to learn grammar.

I can appreciate your enthusiasm for such a project, but Will is right. Emulating a system requires a lot of overhead in most cases, and the Nspire's processor isn't very fast even compared to the processor the Nintendo 64 uses. Not to mention all the other hardware you'd have to replicate (graphics card, work ram sound?, 3d etc...). Also, even if Project 64 is written in C that doesn't mean much, as Nspire C for an ARM processor will differ from C for an x86 based system.
Title: Re: ndless ideas
Post by: willrandship on January 14, 2012, 09:31:00 pm
Extended: I don't think we'll ever see a need for OpenGL, which any Open Source n64 emulator will need :P but that's a really generous offer! SDL support would rock.

And DJ, I can definitely see the color issue there. Perhaps there could be some kind of pallete limiter, seeing as there's 16 colors it could cut that to 8 (merged together) and that should help with contrast. you would lose some color features. maybe it should be an option in the emulator.
Title: Re: ndless ideas
Post by: DJ Omnimaga on January 15, 2012, 04:39:58 pm
If I remember, NESpire allowed to change the way colors are displayed, right?
Title: Re: ndless ideas
Post by: Spyro543 on January 23, 2012, 07:10:55 pm
I think an Acorn System 1 emulator would be really cool! Let me tell you what an Acorn System 1 is, especially for:
Quote from: DJ_O
<DJ_O> Spyro543 what is an accorn system 1? Does it makes you lose the game with GoldenAccorn84 casino ads via a spambot?
It's an old system that you programmed directly in hex. Also its only display is hex. It can store and recall data from a standard audio cassette. Here's a pic.
(http://www.museo8bits.com/acorn_system1_keyboard.jpg)
For more info, visit http://en.wikipedia.org/wiki/Acorn_System_1 (http://en.wikipedia.org/wiki/Acorn_System_1).

An emulator of this on Nspire would be awesome!
Title: Re: ndless ideas
Post by: imo_inx on January 23, 2012, 07:13:49 pm
A day dosen't pass where Spyro dosen't talk about Acorn...
Title: Re: ndless ideas
Post by: Nathan Jahreis on January 23, 2012, 07:57:05 pm
I think it would be cool to use a infrared LED and make a sort-of universal TV remote :)  -Or/And-  Something so you can have multiplayer with another nspire via the calc-to-calc cable.  I'm clueless with programming so I dont know if these are possible ??? ;D
Title: Re: ndless ideas
Post by: njaddison on January 23, 2012, 08:47:49 pm
With the nspire navigator system this could be pondered on.. but I think it might cause the nspire to reboot, and that is even if me (fat chance) or someone could even find out how to program a multiplayer gaming shell/program.  If not wireless multiplayer gaming, we could always use a usb cord to connect two nspires together. They could both constanly send data to each other and cause the screen to refresh and if it could do it fast enough, we would have multiplayer. But, I don't know much about the nspire so please cut me some slack. I just joined omnimaga a few months ago after finishing lua tutorials. :)
Title: Re: ndless ideas
Post by: Reo on January 24, 2012, 01:33:10 am
It'd be nice if gbc4nspire supported link-cables via the calc-to-calc cable, though it'd be hard to program.
Title: Re: ndless ideas
Post by: Nick on January 24, 2012, 01:54:52 am
maybe TI is gonna support ithis itself for lua, it's possible.. but if not, it woul dbe nice to see :)
Title: Re: ndless ideas
Post by: Loulou 54 on January 24, 2012, 05:29:40 am
An interactive ZIP program would be cool ! :) Would it be possible ?
Title: Re: ndless ideas
Post by: ExtendeD on January 24, 2012, 01:35:17 pm
What would you like to compress? The documents are already compressed by the OS.
Title: Re: ndless ideas
Post by: Nathan Jahreis on January 25, 2012, 06:22:03 pm
Hmmm, Maybe not.
(http://www.bachcompany.com/images/products/ti%20keyboard.jpg)
Title: Re: ndless ideas
Post by: njaddison on January 25, 2012, 09:38:53 pm
Hmm, speaking of calc compression, I was so excited about ndless 3.1 that I forgot to TNOC os 3.1.0.392. I just did it, and my laptop battery died. So now I am using my dad's computer plugged into external power.
About compression, yeah, how would one do that? I've been taking c tutorials, but so far I have gotten to and, not, or, if, and then statements, which are represented by &&, !, i forgot what or is,
Title: Re: ndless ideas
Post by: jwalker on January 25, 2012, 11:59:12 pm
hey!!! another IH guy :)
Title: Re: ndless ideas
Post by: njaddison on January 27, 2012, 07:47:44 pm
How about a on-calc screenshot tool?
And guys, I need oslauncher updated before I go to bed tonight or I will not be able to use CAS on the SAT test tommorow (CAS is allowed).
Title: Re: ndless ideas
Post by: Spyro543 on January 27, 2012, 08:40:31 pm
So I guess no one could make an Acorn System 1 emulator? Or would no one use it (except for me) and it would be a waste...
Title: Re: ndless ideas
Post by: DJ Omnimaga on January 27, 2012, 10:02:05 pm
GIven that I never heard about the Acorn before, I'M betting a bunch of other people didn't either, so I'm afraid it would not be very popular. :(
Title: Re: ndless ideas
Post by: willrandship on January 28, 2012, 01:57:13 pm
By the way, the IR led remote thing would be quite simple to get working (at least as simple as the 83+ one) but it would require more invasive external hardware (on the level of soldering to the dock connector, like sound for Lua). Two way would also require an IR receiver thingy (:P don't remember its name atm, not expensive) so you can recieve IR signals. This would also be helpful in figuring out remote codes.

Also, the GBC link port (not the IR one) was quite complicated. It supported up to four game boys at the same time. it would be quite difficult, I'd imagine, for very little reward.

@Spyro I doubt it would be difficult at all, for someone experienced in making emulators (read: not me) but I doubt many would be interested.
Title: Re: ndless ideas
Post by: Nick on January 28, 2012, 02:01:34 pm
an ir remote would be great, i didn't even know there was a 83+ version, where can i find that one?
and for the receiving one, would it be to learn signals, or to communicate with other calcs?

the gbc link port isn't really needed i think, it's not very useful to make it as it will be a lot of work to program, and then you should be making hardware stuff too, and not everyone is skilled in that xs (i'm learning though :) )
Title: Re: ndless ideas
Post by: jwalker on January 28, 2012, 02:13:07 pm
njaddison tell me how hard the SAT was, i might be taking it
also i think that an ir remote would be cool
and i was wondering, when jimbawens made the music playing stuff with lua it used a print() function that sent data, as far as i know to the TX pin, how would i do that with ndless??
Title: Re: ndless ideas
Post by: ExtendeD on January 28, 2012, 02:23:34 pm
Have a look at http://hackspire.unsads.com/wiki/index.php/Memory-mapped_I/O_ports#90020000_-_Serial_UART
Title: Re: ndless ideas
Post by: willrandship on January 28, 2012, 03:06:40 pm
Most of the IR remote stuff was done by benryves. Here's a link to one.

http://www.ticalc.org/archives/files/fileinfo/413/41320.html
Title: Re: ndless ideas
Post by: Nathan Jahreis on January 29, 2012, 11:02:59 pm
I found this video, it got my hopes up but found out the win98 was fake :(



Go to 6:50 for the "supposed" windows 98 emulation, gets ya thinking though.
Title: Re: ndless ideas
Post by: Alex on January 30, 2012, 11:46:23 am
i think it's a fake  :o :o
Title: Re: ndless ideas
Post by: Lionel Debroux on January 30, 2012, 12:02:03 pm
Of course it's fake :)
Title: Re: ndless ideas
Post by: willrandship on January 30, 2012, 09:51:05 pm
I call nplayer.

x86 emulation seems kind of pointless to me (not to mention hard) outside of z80 emulation (z80 is very similar to the 8080, predecessor of the z80)
Title: Re: ndless ideas
Post by: Jim Bauwens on January 31, 2012, 02:18:13 am
It's a NES rom ;)
Title: Re: ndless ideas
Post by: willrandship on February 06, 2012, 11:35:46 pm
Sure is. Good catch on the youtube description.