Author Topic: Port of Little John to Nspire?  (Read 13197 times)

0 Members and 1 Guest are viewing this topic.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Port of Little John to Nspire?
« on: August 11, 2010, 05:17:17 pm »
The Little John Emulator for Palm OS (ARM) can emulate the NES, SNES, GBC, Sega Genesis/Megadrive, Sega Master System, Sega Game Gear, Wonderswan/Wonderswan Color (no sound), NeoGeo Pocket and Neogeo pocket Color, and the atari 2600.

Features quoted from the site

http://little-john.net/index.php

    *  Sound (except WS)
    * Multiple screen modes (zoom/smoothing)
    * Adjustable/auto frameskipping
    * SRAM support
    * Multiple Save/Load state
    * Turbo mode
    * Support for zipped roms

Source Code is available!
« Last Edit: August 11, 2010, 05:17:33 pm by willrandship »

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Port of Little John to Nspire?
« Reply #1 on: August 11, 2010, 08:04:12 pm »
Seems tricky. Little John wasn't exactly written for portability, and there's probably a lot of PalmOS specific code in there.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Port of Little John to Nspire?
« Reply #2 on: August 11, 2010, 08:37:19 pm »
Hmm...well, here's a version ported to the GP32. NES emu only, but a NES emu on the nspire would be an awesome start.
http://yoyofr92.free.fr/ljgp32/index.html

BTW, GP32 version ran most games fullspeed, it has an ARM9 133 mhz CPU.
« Last Edit: August 11, 2010, 08:39:41 pm by willrandship »

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Port of Little John to Nspire?
« Reply #3 on: August 11, 2010, 08:44:32 pm »
Sound? Me thinks not, unless you manage to add TI-84+SE support...

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Port of Little John to Nspire?
« Reply #4 on: August 11, 2010, 08:50:08 pm »
Who mentioned sound? That was just on the feature list for Little-john's, so I put it there.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Port of Little John to Nspire?
« Reply #5 on: August 11, 2010, 08:51:31 pm »
Yeah, if we want to port it we are better off porting the individual emulators that make up the package. NES emulation would be nice, though.
Must...get...standard...library...

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Port of Little John to Nspire?
« Reply #6 on: August 11, 2010, 08:55:00 pm »
I want NES emulation! I would love castlevania on my calc

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Port of Little John to Nspire?
« Reply #7 on: August 11, 2010, 09:24:25 pm »
Sound? Me thinks not, unless you manage to add TI-84+SE support...
I thought this was suggested for Nspire? I can't really imagine trying to run NES emulation on a Z80. I just think the graphics would scale down to 96 X 64 horribly. D:

As far as emulation the said systems, I'm not sure if the would all be workable on the Nspire.
NES Likely
SNES Maybe
GBC, Yes
Sega Genesis/Megadrive Maybe (more likely than Snes)
Sega Master System/ Sega Game Gear Likely (I think these two function essentially the same)
Wonderswan/Wonderswan Color (likely)
NeoGeo Pocket and Neogeo pocket Color (i don't know much about these so I can't say)
atari 2600 (likely)

I wonder how much space this emulator takes up as a whole anyway? Portability also depends on how similar the devices are of course. The nintendo DS is an ARM processor and has emulators for many of these systems too, but despite being ARM, the hardwares are very different.

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Port of Little John to Nspire?
« Reply #8 on: August 11, 2010, 09:27:30 pm »
Sound? Me thinks not, unless you manage to add TI-84+SE support...
I thought this was suggested for Nspire? I can't really imagine trying to run NES emulation on a Z80. I just think the graphics would scale down to 96 X 64 horribly. D:


As far as emulation the said systems, I'm not sure if the would all be workable on the Nspire.
NES Likely
SNES Maybe
GBC, Yes
Sega Genesis/Megadrive Maybe (more likely than Snes)
Sega Master System/ Sega Game Gear Likely (I think these two function essentially the same)
Wonderswan/Wonderswan Color (likely)
NeoGeo Pocket and Neogeo pocket Color (i don't know much about these so I can't say)
atari 2600 (likely)

I wonder how much space this emulator takes up as a whole anyway? Portability also depends on how similar the devices are of course. The nintendo DS is an ARM processor and has emulators for many of these systems too, but despite being ARM, the hardwares are very different.



Switching to another keypad while running asm doesnt really change anything, other than different key maps (I might be wring on this)
« Last Edit: August 11, 2010, 09:28:15 pm by qazz42 »

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Port of Little John to Nspire?
« Reply #9 on: August 11, 2010, 09:31:01 pm »
Oh, you mean using the 84+ keypad on the Nspire? I misunderstood your post. :-[ Yes, that would be sweet! You'd just need to switch keycodes around i think.
« Last Edit: August 11, 2010, 09:31:46 pm by Art_of_camelot »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Port of Little John to Nspire?
« Reply #10 on: August 11, 2010, 09:33:27 pm »
We'd also need to figure out how to activate the I/O port in the first place, I think.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Port of Little John to Nspire?
« Reply #11 on: August 11, 2010, 09:36:50 pm »
that's right. the keypads can be swapped with no worries during asm progs, but the OS has interrupts that shut down the calc when the pads are pulled out. The pads themselves 

I'd imagine it'll only be 5 or 6 mb max, being very generous with the file sizes. Heck, the little-john emu is only 1.9 MB for ALL of those systems!

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Port of Little John to Nspire?
« Reply #12 on: August 11, 2010, 09:49:37 pm »
Oh, you mean using the 84+ keypad on the Nspire? I misunderstood your post. :-[ Yes, that would be sweet! You'd just need to switch keycodes around i think.


Haha, no worries! I should have been more specific

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Port of Little John to Nspire?
« Reply #13 on: August 11, 2010, 10:36:41 pm »
NES emulation would definitely be a great start

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Port of Little John to Nspire?
« Reply #14 on: August 11, 2010, 11:17:22 pm »
Well, if it means anything, here's a Snes emu for the GP2x that takes the best of PocketSNES and SquidgeSNES, and makes them into one fast emulator.

we'll still need a standard library though. Curses!
http://reesy.gp32x.de/DrPocketSnes.html