Build the Virtual Console patch with make crystal11_vc (#882)

Fixes #813
This commit is contained in:
vulcandth
2022-03-12 17:34:04 -06:00
committed by GitHub
parent 775b5d046c
commit 31c3c94d64
28 changed files with 1538 additions and 8 deletions

27
macros/vc.asm Normal file
View File

@@ -0,0 +1,27 @@
vc_hook: MACRO
if DEF(_CRYSTAL11_VC)
.VC_\1::
endc
ENDM
vc_patch: MACRO
if DEF(_CRYSTAL11_VC)
assert !DEF(CURRENT_VC_PATCH), "Already started a vc_patch"
CURRENT_VC_PATCH EQUS "\1"
.VC_{CURRENT_VC_PATCH}::
endc
ENDM
vc_patch_end: MACRO
if DEF(_CRYSTAL11_VC)
assert DEF(CURRENT_VC_PATCH), "No vc_patch started"
.VC_{CURRENT_VC_PATCH}_End::
PURGE CURRENT_VC_PATCH
endc
ENDM
vc_assert: MACRO
if DEF(_CRYSTAL11_VC)
assert \#
endc
ENDM