Changeset 258 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/RamVars.inc


Ignore:
Timestamp:
Feb 22, 2012, 7:01:53 PM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Added floppy drive emulation over the serial connection (MODULE_SERIAL_FLOPPY). Along the way, various optimizations were made to stay within the 8K ROM size target. Also, serial code now returns the number of sectors transferred.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/RamVars.inc

    r248 r258  
    1111struc XLATEVARS
    1212    .wFDandHDswap:
    13     .bFDSwap        resb    1   ; Floppy Drive to swap to 00h and vice versa
    14     .bHDSwap        resb    1   ; Hard Drive to swap to 80h and vice versa
    15     .bXlatedDrv     resb    1   ; Drive number after translation
    16                     resb    1   ; alignment
     13    .bFDSwap            resb    1   ; Floppy Drive to swap to 00h and vice versa
     14    .bHDSwap            resb    1   ; Hard Drive to swap to 80h and vice versa
     15    .bXlatedDrv         resb    1   ; Drive number after translation
     16%ifdef MODULE_SERIAL_FLOPPY
     17    .bFlopCreateCnt:
     18    .bFlopCntAndFirst   resb    1   ; Normally, packed starting floppy drive number (high order 7 bits)
     19                                    ; and number of drives (low order bit, max 2 drives supported).
     20                                    ; During initialization, until the end of DetectDrives_FromAllIDEControllers,
     21                                    ; this byte contains the raw number of floppy drives seen (using .bFlopCreateCnt)
     22%else
     23                        resb    1   ; alignment
     24%endif
    1725endstruc
    1826
     
    2735
    2836    .wDrvCntAndFirst:
     37    .bFirstDrv          resb    1   ; Number of first drive for this BIOS
    2938    .bDrvCnt            resb    1   ; Number of drives handled by this BIOS
    30     .bFirstDrv          resb    1   ; Number of first drive for this BIOS
    3139
    3240    ; Variables for drive number translation
Note: See TracChangeset for help on using the changeset viewer.