I am aware that there is the multiboot standard, but for now I'm not planning on implementing it, as it looks quite complicated. I will get to it one day though.
So far, I can pass a simple integer with something like:
Code: Select all
push dword 1234
Code: Select all
int main(int pass) {
printf ("%d\n", pass);
...
As a simple test, I created a structure in the bootloader and assigned some random values to its members, but I couldn't get it to pass the correct information.
Am I barking up the wrong tree? Should I invest the time into multiboot?
Thanks