Calculator Community > General Calculator Help

How To Write an OS

<< < (2/7) > >>

SirCmpwn:
TI Developer does it for you, qazz42, or you can use the programs included in os2tools.
meishe91, they are respectively, a development tool to simplify the process (written by yours truly), an IDE, and tools for signing OSes and such.

qazz42:
hmm, I will keep this in mind when I learn asm :)

meishe91:
Ah ok, so you wrote all of them?

DJ Omnimaga:
He wrote TI-Developer.

Also nice tutorial Sir, I'll sticky this topic in case. I recommend people to be careful with OS projects, though. Those are ambitious projects and I do not recommend them for novice programmers.

calcdude84se:
I've already posted this on Cemetech, but I'll also do it here.
[cross-post starts here]
Tutorials are always good :)
However, I recommend you use .org, unless ZDS doesn't support that.
In the end you will need to compile it. Here's my current OS build script (not that is has anything to build right now :P)

--- Code: ---tools\brass "src\Page $00.z80"
tools\bin2hex "Page $00.bin" 20 0000 > "Page $00.hex"
tools\brass "src\Page $1D.z80"
tools\bin2hex "Page $1D.bin" 20 4000 > "Page $1D.hex"
tools\ostools-0.1\multihex 00 "Page $00.hex" 1D "Page $1D.hex" > os.hex
tools\ostools-0.1\packxxu os.hex -o os84.8xu -t 83p -q 0A -v 0.01 -h 255
tools\ostools-0.1\packxxu os.hex -o os83.8xu -t 83p -q 04 -v 0.01 -h 255
tools\rabbitsign\rabbitsign -t 8xu -k tools\keys\0A.key -K 0A -g -p -r os84.8xu
tools\rabbitsign\rabbitsign -t 8xu -k tools\keys\04.key -K 04 -g -p -r os83.8xu
del os83.8xu os84.8xu
copy src\PartesOS.h + *.inc PartesOS.h
del *.bin*
del *.hex
del PartesOS*.8xu
ren os83-signed.8xu "PartesOS 83+.8xu"
ren os84-signed.8xu "PartesOS 84+.8xu"
--- End code ---
Note that you need OS Tools and RabbitSign (Windows version here). You'll also need the OS signing keys.
You can customize this to fit your needs (right now it's set to how my folders are set up, along with the OS name). Note that you need to set your assembler of choice to produce hex output. (Brass for some reason doesn't handle it properly, so I wrote my own bin2hex program. TASM doesn't have this problem)
The -v argument of packxxu can be changed to reflect OS version, though the other arguments should be left as is. Note that this script builds OS's for both the 83+(SE) and 84+(SE).

And yes, go build some OS's! :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version