Changeset 49 in xtideuniversalbios
- Timestamp:
- Oct 8, 2010, 4:04:22 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/Assembly_Library
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/CgaSnow.inc
r48 r49 25 25 %ifdef ELIMINATE_CGA_SNOW 26 26 %ifidn %1, stosb 27 call CgaSnow_Stosb WithoutCgaSnow27 call CgaSnow_Stosb 28 28 %elifidn %1, stosw 29 call CgaSnow_Stosw WithoutCgaSnow29 call CgaSnow_Stosw 30 30 %elifidn %1, scasb 31 call CgaSnow_Scasb WithoutCgaSnow31 call CgaSnow_Scasb 32 32 %elifidn %1, rep movsb 33 call CgaSnow_RepMovsb WithoutCgaSnow33 call CgaSnow_RepMovsb 34 34 %else 35 35 %error "Invalid instruction passed to WAIT_RETRACE_IF_NECESSARY_THEN" -
trunk/Assembly_Library/Src/Display/CgaSnow.asm
r48 r49 15 15 16 16 ;-------------------------------------------------------------------- 17 ; CgaSnow_Stosb WithoutCgaSnow18 ; CgaSnow_Stosw WithoutCgaSnow17 ; CgaSnow_Stosb 18 ; CgaSnow_Stosw 19 19 ; Parameters: 20 20 ; AL: Character to output … … 28 28 ;-------------------------------------------------------------------- 29 29 ALIGN JUMP_ALIGN 30 CgaSnow_Stosb WithoutCgaSnow:30 CgaSnow_Stosb: 31 31 call LoadAndVerifyStatusRegisterFromBDA 32 32 jne SHORT .StosbWithoutWaitSinceUnknownPort … … 42 42 43 43 ALIGN JUMP_ALIGN 44 CgaSnow_Stosw WithoutCgaSnow:44 CgaSnow_Stosw: 45 45 push bx 46 46 call LoadAndVerifyStatusRegisterFromBDA … … 59 59 60 60 ;-------------------------------------------------------------------- 61 ; CgaSnow_Scasb WithoutCgaSnow61 ; CgaSnow_Scasb 62 62 ; Parameters: 63 63 ; AL: Byte for comparison … … 70 70 ;-------------------------------------------------------------------- 71 71 ALIGN JUMP_ALIGN 72 CgaSnow_Scasb WithoutCgaSnow:72 CgaSnow_Scasb: 73 73 call LoadAndVerifyStatusRegisterFromBDA 74 74 jne SHORT .ScasbWithoutWaitSinceUnknownPort … … 77 77 cli ; Interrupt request would mess up timing 78 78 WAIT_UNTIL_SAFE_CGA_WRITE 79 mov al, ah 79 80 .ScasbWithoutWaitSinceUnknownPort: 80 mov al, ah81 81 scasb 82 82 sti … … 85 85 86 86 ;-------------------------------------------------------------------- 87 ; CgaSnow_RepMovsb WithoutCgaSnow87 ; CgaSnow_RepMovsb 88 88 ; Parameters: 89 89 ; CX: Number of characters to copy … … 97 97 ;-------------------------------------------------------------------- 98 98 ALIGN JUMP_ALIGN 99 CgaSnow_RepMovsb WithoutCgaSnow:99 CgaSnow_RepMovsb: 100 100 call LoadAndVerifyStatusRegisterFromBDA 101 101 jne SHORT .RepMovsbWithoutWaitSinceUnknownPort
Note:
See TracChangeset
for help on using the changeset viewer.