Subj : Quest: Rebuilding c0t.obj for 16-bit BC++ OS loader... To : borland.public.cpp.borlandcpp From : "lewi" Date : Thu Jul 17 2003 06:20 pm Hi, I have BC++ 3.1 and I want to have a ASM/C(maybe C++ later) OSLoader with 16-bit C startup code, 16-bit C code, 16/32-bit code starting right after "call _main" in c0.asm for entering PMode and jump to 32-bit kernel(VC++ 6.0), and last other support 16-bit asm codes for C loader code to call... Now I have tried this a year back(not as a 16-bit loader but as 32-bit RMode basic kernel) and I had it written down on HD and the drive was format by mistake and I can't rememeber everything that was need... Now I have tried this week to recreate the c0t.obj so linking will work for... C0Start.asm... extrn _main ..model tiny org 000h ..code _startup: call _main jmp short $ end _startup OSLoader.cpp... _extern void main() { for(;;); } but tlink is not finding the entry point to line with cmline... c:\bc31\bin\tasm.exe c0Start.asm, c0tStart.obj c:\bc31\bin\bcc.exe -1 -c -mt -oOSLoad.obj OSLoad.cpp c:\bc31\bin\tlink.exe /n /s /t c0tStart.obj OSLoad.obj, OSLoad.com Any help to get this to link right... .