Skip to content

Replace monitor shell with my own application. #63

Answered by IanSeyler
WEREMSOFT asked this question in Q&A
Discussion options

You must be logged in to vote

There are two ways to do this:

  1. Replace BareMetal-Monitor. This is ideal for small programs. The kernel will take whatever is after it, copy it to 0x1E0000 in memory, and execute it. Instructions for this are in the BareMetal-OS README file:

  2. Modify BareMetal-Monitor. This would be for programs that are stored on the disk. The code in BareMetal-Monitor would need to be updated to only load a program from disk to 0xFFFF800000000000 and execute it.

Option 2 would be ideal since option one only gives you ~12KiB of space to use at the moment.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by IanSeyler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants