Pascal Problems
Pascal Problems
I am new to the world of OS Development and I recently decided to try create my first useful OS. I have created a very simple command line Assembler OS but I wanted to do something bigger and better.
So I decided that I would use Pascal because I already know Delphi so Pascal will be a lot easier to learn than C. The only problem is I cannot find a good tutorial or examples programmed in Pascal. And the one I got off the osdev wiki does not seem to work. Everything compiles fine but when I try link the asm and pas files I get pages of errors.
Please can someone point me in the right direction.
So I decided that I would use Pascal because I already know Delphi so Pascal will be a lot easier to learn than C. The only problem is I cannot find a good tutorial or examples programmed in Pascal. And the one I got off the osdev wiki does not seem to work. Everything compiles fine but when I try link the asm and pas files I get pages of errors.
Please can someone point me in the right direction.
Gizmic OS
Currently - Busy with FAT12 driver and VFS
Currently - Busy with FAT12 driver and VFS
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Re: Pascal Problems
The wiki has a page, -> here <-. EDIT: Oops, I didn't see that sentence that id didn't work.
I think that inflater was or is doing an OS in pascal, maybe you want to contact him?
-JL
I think that inflater was or is doing an OS in pascal, maybe you want to contact him?
-JL
Last edited by piranha on Mon Jul 07, 2008 10:53 pm, edited 1 time in total.
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Re: Pascal Problems
That is the one that will not link. It compiles perfectly.
Gizmic OS
Currently - Busy with FAT12 driver and VFS
Currently - Busy with FAT12 driver and VFS
Re: Pascal Problems
Tell us what toolchain you're using and some error messages; perhaps we will be able to solve the problem.
Re: Pascal Problems
I am using nasm and fpc to compile. and LD to link.
I will post the errors a little later
I will post the errors a little later
Gizmic OS
Currently - Busy with FAT12 driver and VFS
Currently - Busy with FAT12 driver and VFS
Re: Pascal Problems
The FreePascal OS called "AnonymOS", available from my site, may help you ? . http://www.dex4u.com/pascal/AnonymOS.zip
Re: Pascal Problems
Thanks. I downloaded it but I could not get it to compile there are some errors I must sort out
Gizmic OS
Currently - Busy with FAT12 driver and VFS
Currently - Busy with FAT12 driver and VFS
Re: Pascal Problems
It works, but you need system.pas which is not written there. Search the forum for "Pascal wiki", someone posted his system.pas which works (I've tested it).
Re: Pascal Problems
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Re: Pascal Problems
I've updated the wiki page slightly so it compiles and links correctly. It'll ofcourse require you to have updated tools(and the required tools, which aren't quoted on the wiki page)
http://j-software.dk | JPasKernel - My Object Pascal kernel