Hey allemaal,
Ik ben nu bezig met een bootable floppy. Hiervoor gebruik ik een C(++)/ASM combinatie, wat goed werkt. Mijn probleem is nu dat zodra ik floating points ga gebruiken ik deze error's krijg:
Ik heb de volgende optie al toegevoegd:
Maar zonder resultaat! Dit is trouwens de compile batch:
Weet iemand misschien hoe ik van deze errors af kan komen?
Ik ben nu bezig met een bootable floppy. Hiervoor gebruik ik een C(++)/ASM combinatie, wat goed werkt. Mijn probleem is nu dat zodra ik floating points ga gebruiken ik deze error's krijg:
code:
1
2
3
4
| 1>cmath.obj(cmath.cpp) : error L2029: '__fac' : unresolved external 1>cmath.obj(cmath.cpp) : error L2029: 'FIDRQQ' : unresolved external 1>cmath.obj(cmath.cpp) : error L2029: '__aNfcompp' : unresolved external 1>cmath.obj(cmath.cpp) : error L2029: 'FIWRQQ' : unresolved external |
Ik heb de volgende optie al toegevoegd:
code:
1
| extern "C" int _fltused = 1; |
Maar zonder resultaat! Dit is trouwens de compile batch:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
| .\VC152\CL.EXE /AT /G2 /Gs /Gx /c /Zl -fp:precise *.cpp .\VC152\ML.EXE /AT /c section1_asm.asm E:\NASM\nasm -f bin core_asm.asm -o CORE.COM .\VC152\LINK.EXE /T /NOD section1_asm.obj section1.obj cdisplay.obj cstring.obj cfloppy.obj cfat.obj ckeyboard.obj cmath.obj del *.obj rename section1_asm.com SECT1.COM move /Y *.com "D:\Programming\PHP\Luova WebStudio\b\BootLoader\" |
Weet iemand misschien hoe ik van deze errors af kan komen?
-- All science is either physics or stamp collecting