|
|
| version 1.2, 2003/12/27 11:55:23 | 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 68 key1cklp: call boot_keycheck | Line 67 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 |
| key2ck: mov ah, 32 | 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 128 necmemchk: add bx, bx | Line 125 necmemchk: add bx, bx |
| retbioswait: 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 166 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 320 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 |