6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 9:10 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sun Sep 15, 2019 8:48 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Nearby:

thedrip wrote:
Ben Eater's latest video is taking on a 6502 directly.

“Hello, world” from scratch on a 6502


From the support site:

Quote:
In this video series, I'll build a basic 6502 computer with an LCD display and a few buttons, explain how to program it in assembly, and write a game or two.

Videos
This series is in progress and more videos are on the way soon!



(I thought this merited a new thread)


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 15, 2019 3:12 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1007
Location: Canada
Watching "Hello World" right now.

_________________
Bill


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 16, 2019 1:43 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 578
Thanks for posting this. I watched it a few days ago and thought it was well done. I'm hoping he pairs it with worlds worst video card in the future.


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 16, 2019 6:12 pm 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
Interestingly, he says he's producing a kit so that you can follow along at home. Seems like it might be a pretty good starter pack.


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 16, 2019 6:24 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
Chromatix wrote:
Interestingly, he says he's producing a kit so that you can follow along at home. Seems like it might be a pretty good starter pack.


Produced a kit - and sold out virtually immediately...

He does kits for other stuff too.

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 16, 2019 7:55 pm 
Offline

Joined: Tue Oct 02, 2018 4:22 am
Posts: 48
If these videos turn out as well as the SAP-1 and video card, we will have a new "newbie" link to go with Garth's primer (which enabled my own sbc design/build)


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 16, 2019 7:57 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1250
Location: Soddy-Daisy, TN USA
Martin_H wrote:
I'm hoping he pairs it with worlds worst video card in the future.


Not sure why he called it the world's worst video card. It was actually pretty nice.

Years ago I created a PIC based B/W video "card" that literally had two pixels for the entire screen. One black and one gray. The entire NTSC screen was 2x1 pixels.

I'm pretty sure mine was worse. LOL

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 20, 2019 1:17 pm 
Offline

Joined: Sun Jul 21, 2019 9:34 am
Posts: 1
I'm puzzled by the memory map in his design.

He appears to be throwing away half of the 62256 32kB RAM to make space for the I/O, still leaving 32kB left over for ROM. :?

(strictly speaking, writes to the top half of the RAM chip's address space will still reach it, but you can't read them back because ~OE is tied to A14)


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 20, 2019 2:11 pm 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
It's a valid strategy if you want to simplify the address decoding as much as possible, want to use as much of the address space as possible, and if you also think code will be larger than data. If the reverse is true, you would want to put the I/O overlapping the ROM area instead.

For my 6502 Fake Finder, which has fairly low memory requirements, I'm using 8Kx8 RAM and ROM parts which are about as cheap as they come. The address/control logic is literally two chips - a 74HCT00 and a 74HCT138. This still leaves big 8KB gaps in the memory map where there simply aren't enough I/O devices to fill it, but who cares? For a more ambitious machine I would of course take more care.


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 20, 2019 5:36 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
Quote:
I'm puzzled by the memory map in his design.

He appears to be throwing away half of the 62256 32kB RAM to make space for the I/O, still leaving 32kB left over for ROM. :?

(strictly speaking, writes to the top half of the RAM chip's address space will still reach it, but you can't read them back because ~OE is tied to A14)

Ben pretty clearly got it from the address-decoding page of the 6502 primer and the top of the circuit potpourri page. I published it over seven years ago, and have been using the scheme for another 20 years prior to that, in my primary workbench computer. I'm glad it's getting used; but it would be nice if he would give credit.

Beginning computer builders tend to make the address-decoding logic very complex, forgetting that each level of discrete logic has substantial delay (and that something like the '138 has a lot more delay than a simple NAND gate), and greatly reducing the maximum operating speed of the computer. Speaking only of program space, 64K is an absolutely huge amount of memory for a single person to fill up in assembly language or any of a lot of other languages likely to be used with such a computer. OTOH, if you need a lot of data space, then yes, 64K can be very quick to fill up, if for example you're getting the data from an A/D converter and getting tens of thousands of points per second (which I've done). But if that's the case, the 65816 is a much better way to go, or store the samples in a many-megabyte SPI flash memory that's interfaced through the I/O.

_________________
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  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 54 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: