I think there's been some Pascal operating systems, but I don't think I've seen BASIC of any flavor... You might look around on osdev.org's forums and see if anyone has been playing with those ideas.
The well trodden path is C with a bit of assembly to do the important things that C can't really do: getting the processor into the right mode, setting up stacks, switching stacks when switching tasks, some stuff around interrupts and user/kernel boundaries, poking at cpu registers, etc. You can do the same assembly work to support Pascal or BASIC instead, but there may not be examples to follow.
What is poking in the phrase "poking at cpu registers"?
From the link https://hardforum.com/threads/programming-an-os.2022350/#post-1045469087
that was said by philb2 responder?
The well trodden path is C with a bit of assembly to do the important things that C can't really do: getting the processor into the right mode, setting up stacks, switching stacks when switching tasks, some stuff around interrupts and user/kernel boundaries, poking at cpu registers, etc. You can do the same assembly work to support Pascal or BASIC instead, but there may not be examples to follow.
What is poking in the phrase "poking at cpu registers"?
From the link https://hardforum.com/threads/programming-an-os.2022350/#post-1045469087
that was said by philb2 responder?