Making sure code is in executable sections Round 3.
This commit is contained in:
@@ -36,6 +36,8 @@ EXTSYM tableFc,tableGc,tableHc,tableadc
|
|||||||
; Generate OpCode Table
|
; Generate OpCode Table
|
||||||
;*******************************************************
|
;*******************************************************
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
NEWSYM inittablec
|
NEWSYM inittablec
|
||||||
; set tablead (NVMXDIZC) ( MXD )
|
; set tablead (NVMXDIZC) ( MXD )
|
||||||
push es
|
push es
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ EXTSYM spcP,spcPCRam,spcRam,spcS,spcX,spcY
|
|||||||
|
|
||||||
; debstop at regsw.asm 2118/2119
|
; debstop at regsw.asm 2118/2119
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
NEWSYM startdebugger
|
NEWSYM startdebugger
|
||||||
mov byte[curblank],40h
|
mov byte[curblank],40h
|
||||||
mov byte[debuggeron],1
|
mov byte[debuggeron],1
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ EXTSYM Surround,StereoSound,SoundQuality,SoundSpeeds,SBToSPCSpeeds2
|
|||||||
EXTSYM SoundSpeedt,DSPBuffer,BufferSize,BufferSizes,BufferSizeB
|
EXTSYM SoundSpeedt,DSPBuffer,BufferSize,BufferSizes,BufferSizeB
|
||||||
EXTSYM BufferSizeW,dssel
|
EXTSYM BufferSizeW,dssel
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
NEWSYM SB_alloc_dma
|
NEWSYM SB_alloc_dma
|
||||||
|
|
||||||
mov ax,0100h ; Allocate DOS memory
|
mov ax,0100h ; Allocate DOS memory
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
SECTION .data
|
SECTION .data
|
||||||
|
|
||||||
.Mode256x224c
|
.Mode256x224c:
|
||||||
dw 03c2h,0e300h,03d4h,05f00h,03d4h,03f01h,03d4h,04002h,03d4h,08203h
|
dw 03c2h,0e300h,03d4h,05f00h,03d4h,03f01h,03d4h,04002h,03d4h,08203h
|
||||||
dw 03d4h,04a04h,03d4h,09a05h,03d4h,00b06h,03d4h,03e07h,03d4h,00008h
|
dw 03d4h,04a04h,03d4h,09a05h,03d4h,00b06h,03d4h,03e07h,03d4h,00008h
|
||||||
dw 03d4h,06109h,03d4h,0da10h,03d4h,0ac11h,03d4h,0bf12h,03d4h,02013h
|
dw 03d4h,06109h,03d4h,0da10h,03d4h,0ac11h,03d4h,0bf12h,03d4h,02013h
|
||||||
@@ -94,7 +94,7 @@ SECTION .data
|
|||||||
dw 03c4h,00e04h,03cEh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
dw 03c4h,00e04h,03cEh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
||||||
dd 0
|
dd 0
|
||||||
|
|
||||||
.Mode256x240c
|
.Mode256x240c:
|
||||||
dw 03c2h,0e300h,03d4h,05f00h,03d4h,03f01h,03d4h,04002h,03d4h,08203h
|
dw 03c2h,0e300h,03d4h,05f00h,03d4h,03f01h,03d4h,04002h,03d4h,08203h
|
||||||
dw 03d4h,04a04h,03d4h,09a05h,03d4h,00d06h,03d4h,03e07h,03d4h,00008h
|
dw 03d4h,04a04h,03d4h,09a05h,03d4h,00d06h,03d4h,03e07h,03d4h,00008h
|
||||||
dw 03d4h,04109h,03d4h,0ea10h,03d4h,0ac11h,03d4h,0df12h,03d4h,02013h
|
dw 03d4h,04109h,03d4h,0ea10h,03d4h,0ac11h,03d4h,0df12h,03d4h,02013h
|
||||||
@@ -102,7 +102,7 @@ SECTION .data
|
|||||||
dw 03c4h,00e04h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
dw 03c4h,00e04h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
||||||
dd 0
|
dd 0
|
||||||
|
|
||||||
.Mode256x256c
|
.Mode256x256c:
|
||||||
dw 03c2h,0e300h,03d4h,05f00h,03d4h,03f01h,03d4h,04002h,03d4h,08203h
|
dw 03c2h,0e300h,03d4h,05f00h,03d4h,03f01h,03d4h,04002h,03d4h,08203h
|
||||||
dw 03d4h,04a04h,03d4h,09a05h,03d4h,02306h,03d4h,0b207h,03d4h,00008h
|
dw 03d4h,04a04h,03d4h,09a05h,03d4h,02306h,03d4h,0b207h,03d4h,00008h
|
||||||
dw 03d4h,06109h,03d4h,00a10h,03d4h,0ac11h,03d4h,0FF12h,03d4h,02013h
|
dw 03d4h,06109h,03d4h,00a10h,03d4h,0ac11h,03d4h,0FF12h,03d4h,02013h
|
||||||
@@ -110,7 +110,7 @@ SECTION .data
|
|||||||
dw 03c4h,00e04h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
dw 03c4h,00e04h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
||||||
dd 0
|
dd 0
|
||||||
|
|
||||||
.Mode256x256cs
|
.Mode256x256cs:
|
||||||
dw 03c2h,0e300h,03d4h,05f00h,03d4h,03f01h,03d4h,04002h,03d4h,08203h
|
dw 03c2h,0e300h,03d4h,05f00h,03d4h,03f01h,03d4h,04002h,03d4h,08203h
|
||||||
dw 03d4h,04a04h,03d4h,09a05h,03d4h,02306h,03d4h,01d07h,03d4h,00008h
|
dw 03d4h,04a04h,03d4h,09a05h,03d4h,02306h,03d4h,01d07h,03d4h,00008h
|
||||||
dw 03d4h,06009h,03d4h,00a10h,03d4h,0ac11h,03d4h,0ff12h,03d4h,02013h
|
dw 03d4h,06009h,03d4h,00a10h,03d4h,0ac11h,03d4h,0ff12h,03d4h,02013h
|
||||||
@@ -118,7 +118,7 @@ SECTION .data
|
|||||||
dw 03c4h,00e04h,03ceh,04005h,03cEh,00506h,03c0h,04110h,03c0h,00013h
|
dw 03c4h,00e04h,03ceh,04005h,03cEh,00506h,03c0h,04110h,03c0h,00013h
|
||||||
dd 0
|
dd 0
|
||||||
|
|
||||||
.Mode320x224
|
.Mode320x224:
|
||||||
dw 03c2h,0e300h,03d4h,05f00h,03d4h,04f01h,03d4h,05002h,03d4h,08203h
|
dw 03c2h,0e300h,03d4h,05f00h,03d4h,04f01h,03d4h,05002h,03d4h,08203h
|
||||||
dw 03d4h,05404h,03d4h,08005h,03d4h,00b06h,03d4h,03e07h,03d4h,00008h
|
dw 03d4h,05404h,03d4h,08005h,03d4h,00b06h,03d4h,03e07h,03d4h,00008h
|
||||||
dw 03d4h,04109h,03d4h,0da10h,03d4h,09c11h,03d4h,0c012h,03d4h,02813h
|
dw 03d4h,04109h,03d4h,0da10h,03d4h,09c11h,03d4h,0c012h,03d4h,02813h
|
||||||
@@ -126,7 +126,7 @@ SECTION .data
|
|||||||
dw 03c4h,00604h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
dw 03c4h,00604h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
||||||
dd 0
|
dd 0
|
||||||
|
|
||||||
.Mode320x240
|
.Mode320x240:
|
||||||
dw 03c2h,0e300h,03d4h,05f00h,03d4h,04f01h,03d4h,05002h,03d4h,08203h
|
dw 03c2h,0e300h,03d4h,05f00h,03d4h,04f01h,03d4h,05002h,03d4h,08203h
|
||||||
dw 03d4h,05404h,03d4h,08005h,03d4h,00d06h,03d4h,03e07h,03d4h,00008h
|
dw 03d4h,05404h,03d4h,08005h,03d4h,00d06h,03d4h,03e07h,03d4h,00008h
|
||||||
dw 03d4h,04109h,03d4h,0ea10h,03d4h,0ac11h,03d4h,0df12h,03d4h,02813h
|
dw 03d4h,04109h,03d4h,0ea10h,03d4h,0ac11h,03d4h,0df12h,03d4h,02813h
|
||||||
@@ -134,7 +134,7 @@ SECTION .data
|
|||||||
dw 03c4h,00604h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
dw 03c4h,00604h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
||||||
dd 0
|
dd 0
|
||||||
|
|
||||||
.Mode320x256
|
.Mode320x256:
|
||||||
dw 03c2h,0e300h,03d4h,05f00h,03d4h,04f01h,03d4h,05002h,03d4h,08203h
|
dw 03c2h,0e300h,03d4h,05f00h,03d4h,04f01h,03d4h,05002h,03d4h,08203h
|
||||||
dw 03d4h,05404h,03d4h,08005h,03d4h,02306h,03d4h,0b207h,03d4h,00008h
|
dw 03d4h,05404h,03d4h,08005h,03d4h,02306h,03d4h,0b207h,03d4h,00008h
|
||||||
dw 03d4h,06109h,03d4h,00a10h,03d4h,0ac11h,03d4h,0ff12h,03d4h,02813h
|
dw 03d4h,06109h,03d4h,00a10h,03d4h,0ac11h,03d4h,0ff12h,03d4h,02813h
|
||||||
@@ -142,7 +142,7 @@ SECTION .data
|
|||||||
dw 03c4h,00604h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
dw 03c4h,00604h,03ceh,04005h,03ceh,00506h,03c0h,04110h,03c0h,00013h
|
||||||
dd 0
|
dd 0
|
||||||
|
|
||||||
.Mode320x256s
|
.Mode320x256s:
|
||||||
dw 03c2h,0e300h,03d4h,05f00h,03d4h,04f01h,03d4h,05002h,03d4h,08203h
|
dw 03c2h,0e300h,03d4h,05f00h,03d4h,04f01h,03d4h,05002h,03d4h,08203h
|
||||||
dw 03d4h,05404h,03d4h,08005h,03d4h,02306h,03d4h,01d07h,03d4h,00008h
|
dw 03d4h,05404h,03d4h,08005h,03d4h,02306h,03d4h,01d07h,03d4h,00008h
|
||||||
dw 03d4h,06009h,03d4h,00a10h,03d4h,0ac11h,03d4h,0ff12h,03d4h,02813h
|
dw 03d4h,06009h,03d4h,00a10h,03d4h,0ac11h,03d4h,0ff12h,03d4h,02813h
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ MenuDat4 db 2, 3,1,2,0
|
|||||||
MenuDat5 db 1, 3,2,0
|
MenuDat5 db 1, 3,2,0
|
||||||
MenuDat6 db 6, 3,1,1,1,1,0,2,0
|
MenuDat6 db 6, 3,1,1,1,1,0,2,0
|
||||||
|
|
||||||
GUIPrevMenuData
|
GUIPrevMenuData:
|
||||||
db 1,'1. ',0
|
db 1,'1. ',0
|
||||||
db 1,'2. ',0
|
db 1,'2. ',0
|
||||||
db 1,'3. ',0
|
db 1,'3. ',0
|
||||||
@@ -238,7 +238,7 @@ GUIPrevMenuData
|
|||||||
db 0,'------------',0
|
db 0,'------------',0
|
||||||
.onoff db 1,'FREEZE DATA : OFF ',0
|
.onoff db 1,'FREEZE DATA : OFF ',0
|
||||||
db 1,'CLEAR ALL DATA ',0
|
db 1,'CLEAR ALL DATA ',0
|
||||||
GUIGameMenuData
|
GUIGameMenuData:
|
||||||
db 1,'LOAD ',0
|
db 1,'LOAD ',0
|
||||||
db 1,'RUN [ESC] ',0
|
db 1,'RUN [ESC] ',0
|
||||||
db 1,'RESET ',0
|
db 1,'RESET ',0
|
||||||
@@ -248,7 +248,7 @@ GUIGameMenuData
|
|||||||
db 1,'PICK STATE ',0
|
db 1,'PICK STATE ',0
|
||||||
db 0,'------------',0
|
db 0,'------------',0
|
||||||
db 1,'QUIT ',0
|
db 1,'QUIT ',0
|
||||||
GUIConfigMenuData
|
GUIConfigMenuData:
|
||||||
db 1,'INPUT #1 ',0
|
db 1,'INPUT #1 ',0
|
||||||
db 1,'INPUT #2 ',0
|
db 1,'INPUT #2 ',0
|
||||||
db 1,'INPUT #3 ',0
|
db 1,'INPUT #3 ',0
|
||||||
@@ -264,14 +264,14 @@ GUIConfigMenuData
|
|||||||
db 1,'PATHS ',0
|
db 1,'PATHS ',0
|
||||||
db 1,'SAVES ',0
|
db 1,'SAVES ',0
|
||||||
db 1,'SPEED ',0
|
db 1,'SPEED ',0
|
||||||
GUICheatMenuData
|
GUICheatMenuData:
|
||||||
db 1,'ADD CODE ',0
|
db 1,'ADD CODE ',0
|
||||||
db 1,'BROWSE ',0
|
db 1,'BROWSE ',0
|
||||||
db 1,'SEARCH ',0
|
db 1,'SEARCH ',0
|
||||||
GUINetPlayMenuData
|
GUINetPlayMenuData:
|
||||||
db 1,'MODEM ',0
|
db 1,'MODEM ',0
|
||||||
db 1,'IPX ',0
|
db 1,'IPX ',0
|
||||||
GUIMiscMenuData
|
GUIMiscMenuData:
|
||||||
db 1,'MISC KEYS ',0
|
db 1,'MISC KEYS ',0
|
||||||
db 1,'GUI OPNS ',0
|
db 1,'GUI OPNS ',0
|
||||||
db 1,'MOVIE OPN ',0
|
db 1,'MOVIE OPN ',0
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
; GUI Cheat Code Routines
|
; GUI Cheat Code Routines
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SECTION .text
|
||||||
|
|
||||||
|
|
||||||
ComboClip:
|
ComboClip:
|
||||||
|
|||||||
Reference in New Issue
Block a user