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

version 1.1, 2003/12/10 12:48:08 version 1.3, 2004/01/23 08:44:30
Line 27  item_sw  dw 4 dup(?) Line 27  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 43  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 63  key1cklp:  call boot_keycheck Line 68  key1cklp:  call boot_keycheck
   
 ;                               jmp             ssp_start  ;                               jmp             ssp_start
   
                                   cmp             byte ptr ds:[MACTYPE], 0
                                   jne             short key2ck
                                 call    BEEP_TEST                                  call    BEEP_TEST
   
                                 mov             ah, 32  key2ck:                 mov             ah, 32
 key2cklp:               call    boot_keycheck  key2cklp:               call    boot_keycheck
                                 cmp             al, BOOT_MENU                                  cmp             al, BOOT_MENU
                                 je              short boot_menujmp                                  je              short boot_menujmp
Line 103  boot_normalprc: push ax Line 110  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 164  include ssp_msw.x86
   
 ; ---------------------------------------------------------------------------  ; ---------------------------------------------------------------------------
   
   
   
 disptextjis:    push    dx  disptextjis:    push    dx
                                 push    di                                  push    di
                                 call    TEXTOUT_CS                                  call    TEXTOUT_CS
Line 308  curitemputs: or  dl, 80h Line 333  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.3


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