ReC98/ReC98.inc

45 lines
942 B
PHP
Raw Normal View History

; ReC98
; Main include file
locals
include libs/BorlandC/RULES.ASI
include libs/BorlandC/ctype.inc
2014-10-27 01:50:32 +00:00
include libs/BorlandC/dos.inc
include libs/BorlandC/doserror.inc
include libs/BorlandC/fcntl.inc
include libs/BorlandC/stdio.inc
include libs/BorlandC/sys/stat.inc
include libs/master.lib/func.inc
include libs/master.lib/super.inc
include libs/master.lib/bgm.inc
2014-08-26 18:54:57 +00:00
include libs/master.lib/pf.inc
2014-08-28 01:42:26 +00:00
include libs/master.lib/clip.inc
; Manually put dseg into DGROUP if we're not tiny. The alternative, renaming
; dseg to _DATA - a segment automatically generated by the .MODEL directive -
; unfortunately doesn't work for us because we have no control over the
; segment's alignment value...
if @model ne 1
DGROUP group dseg
endif
nopcall macro func
if LDATA
nop ; PC-98 Touhou compatibility
endif
call func
endm
pushSS_ macro
if LDATA
push ss
endif
endm
popCX_ macro
if LDATA
pop cx
endif
endm