Author Topic: TI-Nspire GB Emulator  (Read 137947 times)

0 Members and 1 Guest are viewing this topic.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: TI-Nspire GB Emulator
« Reply #135 on: February 13, 2010, 03:11:23 am »
Malloc?

nice to see some progress tho ^^
Malloc stands for Memory Allocate. It's used a lot in C.

Also, I have gotten it working. :) The save game is automagically saved to a pre-defined file upon quitting. Also, I added support for save states (also saved to a predefined file, for now). Seems to work, though I may run into something I forgot later
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nspire GB Emulator
« Reply #136 on: February 13, 2010, 03:12:29 am »
AAh ok :D and glad savestates were added ^^
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: TI-Nspire GB Emulator
« Reply #137 on: February 25, 2010, 07:51:37 pm »
Now the save files are the correct size: They can be 0KB (meaning not created), 2KB, 8KB, or 32KB :D rather than 32KB all the time
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nspire GB Emulator
« Reply #138 on: February 25, 2010, 07:53:24 pm »
nice ^^ should leave much more space especially since a lot of it wasn't even used x.x
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: TI-Nspire GB Emulator
« Reply #139 on: February 25, 2010, 08:56:04 pm »
Nice! :D


Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: TI-Nspire GB Emulator
« Reply #140 on: February 26, 2010, 03:22:18 pm »
Now I have added a ROM selection menu. Seems to work just fine :)

I should probably eventually try to support menus taller than the screen, though. Currently only 14 roms can fit onscreen.

Edit:
Also, I fixed a glitch with vertical tile flipping in GBC mode
« Last Edit: February 26, 2010, 03:24:46 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nspire GB Emulator
« Reply #141 on: February 26, 2010, 04:47:15 pm »
Nice, so that means the emu is no more integrated inside ROMs like TI-Boy SE? Now we can have more games at once ^^

Btw shouldn't the emu be called gbc4nspire instead of gb4nspire? People might think your emu only does regular GB, but again there will be some people who think it only does GBC, even thought GBC had backwards compatibility with GB games back then
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: TI-Nspire GB Emulator
« Reply #142 on: February 26, 2010, 05:09:36 pm »
Yeah, that's a good idea.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI-Nspire GB Emulator
« Reply #143 on: February 26, 2010, 05:44:30 pm »
This is so epic ^^ Its nice that now we can have more than one game without having multiple interpreters :)

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: TI-Nspire GB Emulator
« Reply #144 on: February 27, 2010, 01:25:29 pm »
Ndless has been shown to the world.

When are you going to release the GBC/GB emulator?
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nspire GB Emulator
« Reply #145 on: February 27, 2010, 01:53:37 pm »
YES! I also posted a news with some old screenshots. Can't wait for beta of GBC4TI ^^
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: TI-Nspire GB Emulator
« Reply #146 on: February 27, 2010, 11:11:18 pm »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nspire GB Emulator
« Reply #147 on: February 27, 2010, 11:44:55 pm »
YAY! I added it to the archives as forwarded link (in case it receives too many updates to keep up). I included a mirror link too. :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: TI-Nspire GB Emulator
« Reply #148 on: February 28, 2010, 12:07:36 am »
I think I found a bug.
After running gbc4nspire, my calculator will no longer turn on without first pulling a battery.
Also, Super Mario Land won't run.
EDIT: On second thought, the turning on thing might be a power management bug.
« Last Edit: February 28, 2010, 12:10:53 am by bwang »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: TI-Nspire GB Emulator
« Reply #149 on: February 28, 2010, 12:11:38 am »
I think I found a bug.
After running gbc4nspire, my calculator will no longer turn on without first pulling a battery.
Also, Super Mario Land won't run.
EDIT: On second thought, the turning on thing might be a power management bug.
I have this problem too. It occurs only in OS 1.1. 1.2 and up are fine.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman