Diff for /np2/i286x/memory.x86 between versions 1.8 and 1.9

version 1.8, 2004/01/10 17:24:01 version 1.9, 2004/01/25 05:41:29
Line 9  section .bss Line 9  section .bss
         global  _mem          global  _mem
         extern  _i286core          extern  _i286core
         extern  _grcg          extern  _grcg
         extern  _extmem  
         extern  _gdcs          extern  _gdcs
         extern  _tramupdate          extern  _tramupdate
         extern  _vramupdate          extern  _vramupdate
         extern  _cgwindow          extern  _cgwindow
 ;       extern  ___font  
         extern  _vramop          extern  _vramop
   
 _mem    resb    0x200000  _mem    resb    0x200000
Line 279  grcgtdw_end:  pop  ecx Line 277  grcgtdw_end:  pop  ecx
                                         and             ecx, 3fffh                                          and             ecx, 3fffh
                                         shr             ebx, 12                                          shr             ebx, 12
                                         and             ebx, byte (3*4)                                          and             ebx, byte (3*4)
                                         add             ecx, [_extmem + extmem_t.pageptr + ebx]                                          add             ecx, [_i286core + i286core_t.ems + ebx]
                                         mov             [EXTMEMORY + ecx], dl                                          mov             [EXTMEMORY + ecx], dl
                                         pop             ecx                                          pop             ecx
                                         pop             ebx                                          pop             ebx
Line 402  grcgtcr_end:  not  al Line 400  grcgtcr_end:  not  al
                                         and             ecx, 3fffh                                          and             ecx, 3fffh
                                         shr             ebx, 12                                          shr             ebx, 12
                                         and             ebx, byte (3*4)                                          and             ebx, byte (3*4)
                                         add             ecx, [_extmem + extmem_t.pageptr + ebx]                                          add             ecx, [_i286core + i286core_t.ems + ebx]
                                         mov             al, [EXTMEMORY + ecx]                                          mov             al, [EXTMEMORY + ecx]
                                         pop             ecx                                          pop             ecx
                                         pop             ebx                                          pop             ebx
Line 646  egcw_wtodd: Line 644  egcw_wtodd:
                                         and             ecx, 3fffh                                          and             ecx, 3fffh
                                         shr             ebx, 12                                          shr             ebx, 12
                                         and             ebx, byte (3*4)                                          and             ebx, byte (3*4)
                                         add             ecx, [_extmem + extmem_t.pageptr + ebx]                                          add             ecx, [_i286core + i286core_t.ems + ebx]
                                         mov             [EXTMEMORY + ecx], dx                                          mov             [EXTMEMORY + ecx], dx
                                         pop             ecx                                          pop             ecx
                                         pop             ebx                                          pop             ebx
Line 815  egcw_rdodd: Line 813  egcw_rdodd:
                                         and             ecx, 3fffh                                          and             ecx, 3fffh
                                         shr             ebx, 12                                          shr             ebx, 12
                                         and             ebx, byte (3*4)                                          and             ebx, byte (3*4)
                                         add             ecx, [_extmem + extmem_t.pageptr + ebx]                                          add             ecx, [_i286core + i286core_t.ems + ebx]
                                         mov             ax, [EXTMEMORY + ecx]                                          mov             ax, [EXTMEMORY + ecx]
                                         pop             ecx                                          pop             ecx
                                         pop             ebx                                          pop             ebx
Line 986  section .text Line 984  section .text
                                         align   16                                          align   16
 writeextmem_w:  writeextmem_w:
 %if USE_HIMEM  %if USE_HIMEM
                                         cmp             ecx, 10ffefh                            ; HIMEM                                          cmp             ecx, (USE_HIMEM - 1)
                                         jae             near writehimem_w                                          jae             near writehimem_w
 %endif  %endif
                                         push    ebx                                          push    ebx
Line 1024  writemain_b:  mov  [MAINMEMORY + ecx], d Line 1022  writemain_b:  mov  [MAINMEMORY + ecx], d
                                         align   16                                          align   16
 writeextmem_b:  writeextmem_b:
 %if USE_HIMEM  %if USE_HIMEM
                                         cmp             ecx, 10fff0h                            ; HIMEM                                          cmp             ecx, USE_HIMEM
                                         jae             near writehimem                                          jae             near writehimem
 %endif  %endif
                                         push    ebx                                          push    ebx
Line 1041  writeextmem_b: Line 1039  writeextmem_b:
                                         align   16                                          align   16
 readmemory_w:  readmemory_w:
 %if USE_HIMEM  %if USE_HIMEM
                                         cmp             ecx, 10ffefh                            ; HIMEM                                          cmp             ecx, (USE_HIMEM - 1)
                                         jae             near readhimem_w                                          jae             near readhimem_w
 %endif  %endif
                                         push    ebx                                          push    ebx
Line 1076  readmain_b:   mov  al, [MAINMEMORY + ecx Line 1074  readmain_b:   mov  al, [MAINMEMORY + ecx
                                         align   16                                          align   16
 readmemory_b:  readmemory_b:
 %if USE_HIMEM  %if USE_HIMEM
                                         cmp             ecx, 10fff0h                            ; HIMEM                                          cmp             ecx, USE_HIMEM
                                         jae             near readhimem                                          jae             near readhimem
 %endif  %endif
                                         push    ebx                                          push    ebx

Removed from v.1.8  
changed lines
  Added in v.1.9


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