Files
lba1-classic/LIB386/LIB_SVGA/S_SCREEN.ASM
Gwen Gourevich c5f4f6ba25 Initial commit
2021-10-27 10:34:18 +02:00

85 lines
1.2 KiB
NASM
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
;----------------------------------------------------------------------------
; S_SCREEN.ASM 386
; (c) Adeline 1993
;----------------------------------------------------------------------------
.386p
jumps
.model SMALL, SYSCALL
;----------------------------------------------------------------------------
.data
include svga.ash
ALIGN 4
Diff dd ?
;----------------------------------------------------------------------------
.code
public NoLanguage Cls
public NoLanguage CopyScreen
;----------------------------------------------------------------------------
; Cls()
;
Cls proc uses edi
mov edi, Log
xor eax, eax
mov ecx, 307200/4
rep stosd
ret
Cls endp
;----------------------------------------------------------------------------
; CopyScreen( UBYTE *src, UBYTE *dst )
;
; Attention:De mmoire … mmoire (pas sur vido ram)
;
CopyScreen proc uses esi edi,\
src:DWORD, dst:DWORD
mov esi, src
mov edi, dst
mov ecx, 307200/4
rep movsd
ret
CopyScreen endp
;----------------------------------------------------------------------------
;
; The
End