flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Need help! |
Author |
|
RedGhost 11 Feb 2006, 05:13
for floppy operations you can use int $13 or http://www.dex4u.com/images/FloppyDriver.zip (dex4u's floppy driver[works in pmode too])
int $16 can be used to read key input and int $10 can be used for printing (for the console interface) for a basic prompt you could do something like Code: @mainprompt: xor ah, ah int $16 cmp al, $0D ;return jne @f ;return was pressed @@: cmp al, $08 ;backspace jne @f ;backspace was pressed @@: ;a normal character print it to the screen etc from there you can parse the command line for the sector number and convert it to a number then read that sector or what have you |
|||
11 Feb 2006, 05:13 |
|
adefeo 12 Feb 2006, 00:43
Thanks
I'd still like to know how to implement FAT12 though, for the future. Does anyone know any tutorials or examples on how to do this easily? I hear FAT12 writing drivers can be a nightmare =/ -512 |
|||
12 Feb 2006, 00:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.