Making sure code is in executable sections Round 2.
This commit is contained in:
@@ -32,6 +32,8 @@ EXTSYM UpdateDPage,DPageR8,DPageW8,DPageR16,DPageW16
|
|||||||
; L = [ or ]
|
; L = [ or ]
|
||||||
; I = #
|
; I = #
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
COp61m8nd: ; ADC(d,x)
|
COp61m8nd: ; ADC(d,x)
|
||||||
addr_BdCxB_8br
|
addr_BdCxB_8br
|
||||||
ADCMacro8bnd
|
ADCMacro8bnd
|
||||||
|
|||||||
@@ -568,6 +568,8 @@ NEWSYM HIRQCycNext, dd 0
|
|||||||
NEWSYM HIRQNextExe, db 0
|
NEWSYM HIRQNextExe, db 0
|
||||||
|
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
;*******************************************************
|
;*******************************************************
|
||||||
; Int 08h vector
|
; Int 08h vector
|
||||||
;*******************************************************
|
;*******************************************************
|
||||||
@@ -763,7 +765,7 @@ Donextlinecache:
|
|||||||
|
|
||||||
SECTION .data
|
SECTION .data
|
||||||
|
|
||||||
SpeedHackSafeTable
|
SpeedHackSafeTable:
|
||||||
db 1,0,1,0,0,0,1,0,1,0,1,1,0,0,0,0
|
db 1,0,1,0,0,0,1,0,1,0,1,1,0,0,0,0
|
||||||
db 0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0
|
db 0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0
|
||||||
db 0,0,0,0,0,0,1,0,1,0,1,1,0,0,1,0
|
db 0,0,0,0,0,0,1,0,1,0,1,1,0,0,1,0
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -52,6 +52,8 @@ EXTSYM execloopdeb,nmiv8,membank0w8
|
|||||||
%%nov
|
%%nov
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
;*******************************************************
|
;*******************************************************
|
||||||
; SwitchToNMI/VIRQ Calls NMI/VIRQ
|
; SwitchToNMI/VIRQ Calls NMI/VIRQ
|
||||||
;*******************************************************
|
;*******************************************************
|
||||||
|
|||||||
@@ -55,6 +55,8 @@ EXTSYM Sdd1Mode,Sdd1Bank,Sdd1Addr,Sdd1NewAddr,memtabler8,AddrNoIncr,SDD1BankA
|
|||||||
; C4 Emulation, reverse engineered & written by zsKnight
|
; C4 Emulation, reverse engineered & written by zsKnight
|
||||||
; ******************************************************
|
; ******************************************************
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
C4ProcessVectors:
|
C4ProcessVectors:
|
||||||
mov esi,[C4Ram]
|
mov esi,[C4Ram]
|
||||||
mov edi,esi
|
mov edi,esi
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ EXTSYM debuggeron,pdh,vram,romispal,reg1read,spcnumread,spcon,reg2read,reg3read
|
|||||||
EXTSYM reg4read,JoyEOrig,JoyENow,snesmouse,cycphb,joycontren,totlines,DosExit
|
EXTSYM reg4read,JoyEOrig,JoyENow,snesmouse,cycphb,joycontren,totlines,DosExit
|
||||||
EXTSYM invalid,numinst,previdmode,printhex,printnum
|
EXTSYM invalid,numinst,previdmode,printhex,printnum
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
NEWSYM initregr
|
NEWSYM initregr
|
||||||
; Fill register pointer with invalid register accesses
|
; Fill register pointer with invalid register accesses
|
||||||
mov edi,[regptr]
|
mov edi,[regptr]
|
||||||
|
|||||||
@@ -86,6 +86,8 @@ EXTSYM debuggeron
|
|||||||
%%nov
|
%%nov
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
NEWSYM Ssplitflags
|
NEWSYM Ssplitflags
|
||||||
restoredl
|
restoredl
|
||||||
ret
|
ret
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ EXTSYM wramdata,SA1xa,SA1xd,SA1xdb,xe,xirqb,SA1xpb,xpc,SA1xs,SA1xx,SA1xy
|
|||||||
EXTSYM debstop4,SA1RegP,nextopcode,debugsa1,skipdebugsa1
|
EXTSYM debstop4,SA1RegP,nextopcode,debugsa1,skipdebugsa1
|
||||||
|
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
sa1debug:
|
sa1debug:
|
||||||
cmp byte[debuggeron],0
|
cmp byte[debuggeron],0
|
||||||
je .nodebugger
|
je .nodebugger
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ EXTSYM cpucycle,SA1UpdateDPage,intrset
|
|||||||
; Generate OpCode Table
|
; Generate OpCode Table
|
||||||
;*******************************************************
|
;*******************************************************
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
NEWSYM SA1inittable
|
NEWSYM SA1inittable
|
||||||
; set tablead (NVMXDIZC) ( MXD )
|
; set tablead (NVMXDIZC) ( MXD )
|
||||||
push es
|
push es
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ EXTSYM tableAb,tableBb,tableCb,tableDb,tableEb,tableFb,tableGb,tableHb,tableadb
|
|||||||
; Generate OpCode Table
|
; Generate OpCode Table
|
||||||
;*******************************************************
|
;*******************************************************
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
NEWSYM inittableb
|
NEWSYM inittableb
|
||||||
; set tablead (NVMXDIZC) ( MXD )
|
; set tablead (NVMXDIZC) ( MXD )
|
||||||
push es
|
push es
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ NEWSYM setnoise
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
SECTION .data
|
SECTION .data
|
||||||
.samplenoise
|
.samplenoise:
|
||||||
db 27,232,234,138,187,246,176,81,25,241,1,127,154,190,195,103,231,165,220,238
|
db 27,232,234,138,187,246,176,81,25,241,1,127,154,190,195,103,231,165,220,238
|
||||||
db 232,189,57,201,123,75,63,143,145,159,13,236,191,142,56,164,222,80,88,13
|
db 232,189,57,201,123,75,63,143,145,159,13,236,191,142,56,164,222,80,88,13
|
||||||
db 148,118,162,212,157,146,176,0,241,88,244,238,51,235,149,50,77,212,186,241
|
db 148,118,162,212,157,146,176,0,241,88,244,238,51,235,149,50,77,212,186,241
|
||||||
|
|||||||
Reference in New Issue
Block a user