You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server
We have an anniversary Game Jam! Click here for more info.

[TI 84+/83+] DovahCalc

b/Calculator Development Started by Snektron, April 14, 2015, 05:19:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

u/Dream of Omnimaga April 17, 2015, 11:27:22 AM
Oh do you use the special version of Omnicalc? If not then it's possible that ZStart fixed the issues that MP Oses had with Omnicalc/xLIB. And IIRC ZStart got a font hook but I don't know if it's supported by default. DCS7 lacks one.
u/Snektron April 17, 2015, 02:22:27 PM
I just got the most recent version of omnicalc. And i don't have ZStart or anything installed, just DovahCalc, omnicalc and some font. Also whats up with Cataloghelp?
if i run its hook with dovahcalc enabled it just clears the hook.
Last Edit: April 17, 2015, 04:31:43 PM by Cumred_Snektron
u/Dream of Omnimaga April 17, 2015, 04:19:52 PM
You might need to ask in a help topic. It seems strange... O.O
u/Snektron April 17, 2015, 05:48:54 PM
Update:
- fixed the small letters bug
- added hook chaining (now usable with omnicalc and such). Turns out the error i had earlier was i jumped 1 instruction before he hook to chain to (and some oter stuff).
   It works now, and i wrote a small chain utility included in the zip (source/DovahClc/HookChain.z80) so chaining will be easier for me in the future. It stores the 4 bytes of
   the previous hook in a defined location in ram, for faster lookup. It also stores an extra check byte to check if the data is still intact. (This utility can be used by anyone, if
   they want to).

u/Dream of Omnimaga April 18, 2015, 07:42:56 AM
Awesome to see a release. Do I need to install this and other apps in a specific order? I'll give this a try later. :)
u/Snektron April 18, 2015, 08:58:40 AM
Well, yeah since it chains, you need to install it later than any other fonthooks. For example if you use omnicalc, enable omnicalc's hooks first and then enable DovahCalc.
If you use apps without font hooks it doesn't really matter, since theyre not affected by eachother anyways :)
u/Dream of Omnimaga April 18, 2015, 06:14:33 PM
Ah ok, I guess it depends if your hook overwrites parts of DCS7 hooks then, since DCS7 uses over 9000 of them for Omnicalc+xLIB+Celtic+Homerun (unless I am missing something?)
u/CKH4 April 18, 2015, 06:48:39 PM
Quote from: DJ Omnimaga on April 18, 2015, 06:14:33 PM
over 9000
Lol.

Anyway good luck on getting the rest of it to work. Maybe you'll port it to be a zstart font which would save people with zstart 10000 ram.
u/Snektron April 18, 2015, 07:19:02 PM

Quote from: DJ Omnimaga on April 18, 2015, 06:14:33 PM
Ah ok, I guess it depends if your hook overwrites parts of DCS7 hooks then, since DCS7 uses over 9000 of them for Omnicalc+xLIB+Celtic+Homerun (unless I am missing something?)
Well it chains, not breaks. All hooks should still work :)
u/123outerme April 18, 2015, 07:50:34 PM
Quote from: DJ Omnimaga on April 14, 2015, 08:00:13 PM
Interesting. I never heard of that Dovahzul thing before. Do you think it could be made as a separate font so that people with Omnicalc and other apps supporting fonts can use it without the program?

Also since this looks like a standalone hook program, I wonder how hard it would be to port it to the CSE so that people can have custom fonts (hint: New FF:MF graphics? :P) and if it would be possible to make the hook chain with DCSE?
This could be used to create custom sprites (replace a letter that you probably won't use like theta with a custom sprite for your character)
u/Snektron April 18, 2015, 08:45:13 PM
I'm actually developing a version for  the CSE. Maybe i'll do the letter replace thing later though, cause that'll defenitely be cool. Since i have t his chain hook utillity it'll also be possible to chain with DCSE, xLIB and celtic hooks. Though i made a small Java app to create the letter data, since the data layout is really weird and not at all doable by hand :/. Also i'd have to find a big enough place of ram that won't get violated (one of the ram pages?) since an appvar would be too slow :(
u/Dream of Omnimaga April 19, 2015, 06:19:16 PM
Quote from: 123outerme on April 18, 2015, 07:50:34 PM
Quote from: DJ Omnimaga on April 14, 2015, 08:00:13 PM
Interesting. I never heard of that Dovahzul thing before. Do you think it could be made as a separate font so that people with Omnicalc and other apps supporting fonts can use it without the program?

Also since this looks like a standalone hook program, I wonder how hard it would be to port it to the CSE so that people can have custom fonts (hint: New FF:MF graphics? :P) and if it would be possible to make the hook chain with DCSE?
This could be used to create custom sprites (replace a letter that you probably won't use like theta with a custom sprite for your character)
yeah that's what I had in mind, since it was done before on the 84+. Being able to use the font from archive and install it on game launch would be best, though.
u/Snektron April 19, 2015, 09:35:12 PM
I'd be cool, though xLIB (i think it's xLIB)  seems to not draw sprites via the tokenhook :/
u/Dream of Omnimaga April 19, 2015, 10:36:27 PM
Aw sorry to hear. I remember that DCSE had issues before that caused sprites to mess up the Output command. I wonder if that could be related?

One thing you could do is ask on Cemetech where you could place your font hook to ensure full functionality of Doors CSE, since, after all, Kerm is the one who made DCS. @tr1p1ea might be able to help, though, since he wrote xLIB, which is included in DCSE.
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal