EASy68K
http://www.easy68k.com/EASy68Kforum/

Urgent- Need Help!!!
http://www.easy68k.com/EASy68Kforum/viewtopic.php?f=6&t=904
Page 1 of 1

Author:  zymeth67 [ Tue Sep 28, 2010 2:05 am ]
Post subject:  Urgent- Need Help!!!

Hello i have question to ask......it very urgent and need help fast...
i was assign to make a simple microwave programming in 68k language...
because i'm new in this 68k language i not able to do this assignment...
the operation of this microwave are:

1.Timer start in the same time the motor will run.
2.After the timer end the motor will stop,then the buzzer and lamp will turn ON.
3.i need a 68k language plzz help ME !!!!! :cry: :cry: :cry: :cry:

the coding to on the Output.....
plzz help me combine the code plzzzz plzzzz plzzzz
the only coding i know is this to make the motor run clockwise or anticlockwise....

MOVE.B #$00,PGCR
MOVE.B #$80,PACR
MOVE.B #$FF,PADDR
MOVE.B #%00000011,PADR


IS5 MOVE.B #5,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1
IS8 MOVE.B #8,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

IS0 MOVE.B #0,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

COL3 BCLR.B #0,PBDR
BCLR.B #1,PBDR
BSET.B #2,PBDR
MOVE.B PBDR,D1
AND.B #$F0,D1
CMP.B #$10,D1
BEQ IS3
CMP.B #$20,D1
BEQ IS6
CMP.B #$40,D1
BEQ IS9
CMP.B #$80,D1
BEQ ISHASH
BNE COL1


IS3 MOVE.B #3,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

IS6 MOVE.B #6,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

IS9 MOVE.B #9,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

ISHASH MOVE.B #0,D0
BSR WAIT
MOVE.B #9,D3
TRAP #0
BRA COL1

the thing is dont know how to combine the program between motor run+timer+lamp and buzzer turn on..

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/