;This is a macro library for standard ROM ;Calls Jumps and returns from within an ;Option ROM ;The macro format and file name are ;Compatible with Digital Research's RMAC and ;MAC Assemblers ;If you are using a linker to link to the ROMHD.ASM ;File then you will have to declare STDON as an EXTRN ;and Decalre STDON within the ROMHD.ASM file as a ;PUBLIC. ;Macro to call a Standard ROM routine ;Syntax: ; SCALL 4b44h SCALL MACRO ADDRESS RST 6 DW ADDRESS ENDM ;Macro to jump to a Standard ROM routine ;Syntax: ; SJMP 5797h SJMP MACRO ADDRESS ;Optional for linkers ; EXTRN STDON PUSH H LXI H,ADDRESS XTHL JMP STDON ENDM ;Macro to return to a Standard ROM Routine ;Syntax: ; SRET STDRET MACRO ;Optional for linking version ; EXTRN STDON JMP STDON ENDM