Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: willrandship on March 23, 2014, 06:42:27 pm

Title: 84+ OS 2.41 Asm Source
Post by: willrandship on March 23, 2014, 06:42:27 pm

Goal: A complete set of files which you can build in order to obtain a complete OS ROM, with proper labels and equates, so modifications are easy.


I'm basing it on OS 2.41, primarily because of BrandonW's extensive work on a disassembly of that particular version. Without that, this would be much harder.


The code is made to be compilable with Brass, benryyves' assembler. This means it can be compiled with any x86 OS that supports mono, and if you can get the DCS SDK you should be all set.


The easiest mods that would have a directly beneficial effect would be optimizations to bcalls. This would directly increase the performance of the system as a whole.


Progress:
Code: [Select]
Page | Status
00   | Succesful Build
01   | Pending
02   | Pending
03   | Pending
04   | Pending
05   | Pending
06   | Pending
07   | Pending
08-6e| Empty
6f   | Pending
70-73| Empty
74   | Pending
75   | Pending
76   | Pending
77   | Pending
78   | Pending
79   | Pending
7a   | Pending
7b   | Pending
7c   | Pending
7d   | Pending
7e   | Empty
7f   | Pending
Title: Re: 84+ OS 2.41 Asm Source
Post by: DJ Omnimaga on March 24, 2014, 12:32:23 am
Interesting. I am unsure if I understand, though: Is this primarily to allow you to rewrite the OS to be smaller and more optimized, write mods for it, or more to generate a ROM from a 8xu file?
Title: Re: 84+ OS 2.41 Asm Source
Post by: josh landers on March 24, 2014, 04:18:44 pm
I have always wanted to have an os that only runs axe, and to have all the os math cut out of it like the stuff you wouldn't be able to use in axe anyway.
Title: Re: 84+ OS 2.41 Asm Source
Post by: Streetwalrus on March 24, 2014, 05:49:55 pm
Josh : stripping down TI OS probably isn't quite as easy. The math stuff for example can be used by an Axiom that provides floating point.
This project does sound interesting though. What are the differences between 2.41 and 2.43 ?
Title: Re: 84+ OS 2.41 Asm Source
Post by: willrandship on May 06, 2014, 02:14:57 am
2.41 and 2.43 are practically identical. Probably some obscure bugfix somewhere.

So, I'm adding a poll: Select the different versions of the OS you would install.
Title: Re: 84+ OS 2.41 Asm Source
Post by: Streetwalrus on May 06, 2014, 06:53:23 am
I voted. ;)
Also, if the correct fixes for it to run on an 83+ (at least the SE) could be added that would be pretty epic. :D
Title: Re: 84+ OS 2.41 Asm Source
Post by: willrandship on May 06, 2014, 04:20:47 pm
Well it has been shown that 84+ OSes run with only minor glitches on 83+ SE calcs. We can probably work it out to at least having it build a version for each calc.
Title: Re: 84+ OS 2.41 Asm Source
Post by: DJ Omnimaga on May 06, 2014, 04:37:14 pm
I voted 1, 3 and 5. I like 4 but there are too many good BASIC programs that would be lost for that user (unless a compatibility mode was instated, but I bet this would nullify all the speed optimizations of a new OS)
Title: Re: 84+ OS 2.41 Asm Source
Post by: Matrefeytontias on May 06, 2014, 07:14:10 pm
I voted 1, and moreover it would be really awesome if you could apply the same change (the economy of one or two flash pages) on an 1.19 OS to put on my TI-83+. I need every flash page you may have.
Title: Re: 84+ OS 2.41 Asm Source
Post by: willrandship on May 06, 2014, 07:59:00 pm
Well, ideally you should be able to make two versions of the code that work for the different platforms. Most of the code is shared between them. The biggest problems arise from slight hardware differences like the timers and USB hardware.
Title: Re: 84+ OS 2.41 Asm Source
Post by: bb010g on May 06, 2014, 10:31:53 pm
5 would be cool if you could toggle between BCD and the original floats (for compatibility).
Title: Re: 84+ OS 2.41 Asm Source
Post by: Eiyeron on May 16, 2014, 03:46:25 am
1 because the OS takes a lot of space. Freeing can really be a breeze for calcs. i would have checked 2 3 and 5 if 2 conserved Axe programs, 3 and 5 not breaking any good BASIC games.
Title: Re: 84+ OS 2.41 Asm Source
Post by: Juju on May 16, 2014, 04:20:40 am
1. Well, that can only be a good thing.
2. I don't really see the point of this?
3. Go for it, I guess.
4. It depends if you mind breaking compatibility or not. BASIC programs can always be ported, I guess, so that OS could be considered as a different OS with slight incompatibilities.
5. That would be nice. You would lose precision, but not that much.
Title: Re: 84+ OS 2.41 Asm Source
Post by: Sorunome on May 16, 2014, 08:41:29 am
How about you make it so that it patches the OS file and then one can choose which ways he/she wants to patch their OS?
Title: Re: 84+ OS 2.41 Asm Source
Post by: Streetwalrus on May 16, 2014, 10:31:21 am
You mean a modular patch ? That would be bothersome cause he's gonna modify the source directly. :/
Title: Re: 84+ OS 2.41 Asm Source
Post by: Sorunome on May 16, 2014, 10:32:12 am
Wait, is it legal at all to distribute that then?
Title: Re: 84+ OS 2.41 Asm Source
Post by: Streetwalrus on May 16, 2014, 10:39:12 am
As a patch to the disassembly that anyone can make, yes.
Title: Re: 84+ OS 2.41 Asm Source
Post by: Eiyeron on May 16, 2014, 11:44:37 am
^that's quite the reason that romhacks cannot be sued because distribution. If you don't use any copyrighted content nor code, you can publish it without worrying of a lawyer.

Go for it, I want moar space on my calc! :P