Author Topic: xLIB 84C Edition  (Read 44677 times)

0 Members and 1 Guest are viewing this topic.

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: xLIB 84C Edition
« Reply #195 on: October 01, 2013, 10:21:53 pm »
Ok thanks it worked now :D

Actually, though, it was an empty char, not a ? ???

Also the result makes me wish this calc supported homescreen backgrounds O.O (although I bet that would be kinda slow)
« Last Edit: October 01, 2013, 10:22:31 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

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: xLIB 84C Edition
« Reply #196 on: October 07, 2013, 01:24:16 pm »
New bugs report:

-SETGRAMOFFSET  does nothing at all. (syntax used= real(8,1,10). I also tried with both TI-OS and xLIB Rand functions)
-Text doesn't switch GRAM/update LCD
-Text also doesn't support variables nor things like randint or xLIB rand as arguments. Only constants can be used.
-When updating the LCD it seems that it isn't aligned properly.
-Rectangles takes 2 seconds to appear O.O
« Last Edit: October 07, 2013, 01:32:54 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #197 on: October 09, 2013, 09:27:06 pm »
Ill investigate and revert back, there is a new version that fixes the SETGRAMOFFSET problem.

Do you have inputs for the others, particularly the rectangle example?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: xLIB 84C Edition
« Reply #198 on: October 09, 2013, 09:36:15 pm »
This is my program as of the other day (which now uses real(0, 6, 7 and 10):

Code: [Select]
real(0,1,0)
real(7,9,0,0,160,120,0,0) //The part that takes 2 seconds
"HELLO/WORLD
For(Z,0,25
real(6,0,Z,25,3,"/",1) //If I used variables for the text location or color, no text appeared. Also even if changing the last 1 to 0 text only remains on one GRAM side. Also newline char doesn't work.
real(10) //WARNING: SEIZURE!
End
real(0,1,1)
« Last Edit: October 09, 2013, 10:11:01 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

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: xLIB 84C Edition
« Reply #199 on: October 10, 2013, 04:51:18 pm »
tr1p1ea could you re-send me the update you sent me last night? Because I use Windows 7 and TI-Connect version 4.0, and I can't get it to recognize the copy of xLIB that you sent me as a 84+CSE application. Could you just re-compile it in the same format as the previous build? (xlibc.8ck, kinda like AssemblyBandit's and Kerm's apps)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #200 on: October 10, 2013, 05:01:12 pm »
Thats very strange since the assembling has never changed, and the file sends+installs to my calc?

it is in the same format.

I will see what i can do.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: xLIB 84C Edition
« Reply #201 on: October 10, 2013, 05:06:58 pm »
Well the previous version was called xlibc.8ck, while the other one is called "xLIB - TI-83 Plus (Application).8xk". Now there are even two copies of "xLIB - TI-83 Plus (Application).8xk" in the compressed archive.

You could maybe ask AssemblyBandit what compiler does he use for his apps, to ensure that you have the best compatibility options. It's also possible that you got a different calc hardware (mine has no letter at the end of the serial number, meaning it's an original model). Else I'll probably have to end beta-testing xLIBC until the DCS merge or until Kerm recompiles it for me. D: (I don't want to get a new calc)

Basically TI-Connect just lists the app as Incompatible Type and the Send button is grayed out. Even changing the extension manually from 8xk to 8ck won't solve the problem.
« Last Edit: October 10, 2013, 05:08:19 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #202 on: October 10, 2013, 05:09:59 pm »
Are you sure it was .8ck, ive never used that extension (there is no official extension). The APP transfers and works fine on my calc.

There are no options for compiling APPs for the 84C - its the same as the 83+ with the signkey field updated.

Its possible that my web host has corrupted something?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: xLIB 84C Edition
« Reply #203 on: October 10, 2013, 05:28:30 pm »
Yeah the previous one was 8ck.

And I definitively think it's your web host, since the previous build came with two corrupted files (ADEMO had a missing char at the end and the map file didn't send). It could be compatibility issues between .7z and Winrar, tho.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

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: xLIB 84C Edition
« Reply #204 on: October 10, 2013, 10:15:56 pm »
Question, how do we detect if the screen is inverted or not? Currently, xLIB just toggles between both mode using the same command, but that can pose some issues if somebody exits the program from the wrong place and the calc ends up in inverted mode, since when the game will be ran again there's no way for xLIB to detect in which mode it is.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #205 on: October 10, 2013, 11:53:00 pm »
I can make the function return what the status of the screen is in? 0 = normal, 1 = inverted?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: xLIB 84C Edition
« Reply #206 on: October 11, 2013, 12:12:55 am »
That could work.

Also bug reports for the new xLIB version you sent me:


-Text still isn't fixed (the same bugs are there, meaning it doesn't properly update GRAM location.)
-15 MHz mode doesn't work. I tried in both 6 and 15 MHz mode and both the demo and my little program still runs at half speed (with full screen rectangles taking 4 seconds to generate instead of 2.)

Also, something I noticed is that in the ADEMO.8xp program that came with the other xLIB version, when you exit the map it doesn't switch to the next map anymore. I wonder if that is due to a syntax change like the 160x120 mode setup?
« Last Edit: October 11, 2013, 12:13:46 am by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #207 on: October 11, 2013, 01:02:53 am »
Yeah sorry i need to update the demo :S!

Also i will test the other functions and see whats up.

Thanks.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: xLIB 84C Edition
« Reply #208 on: October 21, 2013, 01:17:51 am »
By the way, will real(10) and text LCD updates be fixed in the next DCSE release? So far I still have the following issues:

Real(10): Does nothing at all
Real(6 text:
-In most cases, Only displays text on one LCD area without updating the other side in most cases.
-In one case where I got it to work (such as using a constant rather than variable for text location), some chars changed the background pixels color and pixelates down the background to 160x120. This seems to only happen on TI-OS backgrounds, though and the green in the battery indicator isn't affected as much. Is it due to the xLIB palette? I am concerned this might cause some conflicts with Celtic II and pure BASIC commands.
-Also, one extreme annoyance is that real(6 returns 0 to Ans. Basically, if we need to display the same text multiple times, such as an animation or shadow effect, then we have to store it to a string first, then store it to Ans over and over, which slows things down a lot. Would it be possible to make the command not return anything to Ans?


Inverting pixels seems to have the same problem with LCD update. Always remains on the same side.
xLIB ran in 6 MHz mode no matter if real(0,2,0 or real(0,2,1 was used.

Another thing I noticed is that when in 320x240 mode, sprites/tiles displays as garbage.

By the way, how would someone scroll through the screen? Normally it would have been While 1:For(Z,0,319:real(8,1,Z:End:End to loop through it, but since that doesn't automatically update the screen offset and that real(10) doesn't do anything at all, this makes pretty much any smooth scrolling or earthquake effects impossible.
« Last Edit: October 21, 2013, 01:54:28 am by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #209 on: October 21, 2013, 02:33:11 am »
Im hoping that it will be fixed, in the interim are you able to send me the exact programs that you are using that is causing trouble? Or even the code so that i can replicate the problem?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."