代码搜索结果
找到约 10,000 项符合
Clock 的代码
clock.asm
code segment
org 100h
assume cs:code,ds:code
Start:
mov ax,0a000h
mov es,ax
mov ax,0013h
int 10h
l1:
call
clock.c
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
clock.c
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
clock.c
#include "systypes.h"
#include "44b0.h"
#include "clock.h"
static UINT32 sysclocks;
#define OS_TICKS_PER_SEC 200
#define LEDBLINK
#ifdef LEDBLINK
#define LED(pattern) (rPDATE=(rPDATE & 0
clock.h
#ifndef _CLOCK_H
#define _CLOCK_H
#include "option.h"
/* MCLK=50000000: 1000000Hz */
#define CLOCKS_PER_SEC (MCLK/25/2)
typedef unsigned int clock_t;
void StartSysClock (void);
clock_t
clock.c
#include
#define uchar unsigned char
#define RS RA0
#define RW RA1
#define E RA2
uchar buffer;
uchar i;
const uchar table[12]={0x30,0x31,0x32,0x33,0x34,
0x35,0x36,0x37,0x38,0x39,0
clock.asm
led1 equ 21h
led2 equ 22h
led3 equ 23h
led4 equ 24h
led5 equ 25h
led6 equ 26h
xscx equ 27h
hor equ 30h
min equ 31h
sec equ 32h
sw1 bit p2.7
sw2 bit p2.6
sw3 bit p2
clock.java
package pag;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Clock extends JFrame{
private JFrame jf;
private JPanel jp;
private JLabel jbl;
pub