PDA

View Full Version : NMI Buffalo modifications


Tom Schmitt
03-23-00, 01:14 PM
<br>I would like to modify the timer overflow interval on my Buffalo board (a NMIX/T 0022). This requires modifing PR1 and PR0 in TMSK2. This can only be done during the first 64 ? cycles after reset.<p>Thus I have to burn a new Buffalo chip.<p>NMI Buffallo is modified from MOT Buffalo but no source was included with the board. Will NMI make the asm of their Buffalo available? <p>If not I think I found the section of code to modify in the s19 file. I can do that by hand. <p>Does anyone have any suggestions. <p>Tom Schmitt<p>tschmitt@mindspring.com<p><p>----------<br>Tom Schmitt<br>tschmitt@mindspring.com

nmitech
03-23-00, 02:18 PM
Upload the buf34.s19 change the data byte at address $E00F to your desired value for the TMSK2 register and burn your new buffalo eprom. <br>Attached the buffalo listing code segment below.<p>========== <br> E00A 8693 BUFISIT LDAA #$93 <br> E00C B71039 STAA OPTION adpu, dly, irqe, cop <br> E00F 8600 LDAA #$00 <br> E011 B71024 STAA TMSK2 timer pre = %1 for trace <br> E014 8600 LDAA #$00 <br> E016 B71035 STAA BPROT clear 'E9 eeprom block protect <br> E019 CEB600 LDX #DSTREE set up default eeprom address range <br> E01C DF98 STX STREE <br> E01E CEB7FF LDX #DENDEE <br> E021 DF9A STX ENDEE <br> E023 CE0000 LDX #$0000 set up default download offset <br> E026 DFAC STX LDOFFST <br> E028 8E005F LDS #STACK monitor stack pointer <br> E02B BDE357 JSR VECINIT <br> E02E CE0041 LDX #USTACK <br> E031 DF69 STX SP default user stack <br> E033 B61020 LDAA TCTL1 <br> E036 8A03 ORAA #$03 <br> E038 B71020 STAA TCTL1 force oc5 pin high for trace <br> E03B 86D0 LDAA #$D0 <br> E03D 9768 STAA REGS+8 default user ccr <br> E03F CC3F0D LDD #$3F0D initial command is ? <br> E042 DD6B STD INBUFF <br> E044 BDE1B8 JSR BPCLR clear breakpoints <br> E047 7F00A4 CLR AUTOLF <br> E04A 7C00A4 INC AUTOLF auto cr/lf = on <br>