Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/08/02 22:46
Read: times


 
#21572 - Using a Domino2
I have a quick question about the code I am using to write Charaters to a Vacuum Flourecsent Display

10 STRING 211,20
15 B = 0 : X = 0 : I = 0
20 $(0) = "Test for xxxx passed"
30 FOR I = 1 TO 20 STEP 1
40 X = ASC($(0),I)
50 NEXT
100 PUSH 02030H,0000H : CALL 0F128H : POP C
110 PUSH 02033H,00FEH : CALL 0F128H : POP C
120 PUSH 02032H,00FEH : CALL 0F128H : POP C
130 PUSH 02035H,00FEH : CALL 0F128H : POP C
140 PUSH 02049H,00FEH : CALL 0F128H : POP C
145 ' PUSH 02059H,0000H : CALL 0F128H : POP C
146 ' IF B = 1 THEN GOTO 145
150 PUSH 02032H,0015H : CALL 0F128H : POP C
160 GOSUB 1000
170 PUSH 02032H,X : CALL 0F128H : POP C
180 GOSUB 1000
200 END
1000 PUSH 02058H,0001H : CALL 0F128H : POP C
1010 PUSH 02058H,0000H : CALL 0F128H : POP C
1020 PUSH 02058H,0001H : CALL 0F128H : POP C : RETURN

What this is supposed to do is wrtie the String $(0)"Test for xxxx passed" and what I am getting on the display is the last lower case d, when I forgot the NEXT statement it would print the upper case T. How would I go about getting it to write the whole sentence? Would I use the Hex to advace the cursor location each time I wanted to print a Character? Or can I write a loop and if I do need to write a loop how would I go about it?

P.S. I am just a novice at BASIC screwing around with this Domino is pretty fun.

Thanks James Knight



List of 7 messages in thread
TopicAuthorDate
Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      

Back to Subject List