Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. OS Dev for Vietnam

OS Dev for Vietnam

Scheduled Pinned Locked Moved C / C++ / MFC
questiongraphicsperformancetutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tuan1111
    wrote on last edited by
    #1

    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--

    N B T 3 Replies Last reply
    0
    • T 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--

      N Offline
      N Offline
      Neil Jigger
      wrote on last edited by
      #2

      ???

      1 Reply Last reply
      0
      • T 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--

        B Offline
        B Offline
        Bacon Ultimate Cheeseburger
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • T 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--

          T Offline
          T Offline
          tuan1111
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups