Changeset 567 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
- Timestamp:
- May 26, 2014, 1:25:15 PM (10 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
r556 r567 44 44 ; DS: RAMVARS segment 45 45 ; Corrupts registers: 46 ; AX 46 ; AX, CL 47 47 ;-------------------------------------------------------------------- 48 48 .StealMemoryForRAMVARS: … … 56 56 mov al, [cs:ROMVARS.bStealSize] 57 57 sub [BDA.wBaseMem], ax 58 mov ax, [BDA.wBaseMem] ; We can save a byte here by using INT 12h instead 59 eSHL_IM ax, 6 ; Segment to first stolen kB (*=40h) 58 mov ax, [BDA.wBaseMem] 59 %ifdef USE_186 60 shl ax, 6 ; Segment to first stolen kB (*=40h) 61 %else 62 mov cl, 6 63 shl ax, cl 64 %endif 60 65 ; Fall to .InitializeRamvars 61 66 … … 186 191 ; Returns: 187 192 ; AL: First floppy drive number supported 188 ; 193 ; CF: Number of floppy drives supported (clear = 1, set = 2) 189 194 ; SF: Emulating drives (clear = yes, set = no) 190 195 ; Corrupts registers:
Note: See TracChangeset
for help on using the changeset viewer.