Join us on Discord!
You can help CodeWalrus stay online by donating here.

[TI-84+CE] - xLIBCE

Started by tr1p1ea, March 22, 2016, 03:35:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dudeman313

Quote from: DJ Omnimaga on April 03, 2016, 05:06:56 AM
Quote from: Dudeman313 on April 01, 2016, 03:47:56 PM
That's fancy!  :D
Could you do Spiroh's font? I'd want to see that on the CE. :)

Quote from: DJ Omnimaga on April 01, 2016, 04:34:16 AM
I like the new font tr1p1ea. :D The big one is fine, but being able to cram more text in the screen will definitively be nice for RPGs, especially menus. :)
That's true. It was hard for me to cram stuff on screens when I was still working on Mr. Bob's Bad Day.
Do you have a link to SpiroH's font?
No, but I do have 3 similar copies of it, made by people at Omnimaga for zStart: https://www.omnimaga.org/art/zstart-fonts/msg368263/#msg368263
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


tr1p1ea

Unfortunately the small font is 4 pixel's wide while the font's linked at 5 pixels.

Dream of Omnimaga

I think a 4 pixels wide font would be better, since the goal is to allow more text in the screen at once. Else the space gain isn't as great. Also, another thing that is cool about small fonts is that it might make it easier to port certain monochrome games without having to alter the layout too much.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Dudeman313

Oh. I didn't know about that.
I agree that 4 pixels wide is more ideal, though.
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


Dream of Omnimaga

Question @tr1p1ea : If custom palettes get implemented, if the programmer changes the palette in the middle of the game, will the screen content switch to the new color palette automatically?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

tr1p1ea

Custom palettes are implemented but require a bit of testing, as are functions to change individual colour entries as opposed to needing an entire palette each time.

As soon as you change the palette colour any pixels that index that entry are updated automatically.

Dream of Omnimaga

Aah I see. Good luck getting them to work. And I'm glad to see the changes will be automatic. This will be very handy for saving archive space by re-using the same sprites over and over (which could be done with xLIBC but only by rotating the color hue and it didn't work with tilemaps), not to mention other special tricks that could be used with this.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Dream of Omnimaga

Question @tr1p1ea : Will xLIBCE have a feature that detects on which calculator the game is ran? That might be a problem if DCSE8 is not updated, though, unless doing a wrong xLIBC command such as real(8,5 caused xLIBC to ignore it, in which case it would be fine. Basically real(8,5 could return 1, so what the programmer could do is the following:

2
real(8,5

So on the CSE, real(8,5) would do nothing, thus Ans remaining 2, while on the CE it would return 1. That might be handy if someone's game runs too fast on the CE and wants to make it slower without releasing two separate versions for each calc.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

tr1p1ea

The GetVersion command will return the version of xLIB is running, which will be able to tell you what calc you are on.

DCSE8.0 shows xLIBC version 1
DCSE8.1 shows xLIBC version 2
DCSE9.0 shows xLIBC version 16

Dream of Omnimaga

Ah right, I forgot about that command. That can help a lot, I guess :). Thanks for letting me know.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal