xinu-os / xinu

Repository for Xinu source code
http://xinu-os.org/
Other
430 stars 128 forks source link

How do you actually build and run software under Xinu? #16

Open hyphz opened 6 years ago

hyphz commented 6 years ago

I've been searching through the docs tree and various online sources and none of them seem to say how you actually write a program that runs under Xinu, rather than modifying Xinu itself. (In particular using the VirtualBox image set.) I'm not sure how to experiment with it without being able to do this unless the intent is that you experiment only with things that could change the behavior of the shell. What am I missing here?

ZeroTau commented 6 years ago

All “programs” are compiled into Xinu itself i.e. there is no loader that will load programs from storage. So it is more that you are extending Xinu than writing programs for Xinu. Note that when you make a new process via create you give the entry point of the process as a function pointer.

From: Mark Green Sent: Friday, January 12, 2018 10:57 AM To: xinu-os/xinu Cc: Subscribed Subject: [xinu-os/xinu] How do you actually build and run software under Xinu?(#16)

I've been searching through the docs tree and various online sources and none of them seem to say how you actually write a program that runs under Xinu, rather than modifying Xinu itself. (In particular using the VirtualBox image set.) I'm not sure how to experiment with it without being able to do this unless the intent is that you experiment only with things that could change the behavior of the shell. What am I missing here? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.