CTAOS v5
This commit is contained in:
19
SysCore/hal/floppy/floppy.h
Normal file
19
SysCore/hal/floppy/floppy.h
Normal file
@ -0,0 +1,19 @@
|
||||
/***** floppy.h ******************************************************
|
||||
* (c) 2010 CTA Systems Inc. All rights reserved. Glory To God *
|
||||
* *
|
||||
* Floppy Drive I/O Routines *
|
||||
* ========================= *
|
||||
* *
|
||||
************************************************************ cta os */
|
||||
|
||||
extern unsigned char i86_floppy_initialize_dma(unsigned char* buffer, unsigned length);
|
||||
extern void i86_floppy_motor (unsigned char drive, unsigned char on);
|
||||
extern void i86_floppy_handler(ISR_stack_regs *r);
|
||||
extern void i86_floppy_drive_data (unsigned char drv, unsigned char dma);
|
||||
extern unsigned char i86_floppy_calibrate(unsigned drive);
|
||||
extern void i86_floppy_reset();
|
||||
extern void i86_floppy_read_sector_imp (unsigned* where, unsigned char drive, unsigned char head, unsigned char track, unsigned char sector);
|
||||
extern unsigned char i86_floppy_seek (unsigned drive, unsigned cyl, unsigned head);
|
||||
extern void i86_floppy_install();
|
||||
extern unsigned char i86_floppy_driver_enabled();
|
||||
extern unsigned* i86_read_sector (unsigned* where, unsigned char drive, int sectorLBA);
|
Reference in New Issue
Block a user