ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/AmigaOS/asm_support.asm
(Generate patch)

Comparing BasiliskII/src/AmigaOS/asm_support.asm (file contents):
Revision 1.7 by cebix, 2000-10-17T12:24:58Z vs.
Revision 1.8 by cebix, 2001-01-25T22:24:36Z

# Line 28 | Line 28
28                  XDEF    _AtomicAnd
29                  XDEF    _AtomicOr
30                  XDEF    _MoveVBR
31 +                XDEF    _DisableSuperBypass
32                  XDEF    _Execute68k
33                  XDEF    _Execute68kTrap
34                  XDEF    _TrapHandlerAsm
# Line 50 | Line 51
51  
52                  SECTION text,CODE
53  
54 +                MACHINE 68020
55 +
56   *
57   * Atomic bit operations (don't trust the compiler)
58   *
# Line 107 | Line 110 | setvbr         movec   d0,vbr
110                  rte
111  
112   *
113 + * Disable 68060 Super Bypass mode
114 + *
115 +
116 + _DisableSuperBypass
117 +                movem.l d0-d1/a0-a1/a5-a6,-(sp)
118 +                move.l  _SysBase,a6
119 +
120 +                lea     dissb,a5
121 +                JSRLIB  Supervisor
122 +
123 +                movem.l (sp)+,d0-d1/a0-a1/a5-a6
124 +                rts
125 +
126 +                MACHINE 68060
127 +
128 + dissb           movec   pcr,d0
129 +                bset    #5,d0
130 +                movec   d0,pcr
131 +                rte
132 +
133 +                MACHINE 68020
134 +
135 + *
136   * Execute 68k subroutine (must be ended with rts)
137   * r->a[7] and r->sr are unused!
138   *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines