| | |
Link assembly with C++
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2005
Posts: 18
Reputation:
Solved Threads: 0
:o
hello e/o..
im Raza..i hav a project to make small operating system...
i have completed my boot and kernel work in assembly...with the help of emulator8086...there is output showing after booting from floppy but now i have to link that kernel with C++ program to show some output on screen.. so i can move ahead to do some more work in c++..
guide me..
Khuda Hafiz.
Raza.
hasnainr1@hotmail.com
hasnainr1@yahoo.co.uk
hello e/o..
im Raza..i hav a project to make small operating system...
i have completed my boot and kernel work in assembly...with the help of emulator8086...there is output showing after booting from floppy but now i have to link that kernel with C++ program to show some output on screen.. so i can move ahead to do some more work in c++..
guide me..
Khuda Hafiz.
Raza.
hasnainr1@hotmail.com
hasnainr1@yahoo.co.uk
Do you need help with the actual coding or putting everything together and making the OS bootable?
Luckily I can help you on both! Here is a resource I want you to take a look at first: http://www.1cplusplusstreet.com/vb/s...=3570&lngWId=3
See if the directions that guy left in the readme file help you. I would normally post the information directly into the forums for the sake of accurate information archiving, but the intructions are too long and I don't want to plagerize.
Luckily I can help you on both! Here is a resource I want you to take a look at first: http://www.1cplusplusstreet.com/vb/s...=3570&lngWId=3
See if the directions that guy left in the readme file help you. I would normally post the information directly into the forums for the sake of accurate information archiving, but the intructions are too long and I don't want to plagerize.
A Hacker's Mind:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
•
•
Join Date: Mar 2005
Posts: 18
Reputation:
Solved Threads: 0
i have complete booting phase..its booting..now i have another problem which is about KERNEL...i have a small and simple kernel but i have to send it into second sector of floppy?how i can do this...after this i have to link that kernel (asm file) with c++.if u can.. then let me know...i will send u links plus boot code and kernel code....
Raza.
Raza.
•
•
•
•
Originally Posted by BountyX
Do you need help with the actual coding or putting everything together and making the OS bootable?
Luckily I can help you on both! Here is a resource I want you to take a look at first: http://www.1cplusplusstreet.com/vb/s...=3570&lngWId=3
See if the directions that guy left in the readme file help you. I would normally post the information directly into the forums for the sake of accurate information archiving, but the intructions are too long and I don't want to plagerize.
•
•
Join Date: Jun 2005
Posts: 2
Reputation:
Solved Threads: 0
you can create .bin file in any assembler or even Borland C compiler.
There is an option in emu8086 to write .bin files to any sector of a virtual floppy drive (that is "FLOPPY_0" file in Emu8086 folder) - here's how to get there by the menus: Emulator -> Show Emulator , Virtual Drive -> Write .bin file to floppy.
You need to select sector 2 for kernel, and sector 1 if it's a boot code.
after you wrote both .boot and .bin file to "FLOPPY_0", you can use RawWrite to write this file to a real floppy drive.
This information is based on this tutorial.
There is an option in emu8086 to write .bin files to any sector of a virtual floppy drive (that is "FLOPPY_0" file in Emu8086 folder) - here's how to get there by the menus: Emulator -> Show Emulator , Virtual Drive -> Write .bin file to floppy.
You need to select sector 2 for kernel, and sector 1 if it's a boot code.
after you wrote both .boot and .bin file to "FLOPPY_0", you can use RawWrite to write this file to a real floppy drive.
This information is based on this tutorial.
![]() |
Similar Threads
- keypress detection (C)
- Pascal (Pascal and Delphi)
- Questions about assembly and boolean algebra (Assembly)
- Some general assembly questions (Assembly)
- Using x86 Assembly Language with Microsoft Visual C++ (C++)
Other Threads in the C++ Forum
- Previous Thread: Controlling the serial port using Visual studio C++
- Next Thread: help with programming
| Thread Tools | Search this Thread |
api array beginner bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion count database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





