Writing characters to &FCD0 they will appear on the Pi's screen. Infact you can even send vdu command to draw lines on the screen.
You can even go as far as intercepting the vdu vector and sending it to the Pi to have a duplicate screen.
Code: Select all
10 FOR I%=0 TO 2 STEP 2
20 P%=&900
30[OPT I%
40 .revector
50 LDA &20E
60 STA old
70 LDA &20F
80 STA old+1
90 LDA #(oswrch MOD 256)
100 STA &20E
110 LDA #(oswrch DIV 256)
120 STA &20F
130 RTS
140 .old
150 NOP
160 NOP
170 .oswrch
180 STA &FCD0
190 JMP (old)
200]
210 NEXT
220 CALL revector
As I say this very much build on other work, so I 'd like to thank them for their efforts.