Changeset 630 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
- Timestamp:
- Dec 31, 2024, 3:38:24 PM (8 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
r625 r630 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 3by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2024 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 39 39 mov al, FLG_DEVCONTROL_SRST | FLG_DEVCONTROL_nIEN 40 40 ; --- 41 %define IO_SEQUENCE ; Do not modify DX while this is in effect! 41 42 OUTPUT_AL_TO_IDE_CONTROL_BLOCK_REGISTER DEVICE_CONTROL_REGISTER_out 42 43 mov ax, HSR0_RESET_WAIT_US … … 52 53 ; --- 53 54 OUTPUT_AL_TO_IDE_CONTROL_BLOCK_REGISTER DEVICE_CONTROL_REGISTER_out 55 %undef IO_SEQUENCE ; DX can be freely modified again. 54 56 mov ax, HSR1_RESET_WAIT_US 55 57 call Timer_DelayMicrosecondsFromAX … … 277 279 ALIGN JUMP_ALIGN 278 280 OutputSectorCountAndAddress: 281 %define IO_SEQUENCE ; Do not modify DX while this is in effect! 279 282 OUTPUT_AL_TO_IDE_REGISTER SECTOR_COUNT_REGISTER 280 283 … … 287 290 mov al, ch 288 291 OUTPUT_AL_TO_IDE_REGISTER LBA_HIGH_REGISTER 292 %undef IO_SEQUENCE ; DX can be freely modified again. 289 293 ret 290 294
Note:
See TracChangeset
for help on using the changeset viewer.