VZEditor/VZ-IBM/PALET.DEF
Yoshihiko Hyodo 6f06b9514a first commit
2024-11-18 22:21:26 +09:00

34 lines
621 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

======== palet.def (IBM PC) ========
* Macro
60 ^[F11] "Change Palette"
?.
i=0,
p=pu,
dx=p, ax=$1009, &i($10)
:A i&=15,
&m("Palette %2d-%-2d(%02xh) Esc:exit, Enter:set, Ins:insert",i,p.i,p.i)
:B &k (r)?? >B
(r==$4D00)?{ i++, >A }
(r==$4B00)?{ i--, >A }
(r==$4800)?{ a=p.i, a++, >C }
(r==$5000)?{ a=p.i, a--, >C }
(r==$5200)? >02
(r==$1B)?{ dx=up, &m("") >> }
(r==$0D)?{ dx=up, ax=$1009, &i($10) &m(""). }
:C p.i=a&63, &01 >A
1: ax=$1002, &i($10)
2:
?.
&m("")
&?("12 $"$$(")
i=0,
:A &?("%02x,",up.i) i++, (i<16)? >A
#h &?(")$"")
*
======== End of palet.def ========