16  and 32-BIT Envirments

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Joe

16  and 32-BIT Envirments

Post by Joe »

I am thinking about Building an operating system off of Freedos and it will be written in Turbo Pascal(16-Bit), Free Pascal for the 32-Bit Enviroment and some ASM for Hardware Interfacing, But I have come across a problem... I was told that I could have a 16-Bit enviroment (FreeDOS) and then build a 32-Bit Enviroment upon it, thus allowing me to write a Possible GUI and Programs for the 32-Bit enviroment, But I have no idea how to go about this please point me in the right Direction, thx

   - Peace out
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

RE: 16  and 32-BIT Envirments

Post by bubach »

You can have "your" (or freedos) "autoexec.bat" to start the file "gui.exe" that enters pmode, sets the A20-gate and stuff.
But i think that it sounds like you are just going to rip the FreeDOS source, write a GUI and then put your name on it.
Why don´t you just help the FreeDOS guys instead? If i remember it right they are about to write a 32-bit command line as a option to the 16-bit command line.
Then you could write a GUI to that 32-bit command line.

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Joe

RE: 16  and 32-BIT Envirments

Post by Joe »

That sound like a good idea.. I think I will do that instead, thanks "bubach"
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

RE: 16  and 32-BIT Envirments

Post by bubach »

Your welcome..
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

RE: 16  and 32-BIT Envirments

Post by bubach »

Or you could wait a while and code a GUI for my os later on.. ;-)
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Joe

RE: 16  and 32-BIT Envirments

Post by Joe »

Yah I would more than happy to work with you on it, but I am still learning C and ASM and I fear may slow you down a bit, lol ;)  but I learn fast... thx.

  peace out...
       - Joe
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

RE: 16  and 32-BIT Envirments

Post by bubach »

Ok, but start with learning C (and asm?), and then you can test programing a simple GUI in dos graphic mode 12h so that you learn all the stuff..
When you are ready with that i will problably have things working enoght for you to join me.. :-)

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
ASHLEY4

RE: 16  and 32-BIT Envirments

Post by ASHLEY4 »

Hi
If you know turbo pascal y not make it in pascal ?. most people say you can not ,make a turbopascal OS ,But i started making one some years a go . i found it no more difficult than C, Alot of the functions, like "write" "readln" you can use,with out rewriting them.
I have the old code some ware, you can use it if you want ?.
And theres a free 32 pmode freepascal OS with code,you can get from here:

  http://www.thegaineys.fsnet.co.uk/

Also try here:

http://www.powerdos.cjb.net/

ASHLEY4.
Joe

RE: 16  and 32-BIT Envirments

Post by Joe »

Yah I was thinking about that, but lately I have shifted from the Idea of creating my own OS, Although I am thinking about possibly creating my own simple little linux distro ;) "Blueleaf", but I cant seem to figure out what I really want to do but I am open for any option... I have no idea what my future holds, and I just may wait 3 years to get out of high school first, that way I am better prepared for the endever.

      Peace out...
          - Joe/Freakyprogrammer
ASHLEY4

RE: 16  and 32-BIT Envirments

Post by ASHLEY4 »

Hi
My first idea,Was a small linux distro,But one i do not like C and two it is esayer to start from crach,Than to understand Linux code.

ASHLEY4.
joe

RE: 16  and 32-BIT Envirments

Post by joe »

  hmmm... I see where your coming from, yah I have had that same thought myself but I still think that until I master assembly I should stick with something a little more(pre-built) for lack of better words, so I think that is what I might do... but thanks for the input.

           peace out...
              - Joe
Post Reply