Re: A83: Direct Input


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

Re: A83: Direct Input




> i got a question about that also, how do you use the groups? In James'
> tutorial it said to use ".equ Group1 0dfh" at the begging of the prgm to
use
> group 1, but it doesnt work, so how do you enable the different groups.

No,nononononon :)...I said that was an idea, I never actually tested
it...but it should work, it should look something like this:

.equ keypad 0ffh
.equ Group1 0dfh

.org 9237h
  ld a,keypad 			;resets the keypad.
  out (1),a			;'Required syntax' :)
  ld a,group1 			;Enable group 1.
  out (1),a 			
  in a,(1) 			;'Required Syntax'
  cp whatever...

That's what you're doing yeah?...that should work.  If not...looks like I'm
wrong then :)

If you still have troubles, ask me...

Later,

James.