Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Xeda112358

Pages: 1 ... 6 7 [8] 9 10 ... 317
106
Grammer / Re: Grammer 2-The APP
« on: November 26, 2019, 07:11:12 pm »
I've been working on the built-in fonts!

As some may have noticed, the variable font was very sparsely populated, only containing some important characters. Part of the reason is that the old font format was... convoluted. Each character had its own width and height, which made it difficult to make an editor for it. I decided to go with a more sensible option, one that I had used in the past-- The fontset has a height-byte, and each char has its own width (which is allowed to be 0).

There were two advantages to this: one, it is easier to code the text routine, and two, DrDnar's Monochrome Font Editor already supports this format (Xeda's Format #2) which means I had an easy-to-use editor. So, with all of this, some motivation, and some free time, I completed the font and reworked the text routines:


I haven't have tested the Input routine with this, so I should work on that and it works, so I hope people like this ^~^
Also, if anyone wants to make their own fonts based on these, I have the "mfefont" files here:
Variable-width font (export this to Xeda Format #2)
Fixed 4x6 font (export to Xeda Format #1)

You can find the download in the GitHub project's /bin folder, or attached.

EDIT: Tested the input routine; it works ^~^
EDIT2: Oh my. Sweet. Baby. Carrots. Fonts can be BIG apparently. I tested a 16-pixel wide character and it works fine :0

EDIT3: More updates! I've gone bug hunting and I managed to fix the following:
  • The undocumented For <<constant>> can now be nested! This should be documented; it has been around for years.
  • An ooold bug report I found mentioned that For X,0,65535 would cause an infinite loop, so I fixed it!
  • Rounded square roots, via √(' were pretty broken. I had an old bug report that showed √('255 was returning 0, but that was fixed a few months ago when I totally rewrote the square root routine. But, I did botch the rounding, causing it to round up when it should have rounded down, and vice-versa. This is now fixed :)

I also overhauled the module documentation, and I realized I had to advance the module version since I broke some support with the original :(

107
I don't know of any BASIC interpreters, but you might like Axe Parser (compiled on-calc, very fast, the syntax is rather straightforward despite the constraints).

108
(We prefer you to edit your post as opposed to "double posting.")

It still seems to me like it is the software trying to write too quickly to the LCD, but that is usually fixed by ALCDFIX. Maybe TI started using a different LCD .__.

109
Hmm I'm not finding info on revision AC out of curiosity what are the numbers in that #### and how old is the calc. The #### is a date code and I'm wondering how new it is.

110
Grammer / Re: Grammer 2-The APP
« on: November 25, 2019, 11:52:06 am »
Wooh, lots of bug fixes, a few new features! Latest Release.

111
Grammer / Re: Latest Grammer Updates
« on: November 25, 2019, 11:50:01 am »
Grammer v2.50.7.6
Over the past ~2 months, a bunch of bugs have been found and fixed, thanks especially to @NonstickAtom785 and Hans Burch. I also updated the main menu and worked more on documentation. From the main menu, you can now use [*] to archive/unarchive, and the [Hook] option was replaced with [More], where you can enable/disable the token hook and lowercase.
Some of the bugs fixed are:
  • Lbl got broken in the previous update, it was fixed for this.
  • Vertical was buggy, now fixed.
  • Storing Input to an OS string was broken, now fixed. (it would send too many bytes)
  • Parsing Input with expr( was broken, it works again.
  • Archive / Unarchive were messing with some RAM that Grammer occasionally used, causing a crash. This is now fixed.
  • Fixed a bug with using " to end a string.
  • Fixed a bug with custom fonts!
  • Fixed two bugs with Else not being processed properly.

Some other updates:
  • Variable fonts are now slightly indexed for faster access. Text should display faster with it now.
  • You can exit the main menu with [On], now.
  • You can now select with [2nd] from the main menu.
  • nCr, a routine that might never be used by Grammerians, now only overflows when the final result would actually overflow (before, it could overflow during some intermediate calculations).

Compatibility-breaking updates:
  • Grayscale is now only offered in 50-50 (3-level) and 33-67 (4-level) modes. I was able to make the LCD update routines faster and smaller. From the old version, presumably nobody would want to use the (uglier) modes anyways.

112
Try running ALCDFIX and see if that helps.

113
Doodle Jump / Re: DoodleJump Discussion
« on: November 20, 2019, 01:09:32 pm »
Hmm, that is strange. Try running ALCDFIX and then try playing and let us know if that works or not.

114
TI Z80 / Re: Shuffle - Shuffle a TI List Really Fast
« on: November 19, 2019, 01:04:03 pm »
For the assembly version, you can replace the seed= with just a label, "seed:". Then the (seed) instances need (seed+1).

As for a Grammer version, assuming a 52-card deck, you can initialize once with:
Code: [Select]
π9872→Z
For K,0,51
WriteB(Z+K,K
End
Then every time you want to shuffle, assuming Z still points to the deck:
Code: [Select]
.SHUFFLE
51→K
While K>0
randInt(0,K→A
(Z+K→B
WriteB(Z+K,(Z+A
WriteB(Z+A,B
K-1→K
End
End
It's honestly a beautiful algorithm and works well. It helps that Grammer has a pretty good pseudo-random number generator (statistically fantastic, especially for only providing 16 bits at a time :P )

115
Introduce Yourself! / Re: I'm foroplus. New on this forum.
« on: November 14, 2019, 11:32:28 pm »
Welcome to Omni! Have some !peanuts !
What kind of programming do you do?

116
TI Calculators / Re: Help with ti nspire cx
« on: November 12, 2019, 06:35:36 pm »
Hmm, I'm not sure then. Maybe try posting in that thread?

117
TI Calculators / Re: Help with ti nspire cx
« on: November 12, 2019, 11:06:48 am »
What instructions?
Which OS version did it have? (How old is the calculator?)

Hopefully you aren't fricked :|

118
Grammer / Re: Grammer Feature Requests
« on: November 07, 2019, 10:06:55 am »
Quote
*The Lbl would have a description, in the form of a String, that tells the menu what the name should be. If there is no description then the name of the label is used.

I don't understand, sorry. As for the former, you can use the existing Menu(' command. You supply a pointer to a routine that gives the strings, and a routine that does something when an item is selected. In the latter routine, you could Goto different labels based on what is selected.

119
TI-Boy SE - Game Boy Emulator For TI-83+SE/84 / Re: cartridge not supported
« on: November 06, 2019, 10:22:44 pm »
What version of TI-Boy?
What ROM?
What file size is output?
What model calculator?

120
Grammer / Re: Grammer Feature Requests
« on: November 05, 2019, 09:05:06 am »
So my intent was a "parser hook" kind of feature. So when Grammer was getting ready to parse a token, it would first pass it through a third-party program in case they would alter parsing. Now I think it might be useful on the main menu during, say, the filtering step (when it is figuring out which programs to display), or for keypresses or something.

Pages: 1 ... 6 7 [8] 9 10 ... 317