📄 cdplayer.asm
字号:
title CD Player
comment '===========================================================|'
comment '* CD Player v1.0 *'
comment '* Copyright (c) 2000 Ewayne L. Wagner, All Rights Reserved.*'
comment '* Unless you can improve on the program and send me *'
comment '* the changes. yooper@kalamazoo.net *'
comment '===========================================================|'
.586
.model flat, stdcall
option casemap: none
include \MASM32V1\include\windows.inc
include \MASM32V1\include\user32.inc
include \MASM32V1\include\kernel32.inc
include \MASM32V1\include\gdi32.inc
include \MASM32V1\include\winmm.inc
include \MASM32V1\include\comctl32.inc
include \MASM32V1\include\advapi32.inc
include \MASM32V1\include\DSPMACRO.asm
includelib \MASM32V1\LIB\USER32.LIB
includelib \MASM32V1\LIB\KERNEL32.LIB
includelib \MASM32V1\LIB\GDI32.LIB
includelib \MASM32V1\LIB\winmm.lib
includelib \MASM32V1\LIB\comctl32.lib
includelib \MASM32V1\LIB\advapi32.lib
MOVmd MACRO Var1, Var2
push Var2
pop Var1
ENDM
.data
BitMap db 'PlayCD.bmp',0
ClassName db 'CD Player',0
ButtClass db 'BUTTON',0
ToolTipClass db 'Tooltips_class32',0
;FontNameA db 'Arial Narrow',0
FontNameA db 'MS Sans Serif',0
DriveLetter db 'C:\',0
szSubKey db 'System\CurrentControlSet\control\MediaResources\mci\cdaudio',0
szKey db 'Default Drive',0
szSubKeyCD db 'Software\EW Software\CD Player\',0
szREGSZ db 'REG_SZ',0
szTrk db 'Trk '
szIndex db 2 dup(?),0
szCDName db 'CD Name',0
szUntitled db 'Untitled ',0
szPlayList db 'z Play List',0
szHelp db 'CDPlay.hlp',0
dlgname db 'PlayList',0
szSpace db ' ',0
szAbout db ' CD Player v1.0 Written in Assembler.'
db 0Dh,0Ah
db 0Dh,0Ah
db 'CD Player
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -