6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 7:05 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sat Apr 13, 2024 8:33 pm 
Offline
User avatar

Joined: Sun Dec 26, 2021 8:27 pm
Posts: 182
I've been wanting a 6502 assembly trainer for a while. It's a somewhat silly endeavour, but I'm going to make a RAM-only 6502 computer.

It's going to have the options of either single cycling every instruction from toggle switches or toggling in bytes to RAM.

Lot's of toggle switches, lots of LED's - especially since I both want to see what the 6502 is addressing and what the toggle switches are currently addressing.

This could be done simpler with a 65C02's BE pin but I'd like to use this to test 6507's and other 6502s too, so it has to be NMOS compatible - hence the 245's and the Woz-style single cycle circuit.

Lighting up 5mm LED's with a combination of either 4k7 ohms or 2x 4k7 ohms might be a bit dim, but it'll also give an indication of what is driving the LED and 9k4 should still barely light up a red LED.

Am I nuts? Did I mess up anything completely? Will it work?


Attachments:
File comment: Schematic
Toggle65.png
Toggle65.png [ 933.59 KiB | Viewed 1423 times ]

_________________
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1 :)
Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 14, 2024 2:22 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8543
Location: Southern California
One topic that comes to mind that I think will interest you is "Antares 6500 Concept," and another is "Happy New Year and happy hacking in 2016!"  Oh, and note that modern ultrabright LEDs don't need much current at all to be easily visible in normal room lighting.  I even used a red chip LED in a circuit at work as a voltage reference, running 100µA through it, and since it was not to be an indicator, it was ok to cover it with epoxy along with the rest of the postage-stamp-sized board for secrecy and to protect from moisture, and to my surprise, it shone through even the epoxy quite well!

_________________
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  
PostPosted: Sun Apr 14, 2024 3:03 am 
Offline
User avatar

Joined: Tue Feb 28, 2023 11:39 pm
Posts: 257
Location: Texas
I'd put a 245 on the data switches, knowing myself I'd probably forget to put one in a floating state when I go to run the thing.


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 14, 2024 5:53 am 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
Nice to see other 6507 projects...

Mine:

https://unicorn.drogon.net/IMG_20231220_193620_DRO.jpg

Have you seen the Cactus project? It was discussed here a few years back...

http://www.commodorez.com/cactus.html

-Gordon

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


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 14, 2024 7:41 am 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 983
Location: Potsdam, DE
An Altair 6502 does have a certain cachet to it :mrgreen:

Neil


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 14, 2024 8:45 am 
Offline
User avatar

Joined: Sun Dec 26, 2021 8:27 pm
Posts: 182
GARTHWILSON wrote:
One topic that comes to mind that I think will interest you is "Antares 6500 Concept," and another is "Happy New Year and happy hacking in 2016!"  Oh, and note that modern ultrabright LEDs don't need much current at all to be easily visible in normal room lighting.  I even used a red chip LED in a circuit at work as a voltage reference, running 100µA through it, and since it was not to be an indicator, it was ok to cover it with epoxy along with the rest of the postage-stamp-sized board for secrecy and to protect from moisture, and to my surprise, it shone through even the epoxy quite well!


These pages are a treasure trove - hard to come up with stuff that hasn’t been done :)
I think the 5mm ones generally take a bit more current - the smd’s I also run at 5V with a 15k resistor on my 65uino, but I guess I’ll have to test if I can get anything visible out of them at 9400 ohms.

Yuri wrote:
I'd put a 245 on the data switches, knowing myself I'd probably forget to put one in a floating state when I go to run the thing.

I expect the 4k7 resistors will make that less of a problem. Don’t think I can use that trick with the 6502 address bus.

drogon wrote:
Nice to see other 6507 projects...

Mine:

https://unicorn.drogon.net/IMG_20231220_193620_DRO.jpg

Have you seen the Cactus project? It was discussed here a few years back...

http://www.commodorez.com/cactus.html

-Gordon


So nice and compact! :D

Yes, the Cactus is nice, but it relies heavily on the ‘C02 features like BE and 0hz clock :)

This, oh so arbitrarily, has to be NMOS compatible

_________________
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1 :)


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 14, 2024 10:47 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
Great idea for a project!

Worth mentioning:
Mini version of the OSI-300 trainer
Links within, of course.


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 14, 2024 11:43 am 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1117
Location: Albuquerque NM USA
I had a front panel project for Z80 but found data entry via toggle switches rather tedious. I also didn't like the LED readouts, so I changed the data entry to PS2 keyboard and readout to 7-segment displays. This probably can be done with a microcontroller, but I opted for a CPLD approach. I think an universal front panel for retro processors are quite possible.
Bill


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 14, 2024 2:35 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1007
Location: Canada
Nice idea!

_________________
Bill


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 25, 2024 4:08 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 578
Neat. I will have to deep dive into the schematic to understand it better. The Cosmac Elf works because the 1802 has a built-in DMA controller, so the CPU loads the toggle switch values into RAM. Here it looks like you're driving both the address and data lines and disconnecting them from the bus as well.

A video on YouTube YouTube channel is hopefully in the works.


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: Google [Bot] and 23 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: