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 - NonstickAtom785

Pages: 1 [2] 3 4 ... 6
News / Re: Discord and Matrix linked to IRC.
« on: September 29, 2020, 09:34:45 am »
Hey can someone explain why slack and matrix are not working at the moment???
Ing. Beef#2570APP  8:31 AM
[Status] Failed to send message into channel omnimaga of guild Omnimaga

ASM / Re: HotkeySE | DoorsCS
« on: September 24, 2020, 11:06:27 am »
I found the issue. Thanks for the optimization tips. They were useful as heck.

ASM / Re: HotkeySE | DoorsCS
« on: September 22, 2020, 12:54:44 pm »
That was useful. So I made a table of all the keys and also realized that I can't use +,-,/, and * either. So I took those out of the equation. I added a section with all of the possible keys. With that I will do something like this:
Code: [Select]
If inData(GDB1,getKey)->A

Edit: I can't seem to get my code to print accurate results but when I use just the routine and output it they are fine here is the current code.
Code: [Select]
Return!If GetCalc("prgmSEHTKY")->A
Fix 5:ClrDraw
Text(1,0,"HotkeySE Config")
If inData({G+B},GDB1)->C

And here is the code that outputs the correct data:
Code: [Select]
;Same data as above...
Repeat getKey
If inData(,GDB1)->A

ASM / Re: HotkeySE | DoorsCS
« on: September 22, 2020, 10:23:15 am »
What you could do is have a simple menu where the user can move a cursor to highlight an option (like "Edit"), then they press a button to assign to that option. Your code looks for the string associated with the keypress, and if the string is empty (i.e., starts with a null byte), then it isn't a valid option. You also need to verify the keypress isn't already assigned to an option.

It's basically your idea, using an empty string to signify the keypress is invalid.

I can't figure out how to make a list of zero terminated strings in axe without entering in the hex codes. Does anyone know if that's possible?

ASM / Re: HotkeySE | DoorsCS
« on: September 21, 2020, 01:46:40 pm »
I was trying to make the buttons make sense when I was programming them(thanks Zeda). I'm making an extra configuration program that will change what key performs an action. I intentionally left out the delete action because I didn't want anybody or myself to accidentally delete something. But I'm going to modify it so that it won't be available until you run and configure that action to the specified key. What I need help with is getting the key name based off the key that is pressed. Any ideas as to what I should do in this scenario? (F.Y.I I'm using Axe but some native assembly code will help me a bunch too!)

I was thinking of making a zero terminated list of strings and using str-Get() to get the string based off of the key, but the only problem is how to set up the routine to do that since there are keys that cannot be used...(enter, on, graph, xton, stat, arrows, alpha, and shift)

ASM / Re: HotkeySE | DoorsCS
« on: September 17, 2020, 03:13:04 pm »
I didn't know that Doors CS still supported expansions. I thought that feature was only available in Doors CS 6.x or something (I remember trying an expansion that changed the GUI to something closer to MirageOS)

If you got a shell expansion to do that pass it over please :P . Doors kept that feature.

News / Re: Jailbreak for TI CE calculators released (arTIfiCE)
« on: September 15, 2020, 10:37:56 am »
Why does TI always have to f things up?

ASM / Re: Graphics demo
« on: September 15, 2020, 09:00:46 am »
So I figured I might as well kinda necro this as I have stuff to show. I added 'dynamic' lighting. It basically adjusts the contrast based on how many units/buildings are close to the screen. Each object has its own brightness value and magma even has its own subtle glow. I turned on wallhacks for the demo so thats why everything looks strange. The whole recording is pretty low effort but eh, it shows the general idea. The transitions between light levels look way better on actual hardware (read: it doesn't have that super obvious flicker that the emulator does) Actually, come to think of it, the whole game looks way better on hardware but I guess that is true of every game. It can be disabled in the settings. The whole project is basically finished. All I need to do is find some time to figure out a minor bug on campaign completion and add descriptions to all the options in the settings menu.
Not shown: lasers create light flashes when on or close to the screen. It can be disabled separately from the lighting if you find random flashes irritating.

I added a bunch of other cool things in the mean time too but I can't remember what they are...

Did you ever get the Career mode fixed?

ASM / HotkeySE | DoorsCS
« on: September 14, 2020, 11:35:22 am »

Here's the source code to a new shell expansion I made for Doors CS. You can download it below as a file.

Can anybody tell me if I could optimize this some more? This is my first functional/released assembly program and I don't know if I've missed some optimizations. Thanks all and I hope you find this useful! The source is in the download.

Edit: I got some help from Zeda at optimizing my program as well as some from Kerm. @Roccolox helped me realize that I didn't need to check the arrow keys so now the mouse goes a lot faster because it skips the iterations when the arrow keys are pressed and uses an optimized key routine.

Edit2: I finished the configuration program. It allows you to remove keys and change keys based upon your key presses. Check it out! I also made some very minor optimizations that make the program smaller. DO NOT use the older versions of HOTKEYSE with this program. I've packed the HOTKEYSE that will work in the latest along with the KEYCONF program. (Source and documentation included.) The download link is below! Enjoy!

Yet Another Edit:
I have made my code even smaller for this. At the moment I am working on a smaller version of KEYCONF. (I had it working but I thought I was being clever while optimizing it and broke it... only 420 bytes). This new version of HOTKEYSE will not be compatible with the KEYCONF, but if you're feeling venturous(or just know what you're doing) then you can change what keys do things and recompile it yourself. I've included the download. :)

When did you plan on adding GBA and GBC support?
Not sure GBA is in the plans, or even possible.
But GBC should be possible with double buffering.

TI-BASIC / Converting Base to Decimal with seq()
« on: September 01, 2020, 01:39:14 pm »

Code: [Select]
;Ans is the string to convert

This code is smaller than the method using For() but I haven't tested it speed wise.

EDIT: I have made this routine smaller. I did this a while back and posted it on Cemetech just forgot to cross-post it. :)

News / Re: Grammer 2.51 released!
« on: September 01, 2020, 12:24:32 pm »
Thanks for the AXE example. I need to download that axiom. I was going along the same lines as you though except I was using just op codes at first with a little of Axes boolean.

When did you plan on adding GBA and GBC support?

News / Re: Grammer 2.51 released!
« on: August 26, 2020, 10:21:42 am »
I'm back in action on the forums. I ended up learning AXE on my break from computers. I'm competent at it now and I dual code it with assembly.

@Xeda112358 Could you give me an example of an optimized assembly program that runs Asm and Basic programs from the string in op1? I've attempted to do this already because I am making a shell in AXE and Assembly and so far it's pretty small. But when I try running the code that normally works as a program in an App it freezes then crashes. If I wasn't using a chromebook I would paste the code here. But I made a VAT Sorter in Hybrid AXE/Assembly and I'm able to go through the programs using a string located inside of a free RAM area.

TI Z80 / Re: Heapsort, VATSort, and ListSort
« on: August 26, 2020, 10:00:44 am »
It would be interesting if someone patched a bunch of TI-OS's commands with faster versions like this. That's pretty awesome @Xeda112358. You really need to compile a bunch of your routines into an easy to use library ;P

I like this idea. I've thought about what it would be like to have a run hook that takes every BASIC Command and converts it so that it goes way faster. So an interpreter for an interpreter pretty much. It would be so much more quicker!

Pages: 1 [2] 3 4 ... 6