Sida 3 av 3

Postat: 11 februari 2008, 18:25:40
av Fredrick

Postat: 11 februari 2008, 18:33:06
av Andy
Pro 2.50

Postat: 11 februari 2008, 18:35:38
av Fredrick
Ok. jag har 2.50a

Har du inte laddat ner patchen?

Postat: 11 februari 2008, 18:36:44
av Andy
Nej, finns det floating point boosting i den då? :D

Postat: 11 februari 2008, 18:44:20
av Fredrick
Nej, men lite bugg fixar...
http://www.melabs.com/downloads/P250a.exe

Dock så har även 2.50a en bugg i OWOUT kommandot

inget som har med din fråga att göra men jag tänkte dela med mig av mina erfarenheter av PBP :)

Yep. There is a problem in the OWOUT library routine that causes a continuous loop if the
defined OSC > 8.

Open your pbppic14.lib. Scroll down to the OWOUT library routine.

Change this;
Code:

iorwf INDF, F ; Set to input then wait ~10us for recovery
decfsz R1 + 1, F ; Do next bit, if any
if (OSC > 8)
movlw 9 ; Delay 9us
call PAUSEUS
endif
goto owoutloop

To this;
Code:

iorwf INDF, F ; Set to input then wait ~10us for recovery
if (OSC > 8)
movlw 9 ; Delay 9us
call PAUSEUS
endif
decfsz R1 + 1, F ; Do next bit, if any
goto owoutloop

decfsz R1 + 1, F needs to be after if (OSC > 8) and just before goto owoutloop or you're stuck
in a nasty continuous loop whenver OSC > 8.
__________________
Regards,

-Bruce
tech@rentron.com
http://www.rentron.com

Postat: 11 februari 2008, 19:13:42
av Andy
Tack för det!

Det skadar ju aldrig att vara uppdaterad. :)