6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Nov 21, 2024 10:52 pm

All times are UTC




Post new topic Reply to topic  [ 76 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: THANK YOU..
PostPosted: Thu Dec 23, 2004 3:01 pm 
Offline

Joined: Fri Dec 10, 2004 8:55 am
Posts: 7
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 23, 2004 3:33 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Thu Mar 20, 2014 5:12 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
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:
Attachment:
File comment: Schematic
Vid2c.jpg
Vid2c.jpg [ 86.15 KiB | Viewed 7330 times ]


The 6502 display driver looks like this:

Code:
;
; 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

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Thu Mar 20, 2014 6:28 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8543
Location: Southern California
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).

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Thu Mar 20, 2014 12:14 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
Thanks Garth! No, not yet. I will add it there soon.

Daryl

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Sun Apr 06, 2014 10:13 pm 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
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...


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Thu Dec 11, 2014 2:18 pm 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Thu Dec 11, 2014 3:11 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
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

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Fri Dec 12, 2014 2:54 am 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 578
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Sat Dec 13, 2014 1:23 am 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Sat Dec 13, 2014 1:25 am 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Sat Dec 13, 2014 2:33 am 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 578
Michael, here's a YouTube video of my board:

http://youtu.be/Hh49YasiYv8


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Sat Dec 13, 2014 7:52 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
Nice video Martin, thanks for that!


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Sat Dec 13, 2014 7:05 pm 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
Martin_H wrote:
Michael, here's a YouTube video of my board:

http://youtu.be/Hh49YasiYv8


Very nice! Thank you, Martin...


Top
 Profile  
Reply with quote  
 Post subject: Re: Text Video Display
PostPosted: Sat Dec 13, 2014 8:47 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 578
Thanks guys, I'm glad you liked the video.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 76 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: