* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Pong for KnightOS - An example C project  (Read 6728 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivoah

  • Super User
  • Join Date: Dec 2014
  • Location:
  • Posts: 523
  • Post Rating Ratio: +6/-0
    • @NoahRosamilia
    • Ivoah
    • @UCmgDyh_AeaHALohvR7PKXIw
    • /u/Ivoah
    • Ivoah
    • 114/11421
    • Codinghobbit
  • Gender: Male
  • WalriiPoints: 100
Re: Pong for KnightOS - An example C project
« Reply #30 on: April 27, 2015, 04:27:23 am »
Oh OK, I thought it absolutely required the 2048 bit RSA key. That said I am betting that as soon as hacks or third-party OSes using them come out, then TI will patch them >.<

Nope. Apparently TI messed up the ASIC, so the only way to fix them is with a very expensive hardware change.
  • Calculators owned: TI-86 (now broken), TI SR-56, TI-Nspire CX CAS, TI-84+ SE, TI-84+ SE, TI-85, TI-73 Explorer VS, ViewScreen, TI-84+ CSE, TI-83+ SE

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18789
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Pong for KnightOS - An example C project
« Reply #31 on: April 27, 2015, 04:37:59 am »
Ah right, fail on their part then. I'm betting they would be ready to do anything at any cost to lock down their calcs, but since they seem to try less hard on Z80/ez80 calcs, then I bet it will take a few years before it happens (maybe only on their next calc?). I guess we have the path cleared to a certain extent for now.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Lionel Debroux

  • Full User
  • Join Date: Jan 2015
  • Location:
  • Posts: 224
  • Post Rating Ratio: +11/-0
    • debrouxl
    • 58/5891
Re: Pong for KnightOS - An example C project
« Reply #32 on: April 27, 2015, 05:36:12 am »
Quote
The game works great and I was able to fix a few problems with KnightOS's C support while making it.
Small projects, especially for new platforms / environments, usually have that effect. In 2011, advancing an old Lua port to the TI-68k/AMS series, and partially porting "p14p" python-on-a-chip to the same, yielded improvements in GCC4TI.
That's also why in 2010, I suggested the making of a demo (in the demoscene sense) for the Nspire platform.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TIEmu and TILP.
Co-admin of TI-Planet.

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: Pong for KnightOS - An example C project
« Reply #33 on: April 27, 2015, 05:38:46 am »
Quote
The game works great and I was able to fix a few problems with KnightOS's C support while making it.
Small projects, especially for new platforms / environments, usually have that effect. In 2011, advancing an old Lua port to the TI-68k/AMS series, and partially porting "p14p" python-on-a-chip to the same, yielded improvements in GCC4TI.
That's also why in 2010, I suggested the making of a demo (in the demoscene sense) for the Nspire platform.

Yep, that was the goal of this project in the first place. I'll be doing a few more projects with the same goal in mind.

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18789
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Pong for KnightOS - An example C project
« Reply #34 on: April 27, 2015, 05:43:33 am »
Now that Lionel mentions the TI-Nspire, that makes me wish that Jacobly and Calc84maniac's respective attempts at creating TI-84+ emulators for the Nspire came to fruition. I don't remember if there is any other such project in the works, but it could be a way for people to use KnightOS on their Nspire if there are no plan to port KOS directly to that platform. But I guess that's for another topic.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: Pong for KnightOS - An example C project
« Reply #35 on: April 27, 2015, 05:44:32 am »
Now that Lionel mentions the TI-Nspire, that makes me wish that Jacobly and Calc84maniac's respective attempts at creating TI-84+ emulators for the Nspire came to fruition. I don't remember if there is any other such project in the works, but it could be a way for people to use KnightOS on their Nspire if there are no plan to port KOS directly to that platform. But I guess that's for another topic.

matref has ported z80e (the KnightOS project's emulator) to the Nspire, and I would love to see more contributors come in and help develop it.

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18789
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Pong for KnightOS - An example C project
« Reply #36 on: April 27, 2015, 05:47:56 am »
Ah thanks for pointing out. Now that you mention matref, I think I remember hearing some tidbits about such project. I didn't know it went this far, though.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: Pong for KnightOS - An example C project
« Reply #37 on: April 27, 2015, 05:51:15 am »
Ah thanks for pointing out. Now that you mention matref, I think I remember hearing some tidbits about such project. I didn't know it went this far, though.

Unfortunately, no one is really working on z80e right now. It's the default emulator for the SDK, and it powers the live demo on knightos.org, but it can't emulate TIOS and it has poor performance.

Online xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18789
  • Post Rating Ratio: +97/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Pong for KnightOS - An example C project
« Reply #38 on: April 28, 2015, 07:35:25 pm »
Aah ok thanks for clarifying. As for performance I remember issues about lag and stuff. On my 2010 computer, when I had juju's topic open (which had the emulator embedded in) my browser would take 100% of the CPU and my mouse cursor moved at about 2 FPS when it was loading. And when it was done loading, typing posts was like 4 letters per second max. Hopefully if this project gets revived, you guys can find a way to get it run faster on older machines.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline SirCmpwn

  • Full User
  • Join Date: Mar 2015
  • Location:
  • Posts: 81
  • Post Rating Ratio: +1/-0
Re: Pong for KnightOS - An example C project
« Reply #39 on: April 28, 2015, 07:36:42 pm »
Aah ok thanks for clarifying. As for performance I remember issues about lag and stuff. On my 2010 computer, when I had juju's topic open (which had the emulator embedded in) my browser would take 100% of the CPU and my mouse cursor moved at about 2 FPS when it was loading. And when it was done loading, typing posts was like 4 letters per second max. Hopefully if this project gets revived, you guys can find a way to get it run faster on older machines.

It runs at a much more reasonable speed natively. It's just in the browser that performance is abhorrent.

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games