OS Dev for Vietnam
-
true I want to write OS. If I haven't MS-DOS then not use "int 21h" How to create "int 21h"(not MS-DOS") U have code:MS-DOS with TASM,Turbo C 3.0 ----------------------------------------------- NASM2 is free download NASm2 != TASM ?NASM_begin.pdf where:confused: VC6,gcc free what is gcc ?It is DJGPP & 32 bit compiler.Link download . If I write 32 bit boot with NASM2...how to mixing NASM with turbo C 3.0,gcc(32 bit kernel) ? I want to: in kernel.asm,mixing NASM with gcc|TC (32 bit) in ker_mix.c,I write: //descsript:create print Day Function char input; void main(){ cout << Action << endl; cin >> input; if(input=='Day'){ ;print now date,month,time } then mix .c(32 bit) with kernel.asm How to do it ----------------------------------------------------- End,I have VGA-screen: 16M memory. It view *.mp4,bitmap file(> 256 color) & run screensaver 3d.All color normal...beatiful But I write VGA_Bitmap.c with TC 3.0 then result display bitmap bad why ? sReason:menory 16M or........ who edit VGA_bitmap.c(gcc)->Result:beautiful color,normal THANKS vietnam09 BY:TUAN1111--
-
true I want to write OS. If I haven't MS-DOS then not use "int 21h" How to create "int 21h"(not MS-DOS") U have code:MS-DOS with TASM,Turbo C 3.0 ----------------------------------------------- NASM2 is free download NASm2 != TASM ?NASM_begin.pdf where:confused: VC6,gcc free what is gcc ?It is DJGPP & 32 bit compiler.Link download . If I write 32 bit boot with NASM2...how to mixing NASM with turbo C 3.0,gcc(32 bit kernel) ? I want to: in kernel.asm,mixing NASM with gcc|TC (32 bit) in ker_mix.c,I write: //descsript:create print Day Function char input; void main(){ cout << Action << endl; cin >> input; if(input=='Day'){ ;print now date,month,time } then mix .c(32 bit) with kernel.asm How to do it ----------------------------------------------------- End,I have VGA-screen: 16M memory. It view *.mp4,bitmap file(> 256 color) & run screensaver 3d.All color normal...beatiful But I write VGA_Bitmap.c with TC 3.0 then result display bitmap bad why ? sReason:menory 16M or........ who edit VGA_bitmap.c(gcc)->Result:beautiful color,normal THANKS vietnam09 BY:TUAN1111--
???
-
true I want to write OS. If I haven't MS-DOS then not use "int 21h" How to create "int 21h"(not MS-DOS") U have code:MS-DOS with TASM,Turbo C 3.0 ----------------------------------------------- NASM2 is free download NASm2 != TASM ?NASM_begin.pdf where:confused: VC6,gcc free what is gcc ?It is DJGPP & 32 bit compiler.Link download . If I write 32 bit boot with NASM2...how to mixing NASM with turbo C 3.0,gcc(32 bit kernel) ? I want to: in kernel.asm,mixing NASM with gcc|TC (32 bit) in ker_mix.c,I write: //descsript:create print Day Function char input; void main(){ cout << Action << endl; cin >> input; if(input=='Day'){ ;print now date,month,time } then mix .c(32 bit) with kernel.asm How to do it ----------------------------------------------------- End,I have VGA-screen: 16M memory. It view *.mp4,bitmap file(> 256 color) & run screensaver 3d.All color normal...beatiful But I write VGA_Bitmap.c with TC 3.0 then result display bitmap bad why ? sReason:menory 16M or........ who edit VGA_bitmap.c(gcc)->Result:beautiful color,normal THANKS vietnam09 BY:TUAN1111--
tuan1111 wrote:
How to create "int 21h"(not MS-DOS")
Google "freedos" for an example of how to accomplished this.
tuan1111 wrote:
what is gcc ?
GCC is the GNU compiler collection (DJGPP is a port of GCC to MS-DOS). It is used to build the Linux kernel (and many applications as well) so it should meet all of your needs. There are several packages available for Windows which include GCC such as MinGW. See http://gcc.gnu.org/[^] for more information about GCC.
tuan1111 wrote:
how to mixing NASM with turbo C 3.0,gcc
In your makefile specify the output type (COFF, ELF, etc.) when invoking NASM. I do believe that most of what you are asking is probably way outside the scope of this forum. This includes your other post as well. You might however want to take a look at Developing a 32 Bit Operating System[^] on how one developer approached this.
modified on Saturday, August 1, 2009 8:16 AM
-
true I want to write OS. If I haven't MS-DOS then not use "int 21h" How to create "int 21h"(not MS-DOS") U have code:MS-DOS with TASM,Turbo C 3.0 ----------------------------------------------- NASM2 is free download NASm2 != TASM ?NASM_begin.pdf where:confused: VC6,gcc free what is gcc ?It is DJGPP & 32 bit compiler.Link download . If I write 32 bit boot with NASM2...how to mixing NASM with turbo C 3.0,gcc(32 bit kernel) ? I want to: in kernel.asm,mixing NASM with gcc|TC (32 bit) in ker_mix.c,I write: //descsript:create print Day Function char input; void main(){ cout << Action << endl; cin >> input; if(input=='Day'){ ;print now date,month,time } then mix .c(32 bit) with kernel.asm How to do it ----------------------------------------------------- End,I have VGA-screen: 16M memory. It view *.mp4,bitmap file(> 256 color) & run screensaver 3d.All color normal...beatiful But I write VGA_Bitmap.c with TC 3.0 then result display bitmap bad why ? sReason:menory 16M or........ who edit VGA_bitmap.c(gcc)->Result:beautiful color,normal THANKS vietnam09 BY:TUAN1111--
vietnam09 THANKS I haven't money. Please,code or ... All free. Please,Answer question:VGA-bitmap this VGA: I use memory of RAM( 256M) for VGA:confused: or 16 bit VGA_bitmap -> 32 bit bitmap_VGA:confused: Better:link for create int 21h code:~.THSANKS End,How to write PartCopy:copy Boot.exe,.bin into CD-ROM:confused: Or :compiler ->strip header-> copy to CD-ROM -> boot action,normal as copy boot.exe,bin to floppy(A:\) :sigh: Please,help me
modified on Monday, August 3, 2009 10:24 PM