Results 1 to 3 of 3

Thread: Write to floppy

  1. #1

    Thread Starter
    Hyperactive Member naruponk's Avatar
    Join Date
    Feb 2004
    Location
    Some where in the world
    Posts
    423

    Question Write to floppy

    Hi,

    I would like to write something to my floppy, here is my testing code

    Code:
    ORG 100h
    
    mov ah,03h
    mov al,1   ;number of sectors
    mov ch,0   ;cylinder
    mov cl,1   ;sector
    mov dh,0   ;head
    mov bx,1584h  
    int 13h     
                  
    mov al,bx   ;this just print
    mov ah,0eh
    int 10h
    
    ret
    is this code write something to my floppy?
    first i think so but when i tried to remove my floppy this code still not error
    so, i confuse that is it write to my floppy or where else ....

    how can i write to floppy by specify each byte on that floppy?
    anyone has some tiny code to do this?

    Please help ....
    thanks

  2. #2
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: Write to floppy

    what are you trying to write to the floppy?
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  3. #3

    Thread Starter
    Hyperactive Member naruponk's Avatar
    Join Date
    Feb 2004
    Location
    Some where in the world
    Posts
    423

    Re: Write to floppy

    I want to write floppy at Sector1 to be able to boot from that floppy.
    I just want to boot from floppy and then screen would show "This is my first boot from floppy".

    How can i write an assembly to Sector1 on floppy?
    Any kind of data can be written to floppy?

    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width