Changeset 90 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Jan 27, 2011, 11:31:31 AM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers
- Files:
-
- 1 added
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r84 r90 1 ; File name : Int13h_Jump.asm 2 ; Project name : IDE BIOS 3 ; Created date : 21.9.2007 4 ; Last update : 14.1.2011 5 ; Author : Tomi Tilli, 6 ; : Krister Nordvall (optimizations) 1 ; Project name : XTIDE Universal BIOS 7 2 ; Description : Int 13h BIOS functions (Floppy and Hard disk). 8 3 … … 227 222 dw AH3h_HandlerForWriteDiskSectors ; 03h, Write Disk Sectors (All) 228 223 dw AH4h_HandlerForVerifyDiskSectors ; 04h, Verify Disk Sectors (All) 229 dw AH5h_HandlerForFormatDiskTrack; 05h, Format Disk Track (XT, AT, EISA)224 dw Int13h_UnsupportedFunction ; 05h, Format Disk Track (XT, AT, EISA) 230 225 dw Int13h_UnsupportedFunction ; 06h, Format Disk Track with Bad Sectors (XT) 231 226 dw Int13h_UnsupportedFunction ; 07h, Format Multiple Cylinders (XT) … … 242 237 dw Int13h_UnsupportedFunction ; 12h, Controller RAM Diagnostic (XT) 243 238 dw Int13h_UnsupportedFunction ; 13h, Drive Diagnostic (XT) 244 dw AH14h_HandlerForControllerInternalDiagnostic; 14h, Controller Internal Diagnostic (All)239 dw Int13h_UnsupportedFunction ; 14h, Controller Internal Diagnostic (All) 245 240 dw AH15h_HandlerForReadDiskDriveSize ; 15h, Read Disk Drive Size (AT+) 246 241 dw Int13h_UnsupportedFunction ; 16h, -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r84 r90 1 ; File name : Int19h.asm 2 ; Project name : IDE BIOS 3 ; Created date : 3.8.2007 4 ; Last update : 14.1.2011 5 ; Author : Tomi Tilli, 6 ; : Krister Nordvall (optimizations) 1 ; Project name : XTIDE Universal BIOS 7 2 ; Description : Int 19h BIOS functions (Boot Strap Loader). 8 3 … … 12 7 B_READ_RETRY_TIMES EQU 3 ; Number of times to retry 13 8 14 15 ;--------------------------------------------------------------------16 ; Int 19h software interrupt handler for late initialization.17 ; Calls actual Int 19h after initialization is complete.18 ;19 ; Int19h_LateInitialization20 ; Parameters:21 ; Nothing22 ; Returns:23 ; Never returns24 ;--------------------------------------------------------------------25 ALIGN JUMP_ALIGN26 Int19h_LateInitialization:27 call Initialize_ShouldSkip ; Skip initialization?28 jc SHORT .SkipInitialization29 call Initialize_AndDetectDrives30 int INTV_BOOTSTRAP ; Call actual boot loader31 .SkipInitialization:32 call RamVars_Initialize ; RAMVARS must be initialized even for simple boot loader33 ; Fall to Int19h_SimpleBootLoader34 35 ;--------------------------------------------------------------------36 ; Simple boot loader.37 ; Boot sequence is fixed to 00h, 80h and INT 18h.38 ;39 ; Int19h_SimpleBootLoader40 ; Parameters:41 ; Nothing42 ; Returns:43 ; Never returns44 ;--------------------------------------------------------------------45 ALIGN JUMP_ALIGN46 Int19h_SimpleBootLoader:47 sti ; Enable interrupts48 call RamVars_GetSegmentToDS49 xor dx, dx50 call Int19h_TryToLoadBootSectorFromDL51 jc SHORT Int19h_JumpToBootSector52 mov dl, 80h53 call Int19h_TryToLoadBootSectorFromDL54 jc SHORT Int19h_JumpToBootSector55 call Int19h_BootFailure ; Should never return56 jmp SHORT Int19h_SimpleBootLoader57 9 58 10 ;-------------------------------------------------------------------- -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19hMenu.asm
r3 r90 1 ; File name : Int19hMenu.asm 2 ; Project name : IDE BIOS 3 ; Created date : 25.3.2010 4 ; Last update : 12.4.2010 5 ; Author : Tomi Tilli 1 ; Project name : XTIDE Universal BIOS 6 2 ; Description : Int 19h BIOS functions for Boot Menu. 7 3 … … 24 20 LOAD_BDA_SEGMENT_TO ds, ax 25 21 call BootVars_StorePostStackPointer 26 call BootVars_StoreSystemInt18hAndInstallOurs27 22 28 23 ; Install new INT 19h handler now that BOOTVARS has been initialized … … 111 106 ALIGN JUMP_ALIGN 112 107 .Int18hRomBoot: 113 call BootVars_RestoreSystemInt18h114 108 call BootVars_SwitchBackToPostStack 115 call Int19h_BootFailure ; Should never return 116 jmp SHORT Int19hMenu_BootLoader ; Status unknown so reinitialize boot loader 109 jmp Int19h_BootFailure ; Never returns
Note:
See TracChangeset
for help on using the changeset viewer.