Diff for /np2/romimage/STARTUP.ASM between versions 1.2 and 1.6

version 1.2, 2003/12/10 13:52:57 version 1.6, 2004/06/18 07:42:13
Line 1 Line 1
 .186  
   
 CODE    SEGMENT          ORG             0
                 ASSUME CS:CODE,DS:nothing,ES:nothing,SS:nothing          USE16
                 ORG 0000H          CPU             8086
   
 FIXCS           equ             2eh  FIXCS           equ             2eh
   
   segment .startup start=0x0000
   
 START:                  jmp             short nosystems  START:                  jmp             short nosystems
 START2:                 mov             si, offset nobiosmsg  START2:                 mov             si, nobiosmsg
                                 jmp             short dispend                                  jmp             short dispend
   
 nosystems:              mov             si, offset nosysmsg  nosystems:              mov             si, nosysmsg
   
 dispend:                mov             cx, 1000h  
                                 mov             bx, 8000h  
                                 mov             ss, cx  
                                 mov             sp, bx  
                                 add             bh, 20h  
                                 mov             es, bx  
   
                                 xor             di, di  dispend:                mov             ax, 0x0a04
                                   int             0x18
                                   mov             ah, 0x0c
                                   int             0x18
                                   mov             ah, 0x16
                                   mov             dx, 0xe120
                                   int             0x18
                                   cli
                                 cld                                  cld
                                 lea             ax, [di + 20h]                                  mov             ax, 0xa000
                                 rep stosw                                  mov             es, ax
                                 mov             al, 0e1h  
                                 mov             cx, 1fe0h  
 atrclr:                 stosb  
                                 inc             di  
                                 loop    atrclr  
   
                                 db              FIXCS                                  db              FIXCS
                                 lodsw                                  lodsw
                                 mov             di, ax                                  mov             di, ax
 putmsg:                 db              FIXCS  .loop:                  db              FIXCS
                                 lodsw                                  lodsw
                                 test    ax, ax                                  test    ax, ax
                                 je              short putmsgend                                  je              short .end
                                 stosw                                  stosw
                                 or              ah, ah                                  or              ah, ah
                                 je              short putmsg                                  je              short .loop
                                 inc             di                                  inc             di
                                 inc             di                                  inc             di
                                 jmp             short putmsg                                  jmp             short .loop
 putmsgend:              cli  
                                 hlt  .end:                   hlt
                                 jmp             short putmsgend                                  jmp             short .end
   
   
                                 ; システムディスクをセットしてください                                  ; システムディスクをセットしてください
Line 59  nobiosmsg dw 12*160+46 Line 54  nobiosmsg dw 12*160+46
                         dw      4b04h,4f04h,0020h,0042h,0049h,004fh,0053h,002eh                          dw      4b04h,4f04h,0020h,0042h,0049h,004fh,0053h,002eh
                         dw      0052h,004fh,004dh,2c04h,2c29h,572dh,4704h,3904h,0                          dw      0052h,004fh,004dh,2c04h,2c29h,572dh,4704h,3904h,0
   
 CODE    ENDS          ends
         END START  
   

Removed from v.1.2  
changed lines
  Added in v.1.6


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