Diff for /np2/i286x/memory.x86 between versions 1.12 and 1.14

version 1.12, 2004/02/18 02:03:37 version 1.14, 2005/03/18 06:49:17
Line 3 Line 3
 ; ToDo: egc word-boundary  ; ToDo: egc word-boundary
   
 %include 'x86/np2asm.inc'  %include 'x86/np2asm.inc'
   %include '../io/x86/iocore.inc'
   
 section .bss  section .bss
   
         global  _mem          global  _mem
         extern  _i286core          extern  _i286core
         extern  _grcg  
         extern  _gdcs  
         extern  _tramupdate          extern  _tramupdate
         extern  _vramupdate          extern  _vramupdate
         extern  _cgwindow  
         extern  _vramop          extern  _vramop
   
 _mem    resb    0x200000  _mem    resb    0x200000
Line 87  section .text Line 85  section .text
         extern  egc_write          extern  egc_write
         extern  egc_write_w          extern  egc_write_w
 %else  %else
         extern  @egc_read@4          extern  @memegc_rd8@4
         extern  @egc_read_w@4          extern  @memegc_rd16@4
         extern  @egc_write@8          extern  @memegc_wr8@8
         extern  @egc_write_w@8          extern  @memegc_wr16@8
 %endif  %endif
   
 ; normal memory  ; normal memory
Line 269  grcgtdw_end:  pop  ecx Line 267  grcgtdw_end:  pop  ecx
                                         jmp             egc_write                                          jmp             egc_write
 %else  %else
                                         pushad                                          pushad
                                         call    @egc_write@8                                          call    @memegc_wr8@8
                                         popad                                          popad
                                         ret                                          ret
 %endif  %endif
Line 392  grcgtcr_end:  not  al Line 390  grcgtcr_end:  not  al
                                         jmp             egc_read                                          jmp             egc_read
 %else  %else
                                         pushad                                          pushad
                                         call    @egc_read@4                                          call    @memegc_rd8@4
                                         mov             [esp + 28], al                                          mov             [esp + 28], al
                                         popad                                          popad
                                         ret                                          ret
Line 628  grcgwtdw_end:  pop  ecx Line 626  grcgwtdw_end:  pop  ecx
                                         jmp             egc_write_w                                          jmp             egc_write_w
 %else  %else
                                         pushad                                          pushad
                                         call    @egc_write_w@8                                          call    @memegc_wr16@8
                                         popad                                          popad
                                         ret                                          ret
 %endif  %endif
Line 776  grcgwtcr_end:  not  ax Line 774  grcgwtcr_end:  not  ax
                                         jmp             egc_read_w                                          jmp             egc_read_w
 %else  %else
                                         pushad                                          pushad
                                         call    @egc_read_w@4                                          call    @memegc_rd16@4
                                         mov             [esp + 28], ax                                          mov             [esp + 28], ax
                                         popad                                          popad
                                         ret                                          ret

Removed from v.1.12  
changed lines
  Added in v.1.14


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