Page 3 of 6

THANK YOU..

Posted: Thu Dec 23, 2004 3:01 pm
by sunsea78
Dear....

Sorry for ditrubing you soo much. But in urgency, I am requesting a favor from you. As we dont know "asm" we can not correct the "hex". Could you correct and send it to us.

Or if this is not possible could you to gather the circuit and send it to us by DHL. I will be paying for the bill immediatly.

best regards,

Mehmet

Posted: Thu Dec 23, 2004 3:33 pm
by 8BIT
I'm sorry to see that you are having so much trouble. I have recompiled the code for you. It is now PAL only.

You can download it here:
http://users.softcom.net/darylr/download/vid-pal.zip

If this does not work, I can make arrangements to ship a completed board to you. Please contact me via email instead of using this forum.

My email address is:
65c02@softcom.net

Thanks!

Daryl

Re: Text Video Display

Posted: Thu Mar 20, 2014 5:12 am
by 8BIT
I have updated my Composite Text Video display to a newer AVR. The benefit is that it is fully functional using a single chip + oscillator.

It also uses an SPI input which can be driven directly from a 6522's Serial shift register (CB1 & CB2). A handshake line is connected to PB7. Maximum SCK speed is 4MHz. To support the 6522, I use SPI Mode 3 with MSB first.

NTSC and PAL are still supported as are several options for fonts - Old DOS, C-64, Pet, and Apple2 fonts are available.

Here's the schematic:
Schematic
Schematic
The 6502 display driver looks like this:

Code: Select all

;
; 6522 Definitions
;
Vportb    =  $0280		; VIA1 Port B
Vddrb     =  $0282		; VIA1 Port B DDR
Vsr       =  $028A		; VIA1 Shift Register
Vacr      =  $028B		; VIA1 ACR
Vifr      =  $028D		; Via1 IFR bit 1
Vier      =  $028E		; Via1 IER

;----------------------------------------------------------------------
; Output contents of A to the Video Display 
;  A is preserved, Flags are changed.
;----------------------------------------------------------------------
VOutput
                bit  vportb                   ;  read handshake byte (pb7)
                bmi  Voutput                  ;  if pb7=1, wait for AVR to be ready
                sta  vsr                      ; send to display via serial port
VOutput1
                bit  vportb                   ; read handshake byte
                bpl  Voutput1                 ; if pb7=0, wait for AVR to ack
                rts

;----------------------------------------------------------------------
; Call this once to initialize the interface
; it sets up Port B, pin 7 and CB1/CB2 for serial mode
; A is changed and Flags are changed.
;----------------------------------------------------------------------
VInitDisp                                              
                sei                           ; disable interrupts
                lda  Vddrb                    ; get ddr b
                and  #$7F                     ; force bit 7=0
                sta  vddrb                    ; set bit 7 to input
                lda  vacr                     ; get ACR contents
                and  #$E3                     ; mask bits 2,3,4
                ora  #$18                     ; set Shift out under control of PHI2 mode
                sta  vacr                     ; store to acr
                lda  #$04                     ; shift register flag in IER
                sta  vier                     ; disable shift register interrupts
                cli                           ; Enable Interrupts again
                rts                           ; done
I can provide pre-programmed AVR's to anyone interested in adding this to their projects.

Daryl

Re: Text Video Display

Posted: Thu Mar 20, 2014 6:28 am
by GARTHWILSON
That looks really good! I'm interested in getting it, although I am not ready for it yet at the moment. You haven't put the update (about using the VIA's SR) on your website yet, right? (unless I didn't look in the right place).

Re: Text Video Display

Posted: Thu Mar 20, 2014 12:14 pm
by 8BIT
Thanks Garth! No, not yet. I will add it there soon.

Daryl

Re: Text Video Display

Posted: Sun Apr 06, 2014 10:13 pm
by Michael
8BIT wrote:
I have updated my Composite Text Video display to a newer AVR. The benefit is that it is fully functional using a single chip + oscillator.
Bravo, Daryl. Beautiful solution...

Re: Text Video Display

Posted: Thu Dec 11, 2014 2:18 pm
by Michael
Hi Daryl (and gang),

Just wondering if you've updated your Composite Text Video Display page with info' for the new single chip solution? I'd love to see a picture of the new video board, too.

Take care. Happy Holidays.

Mike

Re: Text Video Display

Posted: Thu Dec 11, 2014 3:11 pm
by 8BIT
Michael wrote:
Hi Daryl (and gang),

Just wondering if you've updated your Composite Text Video Display page with info' for the new single chip solution? I'd love to see a picture of the new video board, too.

Take care. Happy Holidays.

Mike
Sorry, I did not create a new board for the 1 chip version. Also, there may be some desire to keep the external flip flop in the circuit to ensure the handshaking is stable. I can provide a schematic and the source code if you like. I'll try to get that updte on my website too. Thanks for the reminder!

Daryl

Re: Text Video Display

Posted: Fri Dec 12, 2014 2:54 am
by Martin_H
Michael, you might want you take a look at Rich Cini's version of Daryl's board:

http://www.classiccmp.org/cini/6502proj.htm

He includes a one chip video output based upon Daryl's design. I built one of my own and his parts list and documentation was helpful. Between Daryl and Rich the design is well documented and thought out.

Re: Text Video Display

Posted: Sat Dec 13, 2014 1:23 am
by Michael
Martin_H wrote:
Michael, you might want you take a look at Rich Cini's version of Daryl's board:

http://www.classiccmp.org/cini/6502proj.htm

He includes a one chip video output based upon Daryl's design. I built one of my own and his parts list and documentation was helpful. Between Daryl and Rich the design is well documented and thought out.
Hi Martin,

I've seen that page before. I'm not familiar with the Commodore IEC interface and I couldn't find any pictures of the finished board...

Regards, Mike

Re: Text Video Display

Posted: Sat Dec 13, 2014 1:25 am
by Michael
8BIT wrote:
Michael wrote:
Hi Daryl (and gang),

Just wondering if you've updated your Composite Text Video Display page with info' for the new single chip solution? I'd love to see a picture of the new video board, too.

Take care. Happy Holidays.

Mike
Sorry, I did not create a new board for the 1 chip version. Also, there may be some desire to keep the external flip flop in the circuit to ensure the handshaking is stable. I can provide a schematic and the source code if you like. I'll try to get that updte on my website too. Thanks for the reminder!

Daryl
Yes, I would enjoy studying the source. Thank you for the offer.

Happy Holidays... Mike

Re: Text Video Display

Posted: Sat Dec 13, 2014 2:33 am
by Martin_H
Michael, here's a YouTube video of my board:

http://youtu.be/Hh49YasiYv8

Re: Text Video Display

Posted: Sat Dec 13, 2014 7:52 am
by BigEd
Nice video Martin, thanks for that!

Re: Text Video Display

Posted: Sat Dec 13, 2014 7:05 pm
by Michael
Martin_H wrote:
Michael, here's a YouTube video of my board:

http://youtu.be/Hh49YasiYv8
Very nice! Thank you, Martin...

Re: Text Video Display

Posted: Sat Dec 13, 2014 8:47 pm
by Martin_H
Thanks guys, I'm glad you liked the video.