How To Use DOS Functions Using BootProg?

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.
Locked
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

How To Use DOS Functions Using BootProg?

Post by Nathan »

Hello,
I'm now wanting to play around with BootProg, I'm thinking to use languages like Turbo Pascal, QuickBASIC and others, but using as example Pascal(that I want most), how could I do the DOS Functions, as file access and some simple memory management things when booting using BootProg?

Best Regards,
Nathan Paulino Campos
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: How To Use DOS Functions Using BootProg?

Post by Combuster »

How would you want to use DOS functions when it isn't running? You are writing the OS, not building a program for an existing one. Did you bother checking to what extent using your compiler generates unusable code because it was designed to make DOS programs?

OT: a kind request to please remove the banner from your signature, people will hate you for reasons varying from the wasting of their dial-up bandwidth, waste of screen space, or religious issues.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

Re: How To Use DOS Functions Using BootProg?

Post by Nathan »

Combuster wrote:How would you want to use DOS functions when it isn't running? You are writing the OS, not building a program for an existing one. Did you bother checking to what extent using your compiler generates unusable code because it was designed to make DOS programs?

OT: a kind request to please remove the banner from your signature, people will hate you for reasons varying from the wasting of their dial-up bandwidth, waste of screen space, or religious issues.
Ok. Banner removed, but I'm going to design another one.

I've changed the banner now. It's my emulated Macintosh. :D
Who don't want to see it, just block the images. ;)
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: How To Use DOS Functions Using BootProg?

Post by Love4Boobies »

Nathan wrote:Ok. Banner removed, but I'm going to design another one.
I think you're missing the point here... :wink:
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Locked