flat assembler
Message board for the users of flat assembler.

Index > OS Construction > QII:how to create/Read word.txt to hard disk by bios ?

Author
Thread Post new topic Reply to topic
TUAN_CD



Joined: 26 Sep 2009
Posts: 14
TUAN_CD 03 Oct 2009, 03:17
Please source sample code create & end Read word.txt to hard disk
Create word.txt contain string :hello hdd
Thank
[vietnam 2009.CD 2] Very Happy

_________________
I like make OS
Post 03 Oct 2009, 03:17
View user's profile Send private message Yahoo Messenger Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 03 Oct 2009, 04:50
The BIOS does not provides an interface for manipulating files. You can still use Int13, but you'll have to handle the file system (e.g. FAT16, FAT32, NTFS, Ext, etc) yourself.

Search in OS Constructions threads related to FAT, there are some that use BIOS but take in mind that you'll probably won't be able to use it with your hard disk as it is probably formatted in NTFS or Ext2/3.
Post 03 Oct 2009, 04:50
View user's profile Send private message Reply with quote
tom tobias



Joined: 09 Sep 2003
Posts: 1320
Location: usa
tom tobias 03 Oct 2009, 10:53
TUAN_CD wrote:

QII:how to create/Read word.txt to hard disk by bios ?
Please source sample code create & end Read word.txt to hard disk
Create word.txt contain string :hello hdd
Thank
Does this link help?

http://www.iugaza.edu.ps/emp/emp_folders/99664/AssemblyLab_8.pdf

Question
Post 03 Oct 2009, 10:53
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.