|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
|
|
Listing 3ıItıs all there if you look for it. Here are the little assembler routines to kill time in the RTL8019AS init procedures. #asm tickwait:: ; Delay loops necessary for reset/etc. ld b,h ld c,l ld de,(TICK_TIMER) tickwloop: or a ld hl,(TICK_TIMER) sbc hl,de or a sbc hl,bc jr c,tickwloop ret mswait:: ld b,h ld c,l ld de,(MS_TIMER) mswloop: or a ld hl,(MS_TIMER) sbc hl,de or a sbc hl,bc jr c,mswloop ret #endasm
|
|||||||||||||||||||||||||||||||||
|
Copyright © 2003 ChipCenter-QuestLink About ChipCenter-Questlink |
||||||||||||||||||||||||||||||||||