flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Reading floppies?

Author
Thread Post new topic Reply to topic
Keoro



Joined: 28 May 2004
Posts: 4
Keoro 28 May 2004, 03:24
How would I read ASCII from a floppy using RAW and display it? (16bit realmode)
Post 28 May 2004, 03:24
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 28 May 2004, 09:00
In real mode 16 bits you could use int13h BIOS service to read a floppy sector into a memory (check BIOS INT 13h parameters and subfunctions)

IF that sectors contains plain ASCII inforation you could then use a loop and BIOS INT 10h (subfunction 0Eh) services to output that buffer on screen ... one ASCII cahracter at a time...

This is one of the multiple approaches possible

However it might be usefull if you provide more information on what you want and/or need to really do Wink
Post 28 May 2004, 09:00
View user's profile Send private message Visit poster's website 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.