6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 3:43 pm

All times are UTC




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Mon May 25, 2015 1:35 pm 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
Hello! I'm just in the process of building my very first home brew 6502 computer as a weekend project. I've joined this forum as I'm sure I'm gonna need your help.

One thing I want to do is access a bank of memory alternately between the CPU and a video subsystem so my first question to all those smart people out there is can I just use the low side of PHI2 (I'm using the WDC65C02 by the way).


My project's not very far along at the moment but I have it running some code. :D


Top
 Profile  
Reply with quote  
PostPosted: Mon May 25, 2015 3:52 pm 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1949
Location: Sacramento, CA, USA
Hi DigitalDunc,

My hardware chops aren't in the same league as many of the other members, but I can tell you that I believe that a certain Mr. Wozniak was doing something quite similar to what you describe in his Apple 2 design, with simple TTL. I'm a bit link-challenged at the moment, but I'm sure there are hundreds of detailed descriptions available on-line, and only a quick search string away! Wozniak's design is at least 38 years old, but offers a surprising amount of functionality, and could be used as a starting point for your own design.

Best of luck,

Mike B.


Top
 Profile  
Reply with quote  
PostPosted: Mon May 25, 2015 3:59 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
DigitalDunc wrote:
can I just use the low side of PHI2
Welcome, DigitalDunc. :) I suspect you already know the answer to the question is yes. [Also, Mike just let the cat out of the bag with his post!] However, the hardware skills to implement such a video system are non-trivial. Would you describe yourself as knowledgeable in regard to circuit design & debug? If not, it might be best to shelve the video idea until you've acquired more experience -- learn to walk before you run, and all that. But it's a terrific goal to keep in mind for later.

Can you tell us more about your present experience level, and about your home brew 6502 computer? We'd love to hear more.

cheers,
Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Mon May 25, 2015 4:14 pm 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
I've never actually built a full video generator before though I did write some Verilog to generate synch pulses and pixel clock a few years ago. There's a start. I've been building electronic doodads and thingummyjigs since I was small ( about 7 ). However I've no formal training. I intend to post pictures when I figure out how to post them in this forum.


Top
 Profile  
Reply with quote  
PostPosted: Mon May 25, 2015 4:30 pm 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
Hmmm (scratches head), let me see if this works....[img]20150525_143058.jpg[/img]

Ok if this worked then my first ever attempt at a computer (part built) should show up, if not then cue face palm.


Attachments:
20150525_143058.jpg
20150525_143058.jpg [ 3.75 MiB | Viewed 1681 times ]
Top
 Profile  
Reply with quote  
PostPosted: Mon May 25, 2015 4:32 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
OK, great! -- in fact, people that "just grew up building stuff" are often highly talented, IMO.

If you've tangled with Sync pulses then you have some idea how fussy the timing requirements for video are. The other big challenge is generating the sequential addresses, and arranging that they (as well as CPU addresses) can drive the address inputs of the RAM.

When you post your images, be aware you can attach them to your post. IOW, it's unnecessary (actually undesirable) to host them on a third-party server. [Edit: ok, you're one step ahead of me! :) ]

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Mon May 25, 2015 5:29 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Nice looking computer Digitaldunc! Welcome.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 27, 2015 7:03 pm 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
One thing I should have done is give my little tower of eightness a name.

Oh and I've been drawing inspiration from the Acorn Electron, Oric 1 and now very recently the Apple II.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 27, 2015 9:18 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
DigitalDunc wrote:
Hello! I'm just in the process of building my very first home brew 6502 computer as a weekend project. I've joined this forum as I'm sure I'm gonna need your help.

One thing I want to do is access a bank of memory alternately between the CPU and a video subsystem so my first question to all those smart people out there is can I just use the low side of PHI2 (I'm using the WDC65C02 by the way).

My project's not very far along at the moment but I have it running some code. :D


Take a look at my SBC-3. I used the PHI2 low side to read the RAM for the video. I used a CPLD to generate the bus timing and video signals.
http://sbc.rictor.org/info3.html

The video was inspired by this design: http://elm-chan.org/works/crtc/report.html

I used the 65816 to allow for more memory access, but you could do this with a 65C02 and some bank switching hardware.

Daryl

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


Top
 Profile  
Reply with quote  
PostPosted: Wed May 27, 2015 9:23 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
DigitalDunc wrote:
One thing I should have done is give my little tower of eightness a name.
Heck, "Tower of Eightness" isn't bad. :) And, as an acronym, that becomes TOE -- which is entirely fitting, since your project is digital, and toes are digits!

J. :D

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Wed May 27, 2015 9:34 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
Dr Jefyll wrote:
DigitalDunc wrote:
One thing I should have done is give my little tower of eightness a name.
Heck, "Tower of Eightness" isn't bad. :) And, as an acronym, that becomes TOE -- which is entirely fitting, since your project is digital, and toes are digits!

J. :D


Nice logic Jeff! :D

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


Top
 Profile  
Reply with quote  
PostPosted: Thu May 28, 2015 6:12 pm 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
I'd just like to say, you guys are inspiring! I did take a look at the SBC-3 and related links and that gave me a further idea. Because I have some dead time in the Borders there's no reason why the memory bandwidth there couldn't be used... But for what. Ahem, I may be getting a little carried away right now. Just getting a picture should be my priority goal and a serial port will be a quick weekend project.

I've got some catching up to make my homebrew PCB's as pretty as the SBC-3.


Top
 Profile  
Reply with quote  
PostPosted: Fri May 29, 2015 12:23 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
DigitalDunc wrote:
I'd just like to say, you guys are inspiring! I did take a look at the SBC-3 and related links and that gave me a further idea. Because I have some dead time in the Borders there's no reason why the memory bandwidth there couldn't be used... But for what. Ahem, I may be getting a little carried away right now. Just getting a picture should be my priority goal and a serial port will be a quick weekend project.

I've got some catching up to make my homebrew PCB's as pretty as the SBC-3.


There are certainly possibilities, but I have to agree with Jeff's first comment. Start small and built it up a piece at a time. You'll have better chances for success that way.

Good luck!

Daryl

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


Top
 Profile  
Reply with quote  
PostPosted: Fri May 29, 2015 1:34 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8509
Location: Midwestern USA
8BIT wrote:
DigitalDunc wrote:
I'd just like to say, you guys are inspiring! I did take a look at the SBC-3 and related links and that gave me a further idea. Because I have some dead time in the Borders there's no reason why the memory bandwidth there couldn't be used... But for what. Ahem, I may be getting a little carried away right now. Just getting a picture should be my priority goal and a serial port will be a quick weekend project.

I've got some catching up to make my homebrew PCB's as pretty as the SBC-3.

There are certainly possibilities, but I have to agree with Jeff's first comment. Start small and built it up a piece at a time. You'll have better chances for success that way.

My recommendation as well. It'll be easier to debug the hardware and the initial firmware needed to make it run won't have to be as elaborate.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sat May 30, 2015 6:19 am 
Offline

Joined: Mon May 25, 2015 1:12 pm
Posts: 92
Well, last night I spent a little time making a serial port card for my machine and today I'll try to get hello world out of it. Fingers crossed. I did go the easy route and used a W65C51N so it wouldn't make my life hard.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: DRG and 20 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: