|
|
How do i get my kernel to load binary programs?
Author |
Message |
smeezekitty
|
Re: How do i get my kernel to load binary programs?
i am having fun implmenting it into my kernel tasm never gives me trouble p.s. turbo debugger is awesome
|
Fri Oct 09, 2009 11:29 pm |
|
|
smeezekitty
|
Re: How do i get my kernel to load binary programs?
uhoh Code: Turbo Link Version 5.0 Copyright (c) 1992 Borland International Error: Undefined symbol exec(void near*) in module NODOS.CPP Warning: No stack
|
Sat Oct 10, 2009 12:01 am |
|
|
DudeOfX
Joined: Sat Jul 25, 2009 9:15 am Posts: 257
|
Re: How do i get my kernel to load binary programs?
Code: TCC -v -mt kernel.c exec.obj you need to include exec.obj at TCC
|
Sat Oct 10, 2009 6:33 am |
|
|
smeezekitty
|
Re: How do i get my kernel to load binary programs?
Turbo Link Version 5.0 Copyright (c) 1992 Borland International Error: Undefined symbol exec(void near*) in module NODOS.CPP
|
Sat Oct 10, 2009 12:29 pm |
|
|
DudeOfX
Joined: Sat Jul 25, 2009 9:15 am Posts: 257
|
Re: How do i get my kernel to load binary programs?
you have to link in EXEC.OBJ assemble EXEC.ASM -> EXEC.OBJ then link it in with whatever needs it...
|
Sat Oct 10, 2009 12:37 pm |
|
|
smeezekitty
|
Re: How do i get my kernel to load binary programs?
heres how i compile nasm16 -f bin -o bnl.bin boot.asm tasm exec tasm call tcc -mt -c nodos tlink /n /m call+exec+nodos, call.exe exetobin call.exe kernel.ker copy /b bnl.bin+kernel.ker kernel.out copy kernel.ker dbg.com
|
Sat Oct 10, 2009 12:46 pm |
|
|
DudeOfX
Joined: Sat Jul 25, 2009 9:15 am Posts: 257
|
Re: How do i get my kernel to load binary programs?
try: Code: tcc -mt -c nodos.c exec.obj tlink /n /m call+nodos, call.exe
|
Sat Oct 10, 2009 2:38 pm |
|
|
smeezekitty
|
Re: How do i get my kernel to load binary programs?
same linker error
|
Sat Oct 10, 2009 3:37 pm |
|
|
DudeOfX
Joined: Sat Jul 25, 2009 9:15 am Posts: 257
|
Re: How do i get my kernel to load binary programs?
case sensitivity maybe? else I have no clue
|
Sat Oct 10, 2009 3:46 pm |
|
|
smeezekitty
|
Re: How do i get my kernel to load binary programs?
tried with and without case sensitivity but i do remember that tlink hates it when i call asm code from c
|
Sat Oct 10, 2009 4:27 pm |
|
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|