473,396 Members | 1,915 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 5243

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Claudio Grondi | last post by:
Googling for keywords like "direct access sector harddrive Python module Windows" seems to give no useful results. Any hints(best if cross-platform)? Claudio
5
by: Sumana | last post by:
Hi All, We developed our project on VC++.Net console application to create image of disk and to write the image We are having problem with reading and writing the sector beyond 6GB Disk or...
12
by: Krunoslav Ostrouska | last post by:
How can i write on specifyed sector on a multimedia card? I must go round file system and write/read direct. C# VS2003 Thanks Kruno
1
by: diffuser78 | last post by:
I just started to write a small project in Python. I was wondering if there can be something like remote boot manager. I have to remotely start a computer. It has dual boot (WinXP and Linux)....
2
by: IT Specialist | last post by:
Any one has any code to create a boot disk in C++ for a pc with no operating system?
4
by: mofthegame | last post by:
Hi, I'm having a problem with this computer I built for the 3rd time it works fine here where I build it but when I bring it to the person I built it forit works fine then by the time I get home I...
5
by: Jordi Maycas | last post by:
Could I do something like this with .net 2005? PROGRAM WriteBootSector; VAR DiskSectorsPerTrack, DiskTracksPerHead, DiskHeads : WORD; FUNCTION WriteSector(Sector : WORD; Buffer : POINTER) :...
1
jlm699
by: jlm699 | last post by:
Greetings friends, It's been a while since I've visited this C/C++ forum, and as expected my C++ is unacceptably rusty. Recently I've been reading about Master Boot Records (MBR) and the boot...
0
by: Chris Calloway | last post by:
Triangle (NC) Zope and Python Users Group (TriZPUG) is proud to open registration for our fourth annual ultra-low cost Plone and Python training camps, BootCampArama 2008: ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.