TI-H: I'm going to stop...


[Prev][Next][Index][Thread]

TI-H: I'm going to stop...




I'm going to stop posting...  :)  But look at what I found!  The first
equate file for my mpeg player!  Its been 4 months since I've looked at
this...  :)

;***************************************************************************
;* C O D E  S E G M E N T  F O R  T H E  A C P L A Y  M P E G  P L A Y E R
;*
;* Number               :AC001
;* File Name            :defXX.asm
;* Title                :Pin and Register equates
;* Date:		Version:
;* 04.20.98		.1
;* Support telephone    :1-907-345-1529
;* Target MCU           :AT90S8515
;*
;* DESCRIPTION
;* These are pin and register definitions/equates for the ACPlay device.
;*
;***************************************************************************

;***************************************************************************
;*
;* Register Definitions
;*
;* These defines another name for a register
;*
;* Number of words	:N/A
;* Number of cycles	:N/A
;* Low Registers used	:5
;* High Registers used	:1 (r31)
;* Pointers used	:Z
;*
;***************************************************************************

.def	cyll	=r30
.def	cylh	=r31
.def	sector	=r17
.def	head	=r16
.def	ADRa	=r18
.def	ADRb	=r19
.def	count	=r20
.def	lowb	=r28
.def	highb	=r29
.def	mpdat	=r21


;***************************************************************************
;*
;* Pin Definitons
;*
;* These define used pins and/or their name.
;*
;* Number of words	:N/A
;* Number of cycles	:N/A
;* Low Registers used	:N/A
;* High Registers used	:N/A
;* Pointers used	:N/A
;*
;***************************************************************************

.equ	Data00	=0	;PORTA
.equ	Data01	=1	;PORTA
.equ	Data02	=2	;PORTA
.equ	Data03	=3	;PORTA
.equ	Data04	=4	;PORTA
.equ	Data05	=5	;PORTA
.equ	Data06	=6	;PORTA
.equ	Data07	=7	;PORTA
.equ	Data08	=0	;PORTB
.equ	Data09	=1	;PORTB
.equ	Data10	=2	;PORTB
.equ	Data11	=3	;PORTB
.equ	Data12	=4	;PORTB
.equ	Data13	=5	;PORTB
.equ	Data14	=6	;PORTB
.equ	Data15	=7	;PORTB
.equ	SRc	=0	;PORTC
.equ	SRd	=1	;PORTC
.equ	SR1	=2	;PORTC	PORTSRA00	LCDRS	ADR00
;				PORTSRA01	LCDE	ADR01
;				PORTSRA02	DA0	ADR02
;				PORTSRA03	DA1	ADR03
;				PORTSRA04	DA2	ADR04
;				PORTSRA05	CS0	ADR05
;				PORTSRA06	CS1	ADR06
;				PORTSRA07	RESET	ADR07
.equ	SR2	=3	;PORTC	PORTSRB00	undef	ADR08
;				PORTSRB01	undef	ADR09
;				PORTSRB02	undef	ADR10
;				PORTSRB03	undef	ADR11
;				PORTSRB04	undef	ADR12
;				PORTSRB05	undef	ADR13
;				PORTSRB06	undef	ADR14
;				PORTSRB07	undef	ADR15
.equ	DIOW	=4	;PORTC
.equ	DIOR	=5	;PORTC
.equ	SIC	=6	;PORTC
.equ	SID	=7	;PORTC
.equ	DEM	=0	;PORTD
.equ	HDInt	=1	;PORTD
;.equ	undef	=2	;PORTD
;.equ	undef	=3	;PORTD
;.equ	ParInt	=4	;PORTD
.equ	DatStr	=5	;PORTD
.equ	Wait	=6	;PORTD
.equ	Strobe	=7	;PORTD



References: