*** tweak.asm Mon Jul 27 12:00:00 1998 --- tweak.a86 Sun Jul 30 02:26:44 2000 *************** *** 1,14 **** ; ; mobioNX with "Opti FineStarPlus Chipset" tweak program ; 1998/07/27 written by ippei ito ! ! code segment ! ! assume cs:code,ds:code,ss:code,es:code ! ! org 0100h ! start: ;-------リード系 mov AH,014h ; Memory Decode Control Reg call inreg --- 1,25 ---- + ; Sun Jul 30 01:34:48 JST 2000 + ; modified for r86 and WindowsNT by linear a + ; ; mobioNX with "Opti FineStarPlus Chipset" tweak program ; 1998/07/27 written by ippei ito ! ! cseg start: + ; push ds + push cs + pop ds + ; directio + mov ax, 3d00h + mov dx, giveio + int 21h + ; result: cy = 1, ax = 5 + jmp tweak + giveio: + db "\\.\giveio", 0 + + tweak: ;-------リード系 mov AH,014h ; Memory Decode Control Reg call inreg *************** *** 64,69 **** --- 75,81 ---- or AL,00001000b ; 1/4 Refresh#/32KHz falling edge call outreg + ; pop ds mov ax,04c00h ; DOS _EXIT int 021h *************** *** 94,98 **** nop ret ! code ends ! end start --- 106,109 ---- nop ret ! end