469,282 Members | 1,907 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Boot Sector

dfg
Can I write a boot sector using VB? Is there some built in library, or
is it possible to make my own?

Can I embed Assembly language?

Getting ready to work with Visual Basic for the first time.

Thanks.

Jul 17 '05 #1
5 5056

"dfg" <df*@dfg.net> wrote in message news:Xe7fb.8139$6C4.136@pd7tw1no...
Can I write a boot sector using VB? Is there some built in library, or
is it possible to make my own?

Can I embed Assembly language?

Getting ready to work with Visual Basic for the first time.

Thanks.


And your first project is going to be a - what?
Jul 17 '05 #2
dfg
Steve Gerrard wrote:
"dfg" <df*@dfg.net> wrote in message news:Xe7fb.8139$6C4.136@pd7tw1no...
Can I write a boot sector using VB? Is there some built in library, or
is it possible to make my own?

Can I embed Assembly language?

Getting ready to work with Visual Basic for the first time.

Thanks.

And your first project is going to be a - what?


Boot loader. It's not my first program. I've been programming in C and
assembly for years. Usually under an embedded DOS or Unix. It's merely
my first encounter with Visual Basic. Windows programming actually.
It's alot different from Commodore Basic, which was my first encounter
with the language... Now I've dated myself. Oh well. At least My first
wasn't a VAX. :-)

Jul 17 '05 #3
On Fri, 03 Oct 2003 06:26:34 GMT, dfg <df*@dfg.net> wrote:

<snip>
And your first project is going to be a - what?


Boot loader. It's not my first program. I've been programming in C and
assembly for years. Usually under an embedded DOS or Unix. It's merely
my first encounter with Visual Basic. Windows programming actually.
It's alot different from Commodore Basic, which was my first encounter
with the language... Now I've dated myself. Oh well. At least My first
wasn't a VAX. :-)


You are in for a shock

Windows programming is pretty different from what you are used to

- VB is so far from suitable for what you are talking about, that it
is .... indescribable
Jul 17 '05 #4

"dfg" <df*@dfg.net> wrote in message news:uE8fb.8500$pl3.2618@pd7tw3no...
Steve Gerrard wrote:
"dfg" <df*@dfg.net> wrote in message news:Xe7fb.8139$6C4.136@pd7tw1no...
Can I write a boot sector using VB? Is there some built in library, or
is it possible to make my own?

Can I embed Assembly language?

Getting ready to work with Visual Basic for the first time.

Thanks.

And your first project is going to be a - what?


Boot loader. It's not my first program. I've been programming in C and
assembly for years. Usually under an embedded DOS or Unix. It's merely
my first encounter with Visual Basic. Windows programming actually.
It's alot different from Commodore Basic, which was my first encounter
with the language... Now I've dated myself. Oh well. At least My first
wasn't a VAX. :-)

Did some punch card Fortran and Assembler on an IBM 370 once.

J French's post pretty much nails it. VB is for writing programs that run in
Windows, and a boot loader can't run in Windows. You can do some console stuff,
but only in a console window running within Windows. Its useless for low level
system stuff, especially a boot loader.

Jul 17 '05 #5

"dfg" <df*@dfg.net> wrote in message news:Xe7fb.8139$6C4.136@pd7tw1no...
Can I write a boot sector using VB? Is there some built in library, or
is it possible to make my own?

Can I embed Assembly language?

Getting ready to work with Visual Basic for the first time.

Thanks.


You will have to use MASM to do this. A boot loader has to be written in
assembly language native to the processor family (i.e. 808x). You also need
to stay under 512 bytes to be compatible with older systems.
Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Sumana | last post: by
12 posts views Thread by Krunoslav Ostrouska | last post: by
1 post views Thread by diffuser78 | last post: by
2 posts views Thread by IT Specialist | last post: by
4 posts views Thread by mofthegame | last post: by
5 posts views Thread by Jordi Maycas | last post: by
reply views Thread by Chris Calloway | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.