DemoN/CMDLINE.ASM
2020-12-26 23:59:23 +03:00

23 lines
985 B
NASM
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.

;[]=========================================================================[]
;[] Ž¡à ¡®âª  ª®¬ ­¤­®© áâப¨ ¬®­¨â®à -®â« ¤ç¨ª  DemoN []
;[] v0.10 - ¯®á«¥¤­¨¥ ¨§¬¥­¥­¨ï 08.06.2006 []
;[] ‚室: ­  á⥪¥  ¤à¥á ­ ç «  ª®¬ ­¤­®© áâப¨ ¢ ¯ ¬ï⨠[]
;[] ‚ë室: CF=1 - ­¥â ¯ à ¬¥â஢, CF=0 - ¥áâì ¯ à ¬¥âàë []
;[]=========================================================================[]
CmdLine:
pop hl ;­ ç «®
ld a,(hl) ;¤«¨­  ª®¬ ­¤­®© áâப¨
or a
scf
jr z,.L1 ;­¥â ¯ à ¬¥â஢
ld de,FDebug ;¡ãä¥à
inc hl
ld c,Dss.GSwitch ;¢ë¤¥«¥­¨¥ ¯ à ¬¥âà 
rst DssRst
or a ;CF=0
.L1
;ret