Diff for /np2/romimage/ITF.ASM between versions 1.1 and 1.5

version 1.1, 2003/12/10 12:48:08 version 1.5, 2004/01/31 20:05:23
Line 1 Line 1
 .186  
   
 CODE    SEGMENT  CODE    SEGMENT
                         ASSUME CS:CODE                          ASSUME CS:CODE
Line 27  item_sw  dw 4 dup(?) Line 26  item_sw  dw 4 dup(?)
 dipitem         ends  dipitem         ends
   
   
 START:                  jmp             short main  START:                  jmp             short vxmain
                                 dw              offset dipswflag                                  dw              offset dipswflag
                                   mov             dl, 1
                                   jmp             short main
                                   mov             dl, 2
                                   jmp             short main
   
   vxmain:                 mov             dl, 0
 main:                   cli  main:                   cli
                                 cld                                  cld
                                 mov             ax, 0030h                                  mov             ax, 0030h
Line 39  main:   cli Line 42  main:   cli
   
                                 mov             ax, DATASEG                                  mov             ax, DATASEG
                                 mov             ds, ax                                  mov             ds, ax
                                   mov             ds:[MACTYPE], dl
   
 ifdef DEBUG_INIT  ifdef DEBUG_INIT
                                 DEBUG_INIT                                  DEBUG_INIT
Line 103  boot_normalprc: push ax Line 107  boot_normalprc: push ax
   
                                 mov             cl, 0e1h                                  mov             cl, 0e1h
                                 xor             dx, dx                                  xor             dx, dx
                                 pop             ax                                  pop             bx
   
                                 add             ax, ax                                  mov             al, ds:[MACTYPE]
                                 mov             bx, ax                                  cmp             al, 0
                                 call    cs:firmproc[bx]                                  je              short necmemchk
                                   dec             al
                                   jne             short retbioswait
   
                                   call    epson_memtest
                                   jmp             short retbioswait
   
   necmemchk:              add             bx, bx
                                   call    cs:firmproc[bx]
                                 call    MEMORY_TEST                                  call    MEMORY_TEST
   
                                 mov             ah, 90  retbioswait:    mov             ah, 90
                                 call    WAITVSYNC                                  call    WAITVSYNC
   
                                 clc  exitprocess:    cli
                                 jmp             exitprocess                                  pushf
   ifdef DEBUG_TERM
                                   DEBUG_TERM
   endif
                                   KEYINT_TERM
                                   call    SCREEN_CLEAR
                                   mov             di, int09off + 8000h
                                   mov             cx, (DATASEGEND - int09off) / 2
                                   xor             ax, ax
                                   rep stosw
                                   popf
                                   ITF_EXIT
   
   
   
 include resource.x86  include resource.x86
 include itfsub.x86  include itfsub.x86
Line 137  include ssp_msw.x86 Line 161  include ssp_msw.x86
   
 ; ---------------------------------------------------------------------------  ; ---------------------------------------------------------------------------
   
   
   
 disptextjis:    push    dx  disptextjis:    push    dx
                                 push    di                                  push    di
                                 call    TEXTOUT_CS                                  call    TEXTOUT_CS
Line 154  setdips:  push bx Line 176  setdips:  push bx
                                 mov             di, dx                                  mov             di, dx
                                 mov             ch, [di+DIPSW_1]                                  mov             ch, [di+DIPSW_1]
                                 mov             di, 160*20+20                                  mov             di, 160*20+20
                                 shl             dx, 4                                  mov             cl, 4
                                   shl             dx, cl
                                 add             di, dx                                  add             di, dx
                                 shl             dx, 1                                  shl             dx, 1
                                 add             di, dx                                  add             di, dx
Line 308  curitemputs: or  dl, 80h Line 331  curitemputs: or  dl, 80h
   
 ; ---------------------------------------------------------------------------  ; ---------------------------------------------------------------------------
   
 REBOOT_PROCESS: stc  REBOOT_PROCESS:
   ifdef NP2
 exitprocess:    cli                                  cli
                                 pushf                                  mov             si, offset np2str_hwreset
 ifdef DEBUG_TERM                                  call    sendnp2port
                                 DEBUG_TERM  hltlp:                  hlt
                                   jmp             short hltlp
 endif  endif
                                 KEYINT_TERM                                  jmp             exitprocess
                                 call    SCREEN_CLEAR  
                                 mov             di, int09off + 8000h  
                                 mov             cx, (DATASEGEND - int09off) / 2  
                                 xor             ax, ax  
                                 rep stosw  
                                 popf  
                                 ITF_EXIT  
   
 CODE    ENDS  CODE    ENDS
         END START          END START

Removed from v.1.1  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>