As of version 2.1, osakaOS doesn't have much in the way of support for any binary format, mainly because I plan developing my own format along with my own compiler from scratch.
For right now, the only thing available is a broken assembler that can take assembly instructions in a file and compile them to x86 machine code.
The only instructions developed for the assembler are mov, add, sub and some other single byte opcode instructions. Variables, labels, and other common assembly-isms aren't supported currently.
You can compile code using the asm
command, which will produce a file names "a.out" that you can execute as a binary program.
asm (file)
output: File named "a.out" created containing machine code program.This is the command used to call the osakaOS assembler for compiling very basic assembly programs.
exb a.out
output: Prints number of instructions, size of code, and entrypoint in memory.This command is used to execute actual machine code files as multitasking programs.
reg
output: Prints values found in CPU registers.Used as a register dumped of the previously completed task.
Most of this stuff is really buggy and doesn't work, I still need to develop the assembler more, fix bugs with the task scheduler and binary programs, develop an ABI, and more.
Hopefully in the future this section will be much larger and I can go into the details of my compiler and other things. Until then I'll end it here.
Thank you for reading the entire manual :). To return the home page, click the header "Projects" at the top, or click the sub-header "osakaOS v2.1 - Binary VII" to return to the main osakaOS page.