Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cboxgo

  1. cboxgo

    low-level os-independent disk access

    Prattaratt, Here's a link to Ralf's Interrupts: http://www.cs.cmu.edu/~ralf/files.html
  2. cboxgo

    Writing Interrupts for Disk access?

    Has anyone here written interrupts for disk access in their own operating system(s)? I'm trying to get a better understanding of positioning data on a hard disk without existing operating system or BIOS interrupts. I'm also trying to learn more about advantages/disadvantages using writing by...
  3. cboxgo

    Any Genius (Guru) out there?Making an OS? Protected mode? Boot sector?

    Hello Sarnath, I saw the AmkG's entry and I thought I had typed mine incorrectly. It was correct the first time 0000:07C00h. Thanks!
  4. cboxgo

    High Level language not suitable for writing hardware device driver???

    AmkG, can you not do inport/output operations with inline assembly?
  5. cboxgo

    Software Interrupts

    Does anyone have sample code for loading the Interrupt Descriptor Table? I would be very interested in seeing that.
  6. cboxgo

    Any Genius (Guru) out there?Making an OS? Protected mode? Boot sector?

    I should correct myself. I typed 0000:07C00h but I should have typed 007c:0000h.
  7. cboxgo

    Why doesn't "if" work with NASM

    You can use a High-Level flow Directive in MASM. It would look something like this: .IF(AL<10) add al,1 .ELSEIF(AL<16) add al,2 .ELSE mov al,3 .ENDIF This won't work with NASM as far as I'm aware. You would have to do some form of a JUMP instruction based on a CMP instruction. That...
  8. cboxgo

    Any Genius (Guru) out there?Making an OS? Protected mode? Boot sector?

    1) How do I make a boot sector? ^Once your kernel is written, you can use the following command to write it out to a floppy to boot from: debug <filename> - w 100 0 0 1 - q ^However, your assembly code would determine where in memory it executes. To become the kernel, it would have to move...

Part and Inventory Search

Back
Top