Skip to content

Commit

Permalink
revert some text
Browse files Browse the repository at this point in the history
  • Loading branch information
lfantoniosi committed Nov 5, 2023
1 parent 37747d1 commit 1a6d391
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions source/kernel/macros.inc
Expand Up @@ -8,40 +8,40 @@ TRUE equ NOT FALSE
;


const MACRO name,N
name equ (N)
const macro name,value
name equ (value)
public name
endm
;
;
;
warn MACRO text
warn macro text
if1
.printx % text
endif
endm
;
;
;
error MACRO text
error macro text
if1
.error text
endif
endm
;
;
;
pr_dec MACRO msg1,N,msg2
warn <msg1 N msg2>
pr_dec macro msg1,value,msg2
warn <msg1 value msg2>
endm
;
;
pr_hex MACRO msg1,N,msg2
warn <msg1 N!h msg2>
pr_hex macro msg1,value,msg2
warn <msg1 value!h msg2>
endm
;
;
code MACRO instr,arg
code macro instr,arg

_code_ defl 0

Expand Down Expand Up @@ -160,15 +160,15 @@ endm
OFFSET equ 4100h
PHASED defl FALSE
;
rammod MACRO
rammod macro
PHASED defl TRUE
.phase $-OFFSET
endm
;
;
start:
;
finish MACRO name
finish macro name
if PHASED
.dephase
endif
Expand All @@ -179,10 +179,10 @@ finish MACRO name
;
;

;--- The "proc" MACRO is used to define a label that is invoked
;--- The "proc" macro is used to define a label that is invoked
; at RAM in page 0 (when PHASED) or at ROM bank 4 (when not PHASED).

proc MACRO name ;;Macro for declaring a public
proc macro name ;;Macro for declaring a public
if PHASED
name&: ;; label to be called.
.dephase
Expand All @@ -196,7 +196,7 @@ name&: ;;For local call
;
;
;
pcall MACRO cc,name ;;Macro for calling an external
pcall macro cc,name ;;Macro for calling an external
;; routine.
ifb <name>
call ?&cc&##-OFFSET ;;Unconditional CALL.
Expand All @@ -209,15 +209,15 @@ pcall MACRO cc,name ;;Macro for calling an external
;

; STROUT implementation with the ESC-Y bug corrected.
; It is declared as as MACRO because it is defined
; It is declared as as macro because it is defined
; twince in the kernel (bdos.mac, char.mac)
; and once more in MSXDOS2.SYS.
;
; OUTDIR is the routine used to print a character.
; RETDIR is the routine jumped to at end. If 0, ret is generated instead.
; LOADCE: if specified, E and C registers are loaded prior to calling CONOUT.

do_strout MACRO OUTDIR,RETDIR,LOADCE
do_strout macro OUTDIR,RETDIR,LOADCE
local stro_init
local STROU2
local ST10
Expand Down Expand Up @@ -269,7 +269,7 @@ ST10: PUSH DE
endm


djpnz MACRO address
djpnz macro address
dec b
jp nz,address
endm
Expand All @@ -280,7 +280,6 @@ djpnz MACRO address
;

IFNDEF DISABLE_UNDOCUMENTED_OPCODES
;;;;;;;;;;;;;;;;;;;;;;;;;;;

LD_IXL_N MACRO N
ld ixl,N
Expand Down Expand Up @@ -341,8 +340,6 @@ DEC_IYL MACRO

ELSE

;;;;;;;;;;;;;;;;;;;;;;;;;;;;

LD_IXH_N MACRO N
ex (sp),ix
ex (sp),hl
Expand Down

0 comments on commit 1a6d391

Please sign in to comment.