[Techtoolslist] Wierd behavior with simple Fluke script

Adam Courchesne ajcrm125 at gmail.com
Tue Jun 2 15:28:50 EDT 2009


I made a simple block write script so I can write blocks of data to video
memory to make it easier for me to find shorted/floating bit lines etc.
The weird thing is, as soon as execute it and it finishes I can no longer
write to video memory. For example, if reset a given PCB,
see garbage on the screen and execute my scrip, writing all 0's to video
memory, the screen is wiped clean. (As expected) Then if I try to write
values to video mem to place a sprite at a given location ... no luck.
Leave the game on.. reset the fluke... and try the same write again, and it
works. So something in the script is putting the Fluke into a weird state.
Any idea what could be causing this?
Here's the script:

SETUP

TRAP ACTIVE FORCE LINE NO
TRAP ACTIVE INTERRUPT NO

PROGRAM MAIN
DPY-#
DPY-BLOCK WRITE PROGRAM
EX DELAY

! Get start and end addresses
DPY-START ADDRESS = /1
DPY-END ADDRESS = /2
DPY-DATA = /3
DPY-WRITING DATA#

WRITE @ REG1 = REG3

WLOOP:
WRITE @ REGF INC = REG3
! DPY-WRITING $3 AT $F
! EX DELAY
IF REG2 > REGF GOTO WLOOP

DPY-END OF PROGRAM#

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! DELAY ROUTINE

PROGRAM DELAY
REG1=40
0:
DEC REG1
IF REG1 >0 GOTO 0


Thanks for any insight,
--
-Adam
"Please don't judge my God by my inability to follow him" - Chris Mollins
===============
www.onecircuit.com
www.youtube.com/user/ajcrm125
===============



More information about the Techtoolslist mailing list