You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
417 B
39 lines
417 B
;;
|
|
;; macros and equates intended for ROM differences
|
|
;;
|
|
|
|
ifndef ROM
|
|
ROM = 0
|
|
endif
|
|
|
|
if ROM
|
|
|
|
if1
|
|
%out Creating Data Segment For ROM System
|
|
endif
|
|
|
|
SDSEG macro
|
|
sBegin DATA
|
|
endm
|
|
|
|
AssumeData macro
|
|
assumes ds, DATA
|
|
endm
|
|
|
|
DSEG equ DATA
|
|
doffset EQU <DataOffset>
|
|
|
|
else
|
|
|
|
SDSEG macro
|
|
sBegin CODE
|
|
endm
|
|
|
|
AssumeData macro
|
|
assumes ds, CODE
|
|
endm
|
|
|
|
DSEG equ CODE
|
|
doffset EQU <CodeOffset>
|
|
|
|
endif
|