Author Topic: Official TI-Boy CSE Alpha Thread  (Read 144600 times)

0 Members and 2 Guests are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Official TI-Boy CSE Alpha Thread
« Reply #15 on: February 15, 2014, 05:52:03 pm »
Oh, weird. I wonder why this could happen? ???

Offline merthsoft

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 241
  • Rating: +63/-1
    • View Profile
Re: Official TI-Boy CSE Alpha Thread
« Reply #16 on: February 15, 2014, 06:51:10 pm »
Yeah, I wasn't able to save in Pokemon Blue. In Zelda it did save, though.
Shaun

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Official TI-Boy CSE Alpha Thread
« Reply #17 on: February 16, 2014, 02:02:23 am »
Hmm, I just started up the Pokemon Red app on my calculator and I got the same issue. Well, I guess I only lightly tested Pokemon, after all. :P I'll have to see if I can track down this problem.

Edit: Heh, I had to think outside the box to figure this one out. I was certain I got my saving code right, and I checked it and rechecked it... but it turns out the problem is actually in the code for loading from archived appvars (which doesn't affect 8KB save files because the appvar gets unarchived first), which was writing the save data to the wrong RAM pages. I'll try to push out a new version soon.

Edit 2: In response to Runer's earlier question, I mainly limited the app names because I didn't want people doing things like making two apps called PokemonR and PokemonB, which would happen to use the same save file names.

Edit 3: Here's a release of Alpha 0.0.02. This should fix the loading issue, and also, makeapp no longer gives warnings for app pages beginning with FFh.
« Last Edit: February 16, 2014, 02:49:27 am by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Official TI-Boy CSE Alpha Thread
« Reply #18 on: February 16, 2014, 05:11:36 am »
Holy crap that is epic O.O

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Official TI-Boy CSE Alpha Thread
« Reply #19 on: February 16, 2014, 06:49:57 am »
Edit 2: In response to Runer's earlier question, I mainly limited the app names because I didn't want people doing things like making two apps called PokemonR and PokemonB, which would happen to use the same save file names.

If the user specifies an 8-character name for a ROM that has a 32KB cartridge, just echo out a (appropriately flashy) warning mentioning this. I think the ability to have 8-character names if you're made aware of the issue greatly outweighs the likelihood of someone ignoring the warning message, making two apps with 32KB cartridges that differ only by the last letter, and sending them both to their calculator and trying to run them. And if they ignore the warning message and screw up their save, that's their own fault.

Also, if you do take up my suggestion to save emulator settings in an appvar and think this still could be an issue, you could block out the possibility of this occurring entirely by saving the application name with the emulator metadata. Then you can check that the appvars being loaded by TI-Boy correspond to the app of the correct name.
« Last Edit: February 16, 2014, 03:25:09 pm by Runer112 »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Official TI-Boy CSE Alpha Thread
« Reply #20 on: February 16, 2014, 01:13:09 pm »
Edit 2: In response to Runer's earlier question, I mainly limited the app names because I didn't want people doing things like making two apps called PokemonR and PokemonB, which would happen to use the same save file names.

If the user specifies an 8-character name for a ROM that has a 32KB cartridge, just echo out a (appropriately flashy) warning mentioning this. I think the ability to have 8-character names if you're made aware of the issue greatly outweighs the likelihood of someone ignoring the warning message, making two apps with 32KB cartridges that differ only by the last letter, and sending them both to their calculator and trying to run them.

Also, if you do take up my suggestion to save emulator settings in an appvar and think this still could be an issue, you could block out the possibility of this occurring entirely by saving the application name with the emulator metadata. Then you can check that the appvars being loaded by TI-Boy correspond to the app of the correct name.
Hmm, this also reminds me that I need to include a tool (or tools) to convert appvars to .sav files and vice versa.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Official TI-Boy CSE Alpha Thread
« Reply #21 on: February 16, 2014, 01:14:47 pm »
That, would be fantastic! :D

Offline rw24

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +0/-0
    • View Profile
Re: Official TI-Boy CSE Alpha Thread
« Reply #22 on: February 16, 2014, 01:22:14 pm »
Actually, I was going to name them PokemonB and PokemonR.
Hmm, I just started up the Pokemon Red app on my calculator and I got the same issue. Well, I guess I only lightly tested Pokemon, after all. :P I'll have to see if I can track down this problem.

Edit: Heh, I had to think outside the box to figure this one out. I was certain I got my saving code right, and I checked it and rechecked it... but it turns out the problem is actually in the code for loading from archived appvars (which doesn't affect 8KB save files because the appvar gets unarchived first), which was writing the save data to the wrong RAM pages. I'll try to push out a new version soon.

Edit 2: In response to Runer's earlier question, I mainly limited the app names because I didn't want people doing things like making two apps called PokemonR and PokemonB, which would happen to use the same save file names.

Edit 3: Here's a release of Alpha 0.0.02. This should fix the loading issue, and also, makeapp no longer gives warnings for app pages beginning with FFh.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Official TI-Boy CSE Alpha Thread
« Reply #23 on: February 16, 2014, 05:58:50 pm »
Please don't post links to applications containing copyrighted content.

I did download it though, and confirmed it won't send via TI-Connect. It also crashed TILP. Interesting.

Edit: I wonder if perhaps TILP doesn't support apps above 2MB. Maybe Rabbitsign doesn't, either.
« Last Edit: February 16, 2014, 06:02:23 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Official TI-Boy CSE Alpha Thread
« Reply #24 on: February 16, 2014, 06:02:39 pm »
I had trouble sending Pokemon Silver, as well. But I pulled out the good old silverlink and sure enough it worked, although it took about half an hour.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Official TI-Boy CSE Alpha Thread
« Reply #25 on: February 16, 2014, 06:48:09 pm »
By the way, the error I'm getting with TI-Connect is "The I/O operation has aborted because of either a thread exit or an application request. (800703E3)"

Also, I heard the USB reconnection sound, which was kind of odd. I'll give it a try with silverlink.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline rw24

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +0/-0
    • View Profile
Re: Official TI-Boy CSE Alpha Thread
« Reply #26 on: February 17, 2014, 11:57:26 am »
That's weird, because someone in the It's Coming topic said it worked...

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Official TI-Boy CSE Alpha Thread
« Reply #27 on: February 17, 2014, 12:15:13 pm »
That's weird, because someone in the It's Coming topic said it worked...
If you're talking about Runer112, he was only able to send it with the SilverLink cable, and I was able to as well. Direct USB doesn't seem to work for anyone as far as I tell (seems like it might be some TI-OS bug).
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Official TI-Boy CSE Alpha Thread
« Reply #28 on: February 17, 2014, 12:40:56 pm »
I never could send anything to my CSE via.USB, so it must be TI-Connect being shit again (I mean, not that it's surprising).

Offline merthsoft

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 241
  • Rating: +63/-1
    • View Profile
Re: Official TI-Boy CSE Alpha Thread
« Reply #29 on: February 17, 2014, 01:30:17 pm »
I used direct USB with no problems. I sent Zelda and Pokemon.
Shaun