First things first, I want to give credit where credit is due: Special thanks to a guy named Serge Robyns, for posting a link to a tarball of working code to the adaos forum on yahoo way back in 2000 or so when we all did a lot of talking. He got this ball rolling. After the project stagnated I sent him an email asking for permission to use the code he'd posted, and he gave it to me to freely use what he'd posted. So there's a fair amount of Serge's code still in this tree.
At present there really isn't much of an "install" to this project, but here's a basic idea of what I've got going here:
My dev box is just a linux box (kubuntu) with GNAT 4.8 installed. I'm using Bochs 2.4.6 to do my basic coding and testing.
There isn't a lot of stuff going on yet, in fact I went backwards with the functionality of my code because I threw out a lot of stuff to minimize non-Ada code in the tree. But it boots and displays some basic info before it freezes. I threw away the cpu set-up and limited mm and interrupt support because I think that can be done more with ada and less with assembly.
There is a Makefile to make compiling a little easier (it remembers the flags so I don't have to.) So my basic compile/run cycle looks something like this:
$ make
$ cd bochs
$ sudo ./update.sh [enter password]
$ bochs
and then watch the simulation boot.
I don't know if this is useful information to someone else or not but I know it took me a while to get the code to work -- the version it last compiled with was GNAT 3.13p and there's obviously been some radical changes to GNAT since then.
Anyway, enjoy, and let's see if we can make this do something fun. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First things first, I want to give credit where credit is due: Special thanks to a guy named Serge Robyns, for posting a link to a tarball of working code to the adaos forum on yahoo way back in 2000 or so when we all did a lot of talking. He got this ball rolling. After the project stagnated I sent him an email asking for permission to use the code he'd posted, and he gave it to me to freely use what he'd posted. So there's a fair amount of Serge's code still in this tree.
At present there really isn't much of an "install" to this project, but here's a basic idea of what I've got going here:
My dev box is just a linux box (kubuntu) with GNAT 4.8 installed. I'm using Bochs 2.4.6 to do my basic coding and testing.
There isn't a lot of stuff going on yet, in fact I went backwards with the functionality of my code because I threw out a lot of stuff to minimize non-Ada code in the tree. But it boots and displays some basic info before it freezes. I threw away the cpu set-up and limited mm and interrupt support because I think that can be done more with ada and less with assembly.
There is a Makefile to make compiling a little easier (it remembers the flags so I don't have to.) So my basic compile/run cycle looks something like this:
$ make
$ cd bochs
$ sudo ./update.sh
[enter password]
$ bochs
and then watch the simulation boot.
I don't know if this is useful information to someone else or not but I know it took me a while to get the code to work -- the version it last compiled with was GNAT 3.13p and there's obviously been some radical changes to GNAT since then.
Anyway, enjoy, and let's see if we can make this do something fun. :)