Author Topic: TI-Nspire GB Emulator  (Read 138036 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 #405 on: December 10, 2011, 10:57:59 pm »
Oh, and for those who didn't see earlier on IRC, I finally fixed the glitch that caused Link's Awakening DX to crash. It turns out that it was disabling the LCD during scanline rendering, which I thought was utter taboo, but apparently that applies only to the original gameboy. It's perfectly legal on the Game Boy Color. So, when the LCD was enabled again, it would draw the entire gameboy screen starting at the line where the LCD was disabled, overflowing the buffer. So, now I make sure to reset the line pointer to the top of the buffer when the LCD is disabled.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: TI-Nspire GB Emulator
« Reply #406 on: December 10, 2011, 11:04:02 pm »
Great!
This used to contain a signature.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TI-Nspire GB Emulator
« Reply #407 on: December 11, 2011, 02:54:40 am »
Good ;)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline njaddison

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 176
  • Rating: +24/-27
    • View Profile
Re: TI-Nspire GB Emulator
« Reply #408 on: December 12, 2011, 03:57:12 pm »
Guys, has ndless 3.0 been released yet, or is this a dumb question that will get me laughed at?
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/5f42ec78e054645d.png" alt="NerdTests.com says I'm a Highly Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!">
</a>


Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: TI-Nspire GB Emulator
« Reply #409 on: December 12, 2011, 03:58:56 pm »
Ndless 3 hasn't been released yet, and nobody, not even the programmers and testers, knows when it will be released :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: TI-Nspire GB Emulator
« Reply #410 on: December 12, 2011, 07:35:36 pm »
actually, I kinda want memory viewer/editor in gbc4nspire for "some" reason. :P
Sig wipe!

Offline Pedreda

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +1/-1
    • View Profile
Re: TI-Nspire GB Emulator
« Reply #411 on: December 15, 2011, 07:00:59 pm »
what's new calcul84?

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: TI-Nspire GB Emulator
« Reply #412 on: December 19, 2011, 05:18:50 pm »
Color? How... O.O (Yeah, this is late.)




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 #413 on: December 25, 2011, 11:45:58 pm »
I really can't wait to try this on my calc lol, especially Zelda Oracle of Ages. I'm glad you could edit the file despite having lost the source code. Is there any blur by the way? I noticed in CubeField there is (although it isn't as bad as on the old grayscale Nspire models).
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 #414 on: December 25, 2011, 11:54:26 pm »
The LCD response time is very good. There is a small amount of ghosting when tilemaps are scrolling quickly, but it's not too noticeable unless you're looking for it. I didn't notice it until I checked after your post :P
"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 #415 on: December 26, 2011, 12:00:04 am »
Lol ok. I personally only noticed it in Chockosta's Cubefield, for some reasons.
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 #416 on: December 29, 2011, 12:58:46 pm »
Well, I seem to have solved the framerate issue in the best way possible. I increased the framerate of the TI-Nspire CX LCD to approximately the same speed as the GBC framerate :D

How I went about this was by changing the horizontal update timings. Displaying a scanline consists of back porch, active data, and front porch. TI set the back porch to 38 cycles, and I didn't mess with that because I assume the LCD controller needs time to read in pixels before entering active data. On the other hand, TI set the front porch to 50 cycles, and that period is just waiting around. So I set the front porch to 27 cycles and then the screen updates at about the same rate as the GBC :)
"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: TI-Nspire GB Emulator
« Reply #417 on: December 29, 2011, 01:02:54 pm »
Nice job! There really isn't a better solution than running at exactly the right speed, now is there? :P

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 #418 on: December 30, 2011, 06:34:54 pm »
Good job calc84maniac. :)

By the way will old Nspire models support be maintained? (such as the lower framerate requirement due to blurry screen?)
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 #419 on: December 30, 2011, 11:46:47 pm »
Good job calc84maniac. :)

By the way will old Nspire models support be maintained? (such as the lower framerate requirement due to blurry screen?)
Yes, any emulation fixes I applied to the CX version, I also applied to the clickpad and touchpad versions. The monochrome versions also now use the smoother scaling, as well.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman