Making sure code is in executable sections Round 1.

This commit is contained in:
n-a-c-h
2005-07-10 12:53:34 +00:00
parent fc4176bf24
commit 24e881da21
7 changed files with 10 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ EXTSYM SfxR0,SfxR14,SfxR15,SfxRomBuffer,SfxSignZero,withr15sk
%include "chips/fxemu2.mac"
%include "chips/fxemu2b.mac"
SECTION .text

View File

@@ -1428,7 +1428,7 @@ SPC4841:
ret
SECTION .data
SPCTimerVal
SPCTimerVal:
db 12h,01h,02h,03h,04h,05h,06h,07h,08h,09h,0,0,0,0,0,0
db 10h,11h,32h,21h,22h,23h,24h,25h,26h,27h,0,0,0,0,0,0
db 28h,29h

View File

@@ -55,6 +55,7 @@ EXTSYM sfx128lineloc,sfx160lineloc,sfx192lineloc,sfxobjlineloc,SFXProc
.bzero
%endmacro
SECTION .text
NEWSYM initsfxregsr
setreg 3000h*4,reg3000r

View File

@@ -73,6 +73,8 @@ EXTSYM flagnz,flago,flagc,execloopdeb,Sjoinflags,Ssplitflags,SA1RegP
%%nov
%endmacro
SECTION .text
NEWSYM splitflags
push edx
mov dl,[SA1RegP]

View File

@@ -2039,7 +2039,7 @@ usenoisedata dd 0
VolumeTableD
VolumeTableD:
db 0,3,6,9,12,15,17,18,19,21,22,23,24,24,26,28,30,31,33,35,36,38,40,41,43,45,46,48,49
db 51,52,54,56,57,58,60,61,63,64,66,67,68,70,71,72,74,75,76,78,79,80,81,82,84,85,86
db 87,88,89,90,91,92,93,94,96,96,97,98,99,100,101,102,103,104,105,106,106,107,108

View File

@@ -34,6 +34,8 @@ NEWSYM E65816IncStart
; L = [ or ]
; I = #
SECTION .text
COp61m8nd: ; ADC(d,x)
addr_BdCxB_8br
ADCMacro8bnd

View File

@@ -32,6 +32,8 @@ EXTSYM intrset,UpdateDPage,DPageR8,DPageW8,DPageR16,DPageW16
; L = [ or ]
; I = #
SECTION .text
COp61m8nd: ; ADC(d,x)
addr_BdCxB_8br
ADCMacro8bnd