Linux commits

This commit is contained in:
theoddone33
2001-04-10 04:28:44 +00:00
parent 297d98dfc4
commit 42bf44301b
63 changed files with 3057 additions and 2826 deletions

View File

@@ -949,4 +949,3 @@ DSPOp0E()
Log_Message(" X:%d Y:%d",Op0EX,Op0EY);
#endif
}

View File

@@ -36,7 +36,7 @@ EXTSYM Op03X, Op03Y, Op03Z, Op03F, Op03L, Op03U, DSPOp03
EXTSYM Op14Zr, Op14Xr, Op14Yr, Op14U, Op14F, Op14L
EXTSYM Op14Zrr,Op14Xrr,Op14Yrr, DSPOp14
NEWSYM Dsp1ProcAsmStart
@@ -636,3 +636,5 @@ DSP1_14: ; 3D angle rotation
mov byte[DSP1RLeft],3
pop eax
ret
NEWSYM Dsp1ProcAsmEnd

View File

@@ -22,6 +22,8 @@ EXTSYM fxxand,sfx128lineloc,sfx160lineloc,sfx192lineloc,sfxobjlineloc
EXTSYM sfxramdata,fxbit45,fxbit67,SFXProc,ChangeOps
EXTSYM PLOTJmpa,PLOTJmpb
NEWSYM FxEmu2AsmStart
%include "chips/fxemu2.mac"
@@ -117,6 +119,7 @@ NEWSYM SfxB, dd 0 ; B flag (1 when with instruction executed)
NEWSYM SfxOverflow, dd 0 ; Overflow flag
NEWSYM SfxCACHERAM, times 512 db 0 ; 512 bytes of GSU cache memory
SECTION .data
num2writesfxreg equ $-SfxR0
; pharos equ hack *sigh*
NEWSYM PHnum2writesfxreg, dd num2writesfxreg
@@ -2644,6 +2647,7 @@ NEWSYM FxOpFFA2 ; SM (XX),RN store word in RAM
ret
ALIGN32
NEWSYM NumberOfOpcodes, dd 0 ; Number of opcodes to execute
NEWSYM NumberOfOpcodesBU, dd 0 ; Number of opcodes to execute backup value
NEWSYM sfxwarningb, db 0
@@ -2679,4 +2683,6 @@ NEWSYM FXEndLoop
SECTION .data
NEWSYM fxtrace, db 0; times 65536 db 0
SECTION .text
NEWSYM FxEmu2AsmEnd

View File

@@ -20,6 +20,8 @@
EXTSYM FxTable,FxTableb,FxTablec,SfxB,SfxCPB,SfxCROM,SfxCarry,SfxOverflow
EXTSYM SfxR0,SfxR14,SfxR15,SfxRomBuffer,SfxSignZero,withr15sk
NEWSYM FxEmu2BAsmStart
%include "chips/fxemu2.mac"
%include "chips/fxemu2b.mac"
@@ -611,3 +613,5 @@ NEWSYM FxOpcBF ; FROM rn set source register
mov byte[SfxOverflow],al
CLRFLAGS
ret
NEWSYM FxEmu2BAsmEnd

View File

@@ -30,6 +30,8 @@ EXTSYM fxbit01,fxbit23,fxbit45,fxbit67
EXTSYM fxxand
EXTSYM PLOTJmpa,PLOTJmpb
NEWSYM FxEmu2CAsmStart
%include "chips/fxemu2.mac"
%include "chips/fxemu2b.mac"
%include "chips/fxemu2c.mac"
@@ -2548,3 +2550,5 @@ NEWSYM FxOpdFFA2 ; SM (XX),RN store word in RAM
mov [eax+ebx],dh
CLRFLAGS
FXReturn
NEWSYM FxEmu2CAsmEnd

View File

@@ -193,7 +193,7 @@ EXTSYM FxOpd4C1288bl,FxOpd4C1288bzl,FxOpd4C1288bdl,FxOpd4C1288bzdl
EXTSYM fxxand,fxbit01,fxbit23,fxbit45,fxbit67
NEWSYM FxTableAsmStart
@@ -3543,3 +3543,4 @@ NEWSYM sfxnametab
db 'IWT R8 IWT R9 IWT R10 IWT R11 '
db 'IWT R12 IWT R13 IWT R14 IWT R15 '
NEWSYM FxTableAsmEnd

View File

@@ -26,7 +26,7 @@ EXTSYM membank0w8,romdata,SA1LBound,SA1UBound,SA1SH,SA1SHb
EXTSYM stackor,stackand,snesmmap,SA1xs,SA1IRQExec
EXTSYM SA1Message,Sflagnz,Sflagc,Sflago
NEWSYM Sa1ProcAsmStart
@@ -362,3 +362,5 @@ NEWSYM SA1switchtovirq
mov [initaddrl],esi
add esi,eax
ret
NEWSYM Sa1ProcAsmEnd

File diff suppressed because it is too large Load Diff

View File

@@ -25,10 +25,16 @@ EXTSYM SfxSignZero,SfxnRamBanks,StartSFX,regptr,regptw,sfxramdata,ChangeOps
EXTSYM SfxPOR,sfxclineloc,UpdatePORSCMR,UpdateCLSR,UpdateSCBRCOLR,SfxAC
EXTSYM sfx128lineloc,sfx160lineloc,sfx192lineloc,sfxobjlineloc,SFXProc
NEWSYM SfxProcAsmStart
%include "cpu/regs.mac"
%include "cpu/regsw.mac"
%macro AssembleSFXFlags 0
and word[SfxSFR],8F60h
test byte[SfxCarry],1
@@ -663,3 +669,4 @@ NEWSYM sfxaccessbankw16d
xor ebx,ebx
ret
NEWSYM SfxProcAsmEnd