DMP Electronics eBOX-3350MX-AP Manual do Utilizador Página 63

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 112
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 62
386SX Single Chip PC Jan Yin Chan Electronics Co.,LTD.
DM&P M6117D : System on a chip
Page 62
Jan Yin Chan Electronics Co,. LTD. M6117D 386SX Single Chip PC
8F-1,No.22,Wuchyuan 2RD.,Hsin Chuang city Taipei Hsien, Taiwan, R.O.C. Tel: 886-(02) 2298-0770 Fax: (02) 2299-1883
check_mode_end:
mov bx, cs: word ptr[si+2]
mov ax, 01010h ; Set DRAM Mode
call Read_From_Chip
and al, 00000111b
or al, bl
xchg ah, al
call Write_To_Chip
;
; Do your memory remapping setting here.
;
; Use the total DRAM size to check whether the remapping is
; allowable or not.
; Use the total DRAM size to set the bit 7-4 of INDEX 12h Split address.
; Select the remap mode by setting the bit 1 of INDEX 11h.
5.4 Remapping Memory
If enable memory remap(INDEX 11h, bit 2), we have two choices: split or move-out. We can use the split mode when the
size of the DRAM is less than 16M owing to the limitation of hardware. In this way, the available memory is increased. When
the memory size is less than 16M, we can also choose the move-out mode. Therefore, we should get the DRAM size by the
Auto_DRAM_Sizing routine. The details of setting the configure registers are described as follows :
; Get the total memory size to bl
;
; 1). Get the total memory size from Auto_DRAM_Sizing
mov bl, cs: byte ptr[si+4]
; or 2). Using the following routine to get the total memory size from reading DRAM mode
mov al, 010h
call Read_From_Chip
and al, 11111000b
xor dx, dx
or dl, al
mov si, offset cs: mem_config_table
mov cx, 32
check_mem_mode:
mov ax, cs: word ptr[si+2]
cmp dx, ax
jz short check_mem_mode_end
add si, 6
loop check_mem_mode
check_mem_mode_end:
mov bl, cs: byte ptr[si+4]
cmp bl, 16
ja do_remap_memory
; if bl >= 16 (the memory size is equal to or greater than 16M ), disable memory remapping.
mov ax, 01111h ; Disable memory remapping
call Read_From_Chip
and al, 11111011b
xchg ah, al
call Write_To_Chip
Vista de página 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 111 112

Comentários a estes Manuais

Sem comentários