For a side TI-Basic project I am working on (a basic implementation of compression algorithms, if I ever manage to do it, that is) I'd need an Asm library that:
1) Is as small as possible - I don't want to use Celtic, because it does not quite match my needs (read below), and I don't want to use DCS because it is far too big for what I need,
2) Can read binary data from any TI-OS var to Ans and write from Ans to any TI-OS file (I guess Ans, actually whatever variable would be fine, if I can access it from Basic. Best would be a buffer where I could access any bit.),
3) Can perform operations on binary data so that I can control it on the bit-level, nibble-level and byte-level, meaning reading or changing these individually - here's why a buffer would be ideal, one can just have the data there without any hassle with it in TI-OS vars like Ans or a string, plus it allows for easier control, as it is known where exactly this data is, and
4) Can convert a TI-OS real and/or string holding a decimal number to the binary data equivalent, and vice versa.
The features I'd need are sorted, from top to bottom, by importance, from high to low. Having such a tool would allow me to control any TI-OS var and thus be able to compress it using RLE, Huffmann Encoding or whatever.
Firstly, of course, if there is such a program, I'd use it (Note however I mentioned Celtic III and DCS as not what I need). If there is none, I'd ask how hard it would be to modify Celtic III to fit my needs and use it. If that would be harder than make one from scratch, lastly, I'd ask how hard it is to make one from scratch.
Now, if it isn't too hard to make, someone is willing to guide and correct me, and later optimize and make it safe to use, I could try give it a shot. To whatever volunteers, though, I warn you, that I have NO experience in Asm, and very little knowledge about the low levels of computing.
Of course I would prefer if some experienced coder would like to implement that, because I don't feel like I am ready to learn Asm yet. Certainly, one day, but really not now. Another option would be Axe, I am, well, more ready, to do that.
If my request is just hard to do and not worth your time or just the effort, just tell me so directly. I understand and it's not a big deal. I probably could even try to do it with a combination of existing libs.
Thanks a lot in advance!
1) Is as small as possible - I don't want to use Celtic, because it does not quite match my needs (read below), and I don't want to use DCS because it is far too big for what I need,
2) Can read binary data from any TI-OS var to Ans and write from Ans to any TI-OS file (I guess Ans, actually whatever variable would be fine, if I can access it from Basic. Best would be a buffer where I could access any bit.),
3) Can perform operations on binary data so that I can control it on the bit-level, nibble-level and byte-level, meaning reading or changing these individually - here's why a buffer would be ideal, one can just have the data there without any hassle with it in TI-OS vars like Ans or a string, plus it allows for easier control, as it is known where exactly this data is, and
4) Can convert a TI-OS real and/or string holding a decimal number to the binary data equivalent, and vice versa.
The features I'd need are sorted, from top to bottom, by importance, from high to low. Having such a tool would allow me to control any TI-OS var and thus be able to compress it using RLE, Huffmann Encoding or whatever.
Firstly, of course, if there is such a program, I'd use it (Note however I mentioned Celtic III and DCS as not what I need). If there is none, I'd ask how hard it would be to modify Celtic III to fit my needs and use it. If that would be harder than make one from scratch, lastly, I'd ask how hard it is to make one from scratch.
Now, if it isn't too hard to make, someone is willing to guide and correct me, and later optimize and make it safe to use, I could try give it a shot. To whatever volunteers, though, I warn you, that I have NO experience in Asm, and very little knowledge about the low levels of computing.
Of course I would prefer if some experienced coder would like to implement that, because I don't feel like I am ready to learn Asm yet. Certainly, one day, but really not now. Another option would be Axe, I am, well, more ready, to do that.
If my request is just hard to do and not worth your time or just the effort, just tell me so directly. I understand and it's not a big deal. I probably could even try to do it with a combination of existing libs.
Thanks a lot in advance!