• 大小: 589KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-13
  • 语言: 其他
  • 标签: Virtual51  

资源简介

Virtual51是一个动态可视化的MCS-51全功能模拟程序,可以让你在Virtual51上运行MCS-51程序就如同在硬体上一 样。提供8KB的程序空间,256字节的RAM,16KB的XRAM,2个16位的定时/计数器(T0 和 T1),一个实时时钟,一个 5X6的小键盘,一个128X64点阵的LCD,一个音频发生器,一个串口(未连接至电脑串口),一个打印口(连接至电脑 打印口),和5个有两个优先级的中断源。 Virtual51不可以载入大于8KB的51程序和大于16KB的XRAM数据文件,并且程序以固定的12Mhz时钟运行,编写程序时留意。 XRAM载入数据文件的实际大小,可从XRAMSH 和 XRAMSL 寄存器中读取。 例子说明: KeyPad---------简单演示KeyPad的使用; Music----------Virtual51演奏音乐; Picture--------LCD图形演示; Proc24c02------使用Virtual51从电脑打印口读写24C02A 运行环境: WINDOWS ME/2000/XP 特别声明: 此程序的提供仅方便于学习,请不要用于其他用途,由此而带来的损失,概不负责。 您可以复制,散发此程序,但不得修改此程序,亦不可将此程序用于商业用途。本人保留一切权利!

资源截图

代码片段和文件信息

/*-----------------------------------------------
  Virtual51 Music Demo 
  Oscilator:12Mhz
------------------------------------------------*/

#include 
#define uint  unsigned int
#define uchar unsigned char

#define  MHD    0x55AA
#define  MREP   0xAA00
#define  MEND   0x0000

uchar code pic[]=
   {
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x080x780x880x000x880x780x08
0x000x000x400x400xC80x000x000x000x000x400x400xC00x800x400x400x80
0x000x000x400xF00x400x400x000x000x000x400xC00x000x000x400xC00x00
0x000x000x400x400x400x400x800x000x000x000x000x080xF80x000x000x00
0x000x000xF80x880x880x880x080x000x000x000x100x100xF80x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x030x0C0x030x000x00
0x000x000x080x080x0F0x080x080x000x000x080x080x0F0x080x080x000x00
0x000x000x000x070x080x080x040x000x000x000x070x080x080x040x0F0x08
0x000x060x090x090x090x090x070x080x000x000x080x080x0F0x080x080x00
0x000x000x040x080x080x080x070x000x000x000x080x080x0F0x080x080x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x010xFF0x0C0x300x0C0xFF0x01
0x000x080xF80x000x000x880xF80x000x000x900x280x280x280x480x480x90
0x000x000x080x080xF90x000x000x000x000xF00x080x080x080x080x080x90
0x000x000x000x000x000x000x000x000x000x010xFF0x010x010x010x820x7C
0x000xF00x280x280x280x280x280xB00x000x080xF80x080xF00x080xF00x00
0x000xF00x080x080x080x080x080xF00x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x000x000x000x000x800x000x000x00
0x000x000x000x000x000x000x000x000x000x810x810x810x800x810x810x81
0x000x000x000x010x010x000x010x010x000x000x010x010x010x010x010x00
0x000x000x010x010x010x010x010x000x000x000x010x010x010x010x010x00
0x000x000x000x800x800x800x000x000x000x010x010x010x010x010x000x00
0x000x000x010x010x010xE10x010x000x000x010x810x000x010x000x210x41
0x000x000xE10x010x010xC10x410xC00x000x000x000xC00x400x600xC00x00
0xC00x400x400xC00x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x000x00

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2006-03-14 15:38  Virtual51\
     文件      168448  2006-02-25 15:23  Virtual51\BmpCapture.exe
     目录           0  2006-03-14 15:37  Virtual51\KeyPad\
     文件        5986  2006-02-26 14:22  Virtual51\KeyPad\KeyPad
     文件        6776  2006-02-26 14:22  Virtual51\KeyPad\KeyPad.C
     文件        3592  2006-02-26 14:22  Virtual51\KeyPad\KeyPad.hex
     文件          91  2006-02-26 14:22  Virtual51\KeyPad\KeyPad.lnp
     文件       10132  2006-02-26 14:22  Virtual51\KeyPad\KeyPad.LST
     文件        5061  2006-02-26 14:22  Virtual51\KeyPad\KeyPad.M51
     文件        6247  2006-02-26 14:22  Virtual51\KeyPad\KeyPad.OBJ
     文件        1188  2006-02-26 14:24  Virtual51\KeyPad\KeyPad.Opt
     文件         223  2006-02-26 14:24  Virtual51\KeyPad\KeyPad.plg
     文件        2014  2006-02-24 20:19  Virtual51\KeyPad\KeyPad.Uv2
     文件        6899  2006-02-26 14:21  Virtual51\KeyPad\Virtual51.h
     目录           0  2006-03-14 15:37  Virtual51\Music\
     文件        8728  2006-02-26 14:24  Virtual51\Music\Music
     文件        8612  2006-02-26 14:24  Virtual51\Music\Music.c
     文件        5458  2006-02-26 14:24  Virtual51\Music\Music.hex
     文件          65  2006-02-26 14:24  Virtual51\Music\Music.lnp
     文件       12437  2006-02-26 14:24  Virtual51\Music\Music.LST
     文件        6822  2006-02-26 14:24  Virtual51\Music\Music.M51
     文件        9493  2006-02-26 14:24  Virtual51\Music\Music.OBJ
     文件        1350  2006-02-26 14:25  Virtual51\Music\Music.Opt
     文件         332  2006-02-26 14:25  Virtual51\Music\Music.plg
     文件        1992  2006-02-24 18:24  Virtual51\Music\Music.Uv2
     文件        6900  2006-02-26 14:24  Virtual51\Music\Virtual51.h
     目录           0  2006-03-14 15:37  Virtual51\Picture\
     文件        9424  2006-02-26 14:25  Virtual51\Picture\Picture
     文件       22551  2006-02-26 14:25  Virtual51\Picture\Picture.c
     文件       12038  2006-02-26 14:25  Virtual51\Picture\Picture.hex
     文件          69  2006-02-26 14:25  Virtual51\Picture\Picture.lnp
............此处省略26个文件信息

评论

共有 条评论

相关资源