1 ;-----------------------------------------------------------
\r
3 ; MXSA.ASM - Start address function
\r
4 ; Copyright (c) 1993,1994 by Alessandro Scotti
\r
6 ;-----------------------------------------------------------
\r
10 PUBLIC mxStartAddress
\r
12 MX_TEXT SEGMENT USE16 PARA PUBLIC 'CODE'
\r
13 ASSUME cs:MX_TEXT, ds:NOTHING, es:NOTHING
\r
15 ;-----------------------------------------------------------
\r
17 ; Modifies the starting address of video memory.
\r
20 ; StartAddr = new start address of video memory
\r
24 mxStartAddress PROC FAR
\r
25 ARG StartAddr:WORD = ARG_SIZE
\r
31 mov al, 0Ch ; Linear Starting Address high
\r
35 mov al, 0Dh ; Linear Starting Address low
\r