home *** CD-ROM | disk | FTP | other *** search
- nansi.asm (24 Jun 1986 12:08:08)
- ..\nansi.asm (21 May 1988 23:35:36)
- ===================
- 26 26 |; noticed & squashed 2 related bugs in tab expansion
- 27 27 |; 13 feb 86: Squashed them again, harder
- + 28 |; 10 Apr 88: Added more complete 43/50 line support
- 28 29 |;------------------------------------------------------------------------
- 29 30 |
- ===================
- 130 131 |timer_low dw ? ; low word of time-of-day counter (18.2 hz)
- 131 132 |
- + 133 |
- + 134 | org 84h
- + 135 |video_rows db ?
- 132 136 |ABS40 ends
- 133 137 |
- ===================
- 256 260 | push ds
- 257 261 | push es
- + 262 |
- + 263 | assume cs:code, ds:abs40
- + 264 | mov ax, abs40
- + 265 | mov ds, ax
- + 266 | mov al, video_rows
- + 267 | mov cs:max_y, al
- + 268 | assume cs:code, ds:code
- 258 269 |
- 259 270 | ; Read requested function information into registers
- ===================
- 423 434 | push es
- 424 435 | push_all
- + 436 | mov bx, 40h
- + 437 | mov ds, bx
- + 438 | assume cs:code, ds:abs40
- + 439 | mov bl, video_rows
- + 440 | mov cs:max_y, bl
- 425 441 | mov cx, 1
- 426 442 | mov bx, cs
- 427 443 | mov es, bx
- 428 444 | mov ds, bx
- + 445 | assume cs:code, ds:code
- 429 446 | mov si, offset int_29_buf
- 430 447 | mov byte ptr [si], al
- ===================
- 837 854 | mov ds, ax
- 838 855 |; Does anybody ever use anything but page zero?
- + 856 |; Yes!
- + 857 | mov al,active_page
- + 858 | cbw
- + 859 | add ax,ax
- + 860 | xchg bx,ax
- - 839 |; mov al,active_page
- - 840 |; cbw
- - 841 |; add ax,ax
- - 842 |; xchg bx,ax
- 843 861 | mov ax, cs:cur_coords
- + 862 | mov cursor_posn[bx],ax
- - 844 | mov cursor_posn,ax
- 845 863 | ret
- 846 864 |
- ===================
-